forked from CesiumGS/cesium
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added .eslintrc configuration files - Added eslint and eslint-watch gulp tasks (added gulp-eslint and eslint-plugin-html deps) - Removed jshint gulp tasks (and dependencies) - Refactored inline disable comments in ESLint syntax - Cleared all new lint errors - Updated build and test documentation - Added ESLint to license file
- Loading branch information
1 parent
29d9d29
commit 43578fe
Showing
39 changed files
with
200 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"es6": true, | ||
"mocha": true, | ||
"jasmine": true | ||
}, | ||
"plugins": [ | ||
"html" | ||
], | ||
"rules": { | ||
"curly": ["error"], | ||
"eqeqeq": ["error"], | ||
"guard-for-in": ["error"], | ||
"new-cap": ["error", {"properties": false}], | ||
"no-caller": ["error"], | ||
"no-empty": ["error"], | ||
"no-extend-native": ["error"], | ||
"no-irregular-whitespace": ["error"], | ||
"no-new": ["error"], | ||
"no-undef": ["error"], | ||
"no-unused-vars": ["error", {"vars": "all", "args": "none"}], | ||
"strict": ["error"], | ||
"wrap-iife": ["error", "any"] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"extends": "../.eslintrc", | ||
"env": { | ||
"jasmine": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,62 @@ | ||
{ | ||
"extends": "../.jshintrc", | ||
"jasmine": false | ||
"bitwise": false, | ||
"camelcase": false, | ||
"curly": true, | ||
"eqeqeq": true, | ||
"forin": true, | ||
"freeze": true, | ||
"immed": true, | ||
"latedef": false, | ||
"newcap": true, | ||
"noarg": true, | ||
"noempty": true, | ||
"nonbsp": true, | ||
"nonew": true, | ||
"plusplus": false, | ||
"quotmark": false, | ||
"undef": true, | ||
"unused": "vars", | ||
"strict": true, | ||
"asi": false, | ||
"boss": false, | ||
"debug": false, | ||
"eqnull": false, | ||
"esnext": false, | ||
"moz": false, | ||
"evil": false, | ||
"expr": false, | ||
"funcscope": false, | ||
"globalstrict": false, | ||
"iterator": false, | ||
"lastsemic": false, | ||
"laxbreak": false, | ||
"laxcomma": false, | ||
"loopfunc": false, | ||
"multistr": true, | ||
"noyield": false, | ||
"notypeof": false, | ||
"proto": false, | ||
"scripturl": false, | ||
"shadow": false, | ||
"sub": false, | ||
"supernew": false, | ||
"validthis": false, | ||
"browser": true, | ||
"browserify": false, | ||
"couch": false, | ||
"devel": true, | ||
"dojo": false, | ||
"jasmine": false, | ||
"jquery": false, | ||
"mocha": true, | ||
"mootools": false, | ||
"node": false, | ||
"nonstandard": false, | ||
"prototypejs": false, | ||
"qunit": false, | ||
"rhino": false, | ||
"shelljs": false, | ||
"worker": false, | ||
"wsh": false, | ||
"yui": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
/*global require*/ | ||
/*eslint-disable strict*/ | ||
require({ | ||
baseUrl : '.', | ||
paths : { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"extends": "../../.eslintrc", | ||
"globals": { | ||
"JSON": true, | ||
"require": true, | ||
"console": true, | ||
"Sandcastle": true, | ||
"Cesium": true | ||
}, | ||
"rules": { | ||
"no-unused-vars": ["off"] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.