Last active
May 18, 2017 02:34
-
-
Save fredchu/aa1a0b031666a0916f461c26cdc032a6 to your computer and use it in GitHub Desktop.
.eslintrc.json
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
Show hidden characters
{ | |
"parserOptions": { | |
"ecmaVersion": 6 | |
}, | |
"env": { | |
"browser": true, | |
"es6": true, | |
"amd": true, | |
"phantomjs": true, | |
"jquery": true | |
}, | |
"globals": { | |
"webkitSpeechRecognition": true, | |
"Modernizr": true, | |
"_gaq": true, | |
"fbq": true, | |
"FB": true, | |
"gTrackEvent": true, | |
"l10n": true, | |
"d3": true, | |
"pinkoi": true, | |
"_": true, | |
"PRODUCTION": true, | |
"NAMESPACE": true, | |
"casper": true, | |
"__utils__": true | |
}, | |
"rules": { | |
"semi": [2, "always"], | |
"comma-dangle": [2], | |
"no-cond-assign": [2], | |
"no-debugger": [2], | |
"no-dupe-args": [2], | |
"no-dupe-keys": [2], | |
"no-duplicate-case": [2], | |
"no-empty-character-class": [2], | |
"no-ex-assign": [2], | |
"no-extra-semi": [2], | |
"no-func-assign": [2], | |
"no-inner-declarations": [2], | |
"no-invalid-regexp": [2], | |
"no-irregular-whitespace": [2], | |
"no-negated-in-lhs": [2], | |
"no-obj-calls": [2], | |
"no-regex-spaces": [2], | |
"no-sparse-arrays": [2], | |
"no-unexpected-multiline": [2], | |
"no-unreachable": [2], | |
"use-isnan": [2], | |
"valid-typeof": [2], | |
"curly": [2], | |
"guard-for-in": [2], | |
"no-div-regex": [2], | |
"no-empty-function": [2], | |
"no-empty-pattern": [2], | |
"no-extra-label": [2], | |
"no-fallthrough": [2], | |
"no-floating-decimal": [2], | |
"no-lone-blocks": [2], | |
"no-native-reassign": [2], | |
"no-unused-labels": [2], | |
"no-undef": [2, { | |
"typeof": true | |
} | |
], | |
"no-use-before-define": [2], | |
"no-unused-vars": [2, { | |
"args": "none" | |
} | |
], | |
"space-before-blocks": [2], | |
"key-spacing": [2, { | |
"beforeColon": false | |
}], | |
"keyword-spacing": [2, { | |
"before": true | |
}], | |
"space-in-parens": [2, | |
"never" | |
], | |
"array-bracket-spacing": [2, | |
"never" | |
], | |
"object-curly-spacing": [2, | |
"never" | |
], | |
"dot-notation": [2], | |
"newline-per-chained-call": ["error", { | |
"ignoreChainWithDepth": 2 | |
}], | |
"padded-blocks": [2, | |
"never" | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment