Skip to content

Instantly share code, notes, and snippets.

@hokaccha hokaccha/.eslintrc
Created Nov 7, 2015

Embed
What would you like to do?
{
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true
},
"rules": {
"no-cond-assign": 2,
"no-control-regex": 2,
"no-debugger": 2,
"no-dupe-args": 2,
"no-dupe-keys": 2,
"no-duplicate-case": 2,
"no-empty-character-class": 2,
"no-empty": 2,
"no-ex-assign": 2,
"no-extra-boolean-cast": 2,
"no-extra-semi": 2,
"no-func-assign": 2,
"no-inner-declarations": 2,
"no-sparse-arrays": 2,
"no-unexpected-multiline": 2,
"no-unreachable": 2,
"use-isnan": 2,
"valid-typeof": 2,
"eqeqeq": 2,
"no-caller": 2,
"no-case-declarations": 2,
"no-empty-label": 2,
"no-empty-pattern": 2,
"no-fallthrough": 2,
"no-implied-eval": 2,
"no-labels": 2,
"no-lone-blocks": 2,
"no-multi-spaces": 2,
"no-native-reassign": 2,
"no-octal-escape": 2,
"no-octal": 2,
"no-redeclare": 2,
"no-return-assign": 2,
"no-self-compare": 2,
"no-sequences": 2,
"no-throw-literal": 2,
"no-useless-call": 2,
"no-useless-concat": 2,
"no-void": 2,
"no-with": 2,
"radix": 2,
"no-shadow-restricted-names": 2,
"no-undef-init": 2,
"no-undef": 2,
"no-undefined": 2,
"no-unused-vars": 0,
"no-use-before-define": 2,
"comma-spacing": [2, { "before": false, "after": true }],
"eol-last": 2,
"indent": [2, 2],
"key-spacing": [2, { "beforeColon": false, "afterColon": true, "mode": "minimum" }],
"linebreak-style": [2, "unix"],
"new-parens": 2,
"no-spaced-func": 2,
"no-trailing-spaces": 2,
"no-unneeded-ternary": 2,
"semi-spacing": 2,
"semi": 2,
"space-after-keywords": 2,
"space-before-blocks": 2,
"space-before-function-paren": [2, "never"],
"space-before-keywords": 2,
"space-in-parens": [2, "never"],
"space-return-throw-case": 2,
"space-unary-ops": 2,
"constructor-super": 2,
"no-arrow-condition": 2,
"no-class-assign": 2,
"no-const-assign": 2,
"no-dupe-class-members": 2,
"no-this-before-super": 2,
"no-var": 2,
"prefer-arrow-callback": 2,
"prefer-spread": 2,
"prefer-template": 2
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.