-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
13 additions
and
42 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 |
---|---|---|
@@ -1,56 +1,29 @@ | ||
{ | ||
"rules": { | ||
"indent": [2, "tab"], | ||
module.exports = [{ | ||
languageOptions: { | ||
ecmaVersion: 8, | ||
sourceType: "commonjs", | ||
}, | ||
|
||
rules: { | ||
indent: [2, "tab"], | ||
"linebreak-style": [2, "unix"], | ||
|
||
"semi": [2, "always"], | ||
|
||
semi: [2, "always"], | ||
"no-shadow": 1, | ||
|
||
"no-unused-vars": 1, | ||
|
||
/* We use _method for private methods */ | ||
"no-underscore-dangle": 0, | ||
|
||
/* eslint expects us to put "use strict" in every function? */ | ||
"strict": 0, | ||
|
||
/* eslint doesn't like "use strict" because of concatenation issues, | ||
* but it's not a problem with node. */ | ||
"global-strict": 0, | ||
|
||
/* Don't care whether it's "quote" or 'quote' */ | ||
"quotes": 0, | ||
|
||
quotes: 0, | ||
/* We do ,obj in multi-line arrays literals */ | ||
"comma-spacing": 0, | ||
|
||
/* We have a space before a tab in the first line of a multi-line array literal */ | ||
"no-mixed-spaces-and-tabs": 0, | ||
|
||
/* Complains about while(true) */ | ||
"no-constant-condition": 0, | ||
|
||
/* We don't space our multiplications */ | ||
"space-infix-ops": 0, | ||
|
||
/* It's okay to make functions in a loop if you're using let and const */ | ||
"no-loop-func": 0, | ||
|
||
/* We sometimes use 'function() { new X() }` in a test to test | ||
* for exceptions thrown in the constructor. */ | ||
"no-new": 0 | ||
}, | ||
"env": { | ||
"es6": true, | ||
"node": true | ||
}, | ||
"globals": { | ||
"it": true, | ||
"describe": true, | ||
* for exceptions thrown in the constructor. */ | ||
"no-new": 0, | ||
}, | ||
"parserOptions": { | ||
"ecmaVersion": 8 | ||
} | ||
} | ||
}]; |
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