Apply JSHint and JSCS with jQuery configs
Closes gh-535. Closes gh-529.
This commit is contained in:
committed by
Fagner Brack
parent
8e48883853
commit
3f4eddeb6e
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
/node_modules
|
||||||
|
/npm-debug.log
|
||||||
12
.jshintrc
Normal file
12
.jshintrc
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"boss": true,
|
||||||
|
"curly": true,
|
||||||
|
"eqeqeq": true,
|
||||||
|
"eqnull": true,
|
||||||
|
"expr": true,
|
||||||
|
"immed": true,
|
||||||
|
"noarg": true,
|
||||||
|
"quotmark": "double",
|
||||||
|
"undef": true,
|
||||||
|
"unused": true
|
||||||
|
}
|
||||||
@@ -19,3 +19,4 @@ Guidelines:
|
|||||||
* If proposing a feature, make sure to discuss that as an issue first.
|
* If proposing a feature, make sure to discuss that as an issue first.
|
||||||
* Create a new [topic branch](https://github.com/dchelimsky/rspec/wiki/Topic-Branches) for every separate change you make.
|
* Create a new [topic branch](https://github.com/dchelimsky/rspec/wiki/Topic-Branches) for every separate change you make.
|
||||||
* Make sure impress.js runs successfully on as many browsers as you can test.
|
* Make sure impress.js runs successfully on as many browsers as you can test.
|
||||||
|
* Run `npm lint` to make sure the code is consistent with the project standards.
|
||||||
|
|||||||
829
js/impress.js
829
js/impress.js
File diff suppressed because it is too large
Load Diff
31
package.json
Normal file
31
package.json
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
{
|
||||||
|
"name": "impress.js",
|
||||||
|
"version": "0.5.3",
|
||||||
|
"description": "It's a presentation framework based on the power of CSS3 transforms and transitions in modern browsers and inspired by the idea behind prezi.com.",
|
||||||
|
"main": "js/impress.js",
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/impress/impress.js.git"
|
||||||
|
},
|
||||||
|
"keywords": [
|
||||||
|
"presentation",
|
||||||
|
"slides",
|
||||||
|
"slideshow",
|
||||||
|
"css3",
|
||||||
|
"transitions",
|
||||||
|
"transforms",
|
||||||
|
"browser"
|
||||||
|
],
|
||||||
|
"author": "Bartek Szopka",
|
||||||
|
"license": "MIT",
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/bartaz/impress.js/issues"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"lint": "jshint js/impress.js && jscs js/impress.js --preset=jquery"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"jscs": "2.11.0",
|
||||||
|
"jshint": "2.9.1"
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user