Apply JSHint and JSCS with jQuery configs

Closes gh-535. Closes gh-529.
This commit is contained in:
Fagner Brack
2016-04-16 16:47:51 +10:00
committed by Fagner Brack
parent 8e48883853
commit 3f4eddeb6e
5 changed files with 476 additions and 399 deletions

2
.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
/node_modules
/npm-debug.log

12
.jshintrc Normal file
View 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
}

View File

@@ -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.

File diff suppressed because it is too large Load Diff

31
package.json Normal file
View 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"
}
}