Last active
August 29, 2015 14:21
-
-
Save japboy/b35e5dcd54aff4ce7a76 to your computer and use it in GitHub Desktop.
ESLint default configuration
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
node_modules |
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
{ | |
"ecmaFeatures": { | |
"arrowFunctions": true, | |
"binaryLiterals": true, | |
"blockBindings": true, | |
"classes": true, | |
"defaultParams": true, | |
"destructuring": true, | |
"forOf": true, | |
"generators": true, | |
"modules": true, | |
"objectLiteralComputedProperties": true, | |
"objectLiteralDuplicateProperties": true, | |
"objectLiteralShorthandMethods": true, | |
"objectLiteralShorthandProperties": true, | |
"octalLiterals": true, | |
"regexUFlag": true, | |
"regexYFlag": true, | |
"restParams": true, | |
"spread": true, | |
"superInFunctions": true, | |
"templateStrings": true, | |
"unicodeCodePointEscapes": true, | |
"globalReturn": true, | |
"jsx": true | |
}, | |
"env": { | |
"browser": true, | |
"node": true, | |
"amd": true, | |
"mocha": true, | |
"jasmine": true, | |
"phantomjs": true, | |
"jquery": true, | |
"prototypejs": true, | |
"shelljs": true | |
}, | |
"rules": { | |
"curly": [ 1, "multi-line" ], | |
"yoda": "always", | |
"strict": 2, | |
"no-unused-vars": [ 1, { "vars": "local", "args": "none" } ], | |
"quotes": [ 1, "single", "avoid-escape" ], | |
"max-len": [ 1, 100, 2 ] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment