Skip to content

Instantly share code, notes, and snippets.

@bencooling
Created November 20, 2015 00:10
Show Gist options
  • Save bencooling/1b0269755b6e18b47efb to your computer and use it in GitHub Desktop.
Save bencooling/1b0269755b6e18b47efb to your computer and use it in GitHub Desktop.
eslint
{
"ecmaFeatures": {
"jsx": true,
"modules": true,
"arrowFunctions": true,
"blockBindings": true,
"defaultParams": true,
"objectLiteralShorthandProperties": true
},
"rules": {
"consistent-return": 0,
"vars-on-top": 0,
"one-var": 0,
"strict": 0,
"new-cap": 0,
"no-console": 0,
"no-constant-condition": 0,
"no-empty": 0,
"no-native-reassign": 0,
"no-underscore-dangle": 0,
"no-undef": 0,
"no-process-exit": 0,
"no-unused-vars": 0,
"no-use-before-define": 0,
"no-unused-expressions": 0,
"no-regex-spaces": 0,
"no-shadow": 0,
"global-strict": 0,
"handle-callback-err": 0,
"no-lonely-if": 0,
"space-in-brackets": 0,
"brace-style": 0,
"dot-notation": 1,
"eol-last": 1,
"camelcase": 1,
"no-trailing-spaces": 1,
"no-eq-null": 1,
"no-extend-native": 1,
"no-redeclare": 1,
"no-loop-func": 1,
"yoda": [1, "never"],
"sort-vars": 0,
"quotes": [2, "single"],
"consistent-this": [2, "self"],
"func-style": [2, "expression"],
"new-parens": 2,
"no-array-constructor": 2,
"no-new-object": 2,
"no-spaced-func": 2,
"no-space-before-semi": 2,
"no-mixed-spaces-and-tabs": 2,
"space-after-keywords": 2,
"semi": [2, "always"],
"space-infix-ops": 2,
"space-return-throw-case": 2,
"space-unary-ops": [1, { "words": true, "nonwords": false }],
"eqeqeq": 2,
"curly": [2, "all"],
"no-eval": 2,
"no-else-return": 2,
"no-return-assign": 2,
"no-new-wrappers": 2,
"no-comma-dangle": 2,
"no-sparse-arrays": 2,
"no-ex-assign": 2,
"indent": [2, 2],
"space-before-function-paren": 2
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment