Skip to content

Instantly share code, notes, and snippets.

@gborelli
Created July 11, 2017 11:00
Show Gist options
  • Save gborelli/01b469a6b9a9a6c779488aa68ebce721 to your computer and use it in GitHub Desktop.
Save gborelli/01b469a6b9a9a6c779488aa68ebce721 to your computer and use it in GitHub Desktop.
{
"parser": "babel-eslint",
"env": {
"browser": true,
"amd": true,
"node": true
},
"rules": {
"block-scoped-var": 0,
"camelcase": 0,
"comma-dangle": 1,
"complexity": 2,
"curly": 2,
"default-case": 2,
"dot-notation": 2,
"eqeqeq": 2,
"eol-last": 0,
"guard-for-in": 2,
"indent": [2, 2, { "SwitchCase": 1 }],
"linebreak-style": [1, "unix"],
"no-alert": 2,
"no-caller": 2,
"no-console": [1, {"allow": ["debug", "error"]}],
"no-debugger": 1,
"no-div-regex": 2,
"no-eq-null": 2,
"no-eval": 2,
"no-extend-native": 2,
"no-extra-bind": 2,
"no-extra-semi": 2,
"no-fallthrough": 2,
"no-floating-decimal": 2,
"no-implied-eval": 2,
"no-iterator": 2,
"no-labels": 2,
"no-lone-blocks": 2,
"no-loop-func": 2,
"no-multi-spaces": 2,
"no-multi-str": 2,
"no-native-reassign": 2,
"no-new": 2,
"no-new-func": 2,
"no-new-wrappers": 2,
"no-octal": 2,
"no-octal-escape": 2,
"no-path-concat": 0,
"no-process-env": 0,
"no-proto": 2,
"no-redeclare": 2,
"no-return-assign": 2,
"no-script-url": 2,
"no-self-compare": 2,
"no-sequences": 2,
"no-shadow": 0,
"no-trailing-spaces": [1, { "skipBlankLines": true }],
"no-undef": 2,
"no-underscore-dangle": 0,
"no-unused-expressions": 0,
"no-unused-vars": 1,
"no-unreachable": 2,
"no-var": 0,
"no-void": 2,
"no-warning-comments": 0,
"no-with": 2,
"quotes": [ 1, "single" ],
"radix": 2,
"semi": 1,
"strict": 0,
"vars-on-top": 0,
"wrap-iife": [2, "inside"],
"yoda": 0
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment