2016-05-17 16:49:34 -04:00
|
|
|
{
|
|
|
|
"parser": "babel-eslint",
|
|
|
|
"parserOptions": {
|
2016-05-17 20:29:46 -04:00
|
|
|
"ecmaVersion": 6,
|
2016-05-17 16:49:34 -04:00
|
|
|
"sourceType": "module"
|
2016-05-17 20:29:46 -04:00
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
"strict": 0,
|
|
|
|
"comma-dangle": [ "warn" ],
|
|
|
|
"no-cond-assign": [ "warn" ],
|
|
|
|
"no-dupe-args": [ "error" ],
|
|
|
|
"no-dupe-keys": [ "error" ],
|
|
|
|
"no-duplicate-case": [ "error" ],
|
|
|
|
"no-empty": [ "warn" ],
|
|
|
|
"no-empty-character-class": [ "warn" ],
|
|
|
|
"no-ex-assign": [ "error" ],
|
|
|
|
"no-extra-boolean-cast": [ "warn" ],
|
|
|
|
"no-extra-parens": [ "warn" ],
|
|
|
|
"no-extra-semi": [ "warn" ],
|
|
|
|
"no-func-assign": [ "error" ],
|
|
|
|
"no-invalid-regexp": [ "error" ],
|
|
|
|
"no-irregular-whitespace": [ "error" ],
|
|
|
|
"no-negated-in-lhs": [ "warn" ],
|
|
|
|
"no-obj-calls": [ "error" ],
|
|
|
|
"no-regex-spaces": [ "warn" ],
|
|
|
|
"no-sparse-arrays": [ "warn" ],
|
|
|
|
"no-unexpected-multiline": [ "warn" ],
|
|
|
|
"no-unreachable": [ "warn" ],
|
|
|
|
"no-unsafe-finally": [ "warn" ],
|
|
|
|
"use-isnan": [ "warn" ],
|
|
|
|
"valid-jsdoc": [ "warn" ],
|
|
|
|
"valid-typeof": [ "error" ],
|
2016-05-17 20:58:51 -04:00
|
|
|
"curly": [ "warn" ],
|
2016-05-17 20:29:46 -04:00
|
|
|
"dot-location": [ "warn", "property" ],
|
|
|
|
"eqeqeq": [ "warn", "smart" ],
|
|
|
|
"guard-for-in": [ "warn" ],
|
|
|
|
"no-alert": [ "warn" ],
|
|
|
|
"no-case-declarations": [ "warn" ],
|
|
|
|
"no-div-regex": [ "warn" ],
|
|
|
|
"no-else-return": [ "warn" ],
|
|
|
|
"no-empty-function": [ "warn" ],
|
|
|
|
"no-empty-pattern": [ "warn" ],
|
|
|
|
"no-eq-null": [ "warn" ],
|
|
|
|
"no-eval": [ "warn" ],
|
|
|
|
"no-extend-native": [ "warn" ],
|
|
|
|
"no-extra-bind": [ "warn" ],
|
|
|
|
"no-extra-label": [ "warn" ],
|
|
|
|
"no-floating-decimal": [ "warn" ],
|
|
|
|
"no-implicit-coercion": [ "warn" ],
|
|
|
|
"no-implied-eval": [ "warn" ],
|
|
|
|
"no-iterator": [ "error" ],
|
|
|
|
"no-lone-blocks": [ "warn" ],
|
|
|
|
"no-loop-func": [ "warn" ],
|
|
|
|
"no-multi-spaces": [ "warn" ],
|
|
|
|
"no-multi-str": [ "warn" ],
|
|
|
|
"no-native-reassign": [ "warn" ],
|
|
|
|
"no-new-func": [ "warn" ],
|
|
|
|
"no-new-wrappers": [ "warn" ],
|
|
|
|
"no-octal": [ "warn" ],
|
|
|
|
"no-octal-escape": [ "warn" ],
|
|
|
|
"no-param-reassign": [ "warn" ],
|
|
|
|
"no-proto": [ "error" ],
|
|
|
|
"no-redeclare": [ "warn", { "builtinGlobals": true } ],
|
|
|
|
"no-return-assign": [ "warn" ],
|
|
|
|
"no-script-url": [ "warn" ],
|
|
|
|
"no-self-assign": [ "warn" ],
|
|
|
|
"no-self-compare": [ "warn" ],
|
|
|
|
"no-sequences": [ "warn" ],
|
|
|
|
"no-throw-literal": [ "warn" ],
|
|
|
|
"no-unmodified-loop-condition": [ "warn" ],
|
|
|
|
"no-unused-expressions": [ "warn" ],
|
|
|
|
"no-unused-labels": [ "warn" ],
|
|
|
|
"no-useless-call": [ "warn" ],
|
|
|
|
"no-useless-concat": [ "warn" ],
|
|
|
|
"no-useless-escape": [ "warn" ],
|
|
|
|
"no-void": [ "warn" ],
|
|
|
|
"no-with": [ "warn" ],
|
|
|
|
"radix": [ "warn" ],
|
|
|
|
"vars-on-top": [ "warn" ],
|
|
|
|
"wrap-iife": [ "warn" ],
|
|
|
|
"yoda": [ "warn" ],
|
|
|
|
"array-bracket-spacing": [ "warn", "always" ],
|
|
|
|
"block-spacing": [ "warn" ],
|
2016-05-17 20:40:51 -04:00
|
|
|
"brace-style": [ "warn", "1tbs", { "allowSingleLine": true } ],
|
2016-05-17 20:29:46 -04:00
|
|
|
"comma-spacing": [ "warn" ],
|
|
|
|
"comma-style": [ "warn" ],
|
|
|
|
"computed-property-spacing": [ "warn" ],
|
2016-05-17 21:12:47 -04:00
|
|
|
"indent": [ "warn", 4, { "SwitchCase": 1 } ],
|
2016-05-20 15:54:10 -04:00
|
|
|
"key-spacing": [ "warn" ],
|
2016-05-17 20:29:46 -04:00
|
|
|
"keyword-spacing": [ "warn" ],
|
|
|
|
"linebreak-style": [ "warn" ],
|
|
|
|
"newline-after-var": [ "warn" ],
|
|
|
|
"no-lonely-if": [ "warn" ],
|
|
|
|
"no-multiple-empty-lines": [ "warn", { "max": 1 } ],
|
|
|
|
"no-spaced-func": [ "warn" ],
|
|
|
|
"no-unneeded-ternary": [ "warn" ],
|
|
|
|
"no-whitespace-before-property": [ "warn" ],
|
|
|
|
"object-curly-spacing": [ "warn", "always" ],
|
|
|
|
"padded-blocks": [ "warn", "never" ],
|
|
|
|
"quotes": [ "warn" ],
|
|
|
|
"semi": [ "warn" ],
|
|
|
|
"semi-spacing": [ "warn" ],
|
|
|
|
"space-before-blocks": [ "warn" ],
|
|
|
|
"space-before-function-paren": [ "warn", "never" ],
|
|
|
|
"space-in-parens": [ "warn" ],
|
|
|
|
"space-infix-ops": [ "warn" ],
|
|
|
|
"space-unary-ops": [ "warn" ],
|
|
|
|
"spaced-comment": [ "warn" ],
|
|
|
|
"wrap-regex": [ "warn" ]
|
2016-05-17 16:49:34 -04:00
|
|
|
}
|
|
|
|
}
|