Skip to content

Instantly share code, notes, and snippets.

@bardware
Last active July 19, 2017 16:40
Show Gist options
  • Select an option

  • Save bardware/2d10e6f2b3a2438a92299e242235f33d to your computer and use it in GitHub Desktop.

Select an option

Save bardware/2d10e6f2b3a2438a92299e242235f33d to your computer and use it in GitHub Desktop.
{
"parser" : "espree",
"env" : {
"browser" : true,
"jquery" : true
},
"rules" : {
"no-alert" : "off",
"no-array-constructor" : "warn",
"no-bitwise" : "off",
"no-caller" : "off",
"no-case-declarations" : "error",
"no-catch-shadow" : "off",
"no-class-assign" : "warn",
"no-cond-assign" : "error",
"no-confusing-arrow" : [ "error", {"allowParens" : false} ],
"no-console" : "warn",
"no-const-assign" : "warn",
"no-constant-condition" : "warn",
"no-continue" : "off",
"no-control-regex" : "warn",
"no-debugger" : "warn",
"no-delete-var" : "warn",
"no-div-regex" : "off",
"no-dupe-args" : "error",
"no-dupe-class-members" : "warn",
"no-dupe-keys" : "warn",
"no-duplicate-case" : "error",
"no-duplicate-imports" : "off",
"no-else-return" : "off",
"no-empty" : "warn",
"no-empty-character-class" : "warn",
"no-empty-function" : "warn",
"no-empty-pattern" : "warn",
"no-eq-null" : "error",
"no-eval" : "error",
"no-ex-assign" : "error",
"no-extend-native" : "off",
"no-extra-bind" : "off",
"no-extra-boolean-cast" : "warn",
"no-extra-label" : "off",
"no-extra-parens" : "off",
"no-extra-semi" : "error",
"no-fallthrough" : "warn",
"no-floating-decimal" : "warn",
"no-func-assign" : "error",
"no-implicit-coercion" : [ "warn", {"boolean" : true, "number" : true, "string" : true} ],
"no-implicit-globals" : "off",
"no-implied-eval" : "error",
"no-inline-comments" : "off",
"no-inner-declarations" : "off",
"no-invalid-regexp" : "off",
"no-invalid-this" : "off",
"no-irregular-whitespace" : "off",
"no-iterator" : "off",
"no-label-var" : "off",
"no-labels" : "off",
"no-lone-blocks" : "off",
"no-lonely-if" : "off",
"no-loop-func" : "off",
"no-magic-numbers" : "warn",
"no-mixed-operators" : "off",
"no-mixed-requires" : "off",
"no-mixed-spaces-and-tabs" : "error",
"no-multi-spaces" : "error",
"no-multi-str" : "off",
"no-multiple-empty-lines" : [ "error", {"max" : 1} ],
"no-native-reassign" : "error",
"no-negated-condition" : "off",
"no-negated-in-lhs" : "off",
"no-nested-ternary" : "off",
"no-new" : "off",
"no-new-func" : "off",
"no-new-object" : "error",
"no-new-require" : "off",
"no-new-symbol" : "error",
"no-new-wrappers" : "off",
"no-obj-calls" : "off",
"no-octal" : "off",
"no-octal-escape" : "off",
"no-param-reassign" : "off",
"no-path-concat" : "off",
"no-plusplus" : "off",
"no-process-env" : "off",
"no-process-exit" : "off",
"no-proto" : "off",
"no-prototype-builtins" : "off",
"no-redeclare" : "error",
"no-regex-spaces" : "off",
"no-restricted-globals" : "off",
"no-restricted-imports" : "off",
"no-restricted-modules" : "off",
"no-restricted-syntax" : "off",
"no-return-assign" : "off",
"no-script-url" : "off",
"no-self-assign" : "error",
"no-self-compare" : "warn",
"no-sequences" : "off",
"no-shadow" : "off",
"no-shadow-restricted-names" : "off",
"no-whitespace-before-property" : "off",
"no-spaced-func" : "error",
"no-sparse-arrays" : "off",
"no-sync" : "off",
"no-ternary" : "off",
"no-trailing-spaces" : "error",
"no-this-before-super" : "off",
"no-throw-literal" : "off",
"no-undef" : "error",
"no-undef-init" : "off",
"no-undefined" : "off",
"no-unexpected-multiline" : "off",
"no-underscore-dangle" : "off",
"no-unmodified-loop-condition" : "off",
"no-unneeded-ternary" : "off",
"no-unreachable" : "off",
"no-unsafe-finally" : "off",
"no-unused-expressions" : "off",
"no-unused-labels" : "error",
"no-unused-vars" : "off",
"no-use-before-define" : "off",
"no-useless-call" : "off",
"no-useless-computed-key" : "off",
"no-useless-concat" : "off",
"no-useless-constructor" : "off",
"no-useless-escape" : "off",
"no-useless-rename" : "off",
"no-void" : "off",
"no-var" : "off",
"no-warning-comments" : "off",
"no-with" : "off",
"array-bracket-spacing" : [ "error", "always", {} ],
"array-callback-return" : "off",
"arrow-body-style" : "off",
"arrow-parens" : "off",
"arrow-spacing" : "off",
"accessor-pairs" : "off",
"block-scoped-var" : "off",
"block-spacing" : "off",
"brace-style" : [ "error", "1tbs", {} ],
"callback-return" : "off",
"camelcase" : [ "warn", {"properties" : "always"} ],
"comma-dangle" : "off",
"comma-spacing" : [ "error", { "before" : false, "after" : true } ],
"comma-style" : [ "error", "last" ],
"complexity" : "off",
"computed-property-spacing" : [ "warn", "always" ],
"consistent-return" : "off",
"consistent-this" : "off",
"constructor-super" : "off",
"curly" : "error",
"default-case" : "off",
"dot-location" : "off",
"dot-notation" : "off",
"eol-last" : "error",
"eqeqeq" : "off",
"func-names" : "error",
"func-style" : "off",
"generator-star-spacing" : "off",
"global-require" : "off",
"guard-for-in" : "off",
"handle-callback-err" : "off",
"id-blacklist" : "off",
"id-length" : [ "warn", {"min" : 3} ],
"id-match" : "off",
"indent" : [ "error", "tab", { "SwitchCase" : 1 } ],
"init-declarations" : "off",
"jsx-quotes" : "off",
"key-spacing" : [ "warn", {"afterColon" : true, "beforeColon" : true, "mode" : "strict" } ],
"keyword-spacing" : [ "error", { "after": false, "overrides": { "else": { "after": true }, "return": { "after": true }, "switch": { "after": true }, "case": { "after": true }, "try": { "after": true }, "catch": { "after": true } } } ],
"linebreak-style" : [ "error", "windows" ],
"lines-around-comment" : "off",
"max-depth" : "off",
"max-len" : "off",
"max-lines" : "off",
"max-nested-callbacks" : "off",
"max-params" : "off",
"max-statements" : "off",
"max-statements-per-line" : "off",
"new-cap" : "off",
"new-parens" : "off",
"newline-after-var" : [ "error", "always" ],
"newline-before-return" : "off",
"newline-per-chained-call" : "off",
"object-curly-newline" : "off",
"object-curly-spacing" : [ "warn", "always" ],
"object-property-newline" : "off",
"object-shorthand" : "off",
"one-var" : [ "warn", "always" ],
"one-var-declaration-per-line" : "off",
"operator-assignment" : "off",
"operator-linebreak" : "off",
"padded-blocks" : "off",
"prefer-arrow-callback" : "off",
"prefer-const" : "off",
"prefer-reflect" : "off",
"prefer-rest-params" : "off",
"prefer-spread" : "off",
"prefer-template" : "off",
"quote-props" : [ "error", "as-needed" ],
"quotes" : [ "warn", "single", "avoid-escape" ],
"radix" : "error",
"require-jsdoc" : "off",
"require-yield" : "off",
"rest-spread-spacing" : "off",
"semi" : [ "error", "always" ],
"semi-spacing" : "off",
"sort-imports" : "off",
"sort-vars" : "off",
"space-before-blocks" : [ "error", { "functions": "always", "keywords": "always", "classes": "always" } ],
"space-before-function-paren" : "off",
"space-in-parens" : ["warn", "always"],
"space-infix-ops" : "warn",
"space-unary-ops" : "off",
"spaced-comment" : "off",
"strict" : "off",
"template-curly-spacing" : "off",
"unicode-bom" : "off",
"use-isnan" : "off",
"valid-jsdoc" : "off",
"valid-typeof" : "off",
"vars-on-top" : "error",
"wrap-iife" : [ "error", "inside" ],
"wrap-regex" : "off",
"yield-star-spacing" : "off",
"yoda" : "off"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment