Last active
January 4, 2018 21:24
-
-
Save thales17/7909d69ea92c605a1550e3b492fa43df to your computer and use it in GitHub Desktop.
ESLint Config (made with http://rapilabs.github.io/eslintrc-generator/)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "rules": { | |
| "comma-dangle": [2,"only-multiline"], | |
| "no-cond-assign": [2,"always"], | |
| "no-console": 2, | |
| "no-constant-condition": 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-parens": [2,"all"], | |
| "no-extra-semi": 2, | |
| "no-func-assign": 2, | |
| "no-inner-declarations": [2,"functions"], | |
| "no-invalid-regexp": 2, | |
| "no-irregular-whitespace": 2, | |
| "no-negated-in-lhs": 2, | |
| "no-obj-calls": 2, | |
| "no-regex-spaces": 2, | |
| "no-sparse-arrays": 2, | |
| "no-unreachable": 2, | |
| "use-isnan": 2, | |
| "valid-jsdoc": 0, | |
| "valid-typeof": 2, | |
| "no-unexpected-multiline": 0, | |
| "accessor-pairs": 0, | |
| "block-scoped-var": 0, | |
| "complexity": 0, | |
| "consistent-return": 0, | |
| "curly": [2,"all"], | |
| "default-case": 0, | |
| "dot-notation": 0, | |
| "dot-location": 0, | |
| "eqeqeq": [2,"smart"], | |
| "guard-for-in": 0, | |
| "no-alert": 0, | |
| "no-caller": 0, | |
| "no-div-regex": 0, | |
| "no-else-return": 2, | |
| "no-empty-label": 0, | |
| "no-eq-null": 2, | |
| "no-eval": 0, | |
| "no-extend-native": 0, | |
| "no-extra-bind": 0, | |
| "no-fallthrough": 2, | |
| "no-floating-decimal": 0, | |
| "no-implicit-coercion": 0, | |
| "no-implied-eval": 0, | |
| "no-invalid-this": 0, | |
| "no-iterator": 0, | |
| "no-labels": 0, | |
| "no-lone-blocks": 0, | |
| "no-loop-func": 0, | |
| "no-multi-spaces": 2, | |
| "no-multi-str": 0, | |
| "no-native-reassign": 0, | |
| "no-new-func": 0, | |
| "no-new-wrappers": 0, | |
| "no-new": 0, | |
| "no-octal-escape": 0, | |
| "no-octal": 2, | |
| "no-param-reassign": 0, | |
| "no-process-env": 0, | |
| "no-proto": 0, | |
| "no-redeclare": 2, | |
| "no-return-assign": 0, | |
| "no-script-url": 0, | |
| "no-self-compare": 0, | |
| "no-sequences": 0, | |
| "no-throw-literal": 0, | |
| "no-unused-expressions": 0, | |
| "no-useless-call": 0, | |
| "no-void": 0, | |
| "no-warning-comments": 0, | |
| "no-with": 0, | |
| "radix": 0, | |
| "vars-on-top": 0, | |
| "wrap-iife": 0, | |
| "yoda": 0, | |
| "strict": 0, | |
| "init-declarations": 0, | |
| "no-catch-shadow": 0, | |
| "no-delete-var": 2, | |
| "no-label-var": 0, | |
| "no-shadow-restricted-names": 0, | |
| "no-shadow": 0, | |
| "no-undef-init": 0, | |
| "no-undef": 2, | |
| "no-undefined": 0, | |
| "no-unused-vars": 2, | |
| "no-use-before-define": 0, | |
| "callback-return": 0, | |
| "handle-callback-err": 0, | |
| "no-mixed-requires": 0, | |
| "no-new-require": 0, | |
| "no-path-concat": 0, | |
| "no-process-exit": 0, | |
| "no-restricted-modules": 0, | |
| "no-sync": 0, | |
| "array-bracket-spacing": [2,"never",{}], | |
| "brace-style": [2,"1tbs",{}], | |
| "camelcase": 0, | |
| "comma-spacing": [2,{"after":true}], | |
| "comma-style": 0, | |
| "computed-property-spacing": 0, | |
| "consistent-this": 0, | |
| "eol-last": 0, | |
| "func-names": 0, | |
| "func-style": 0, | |
| "id-length": 0, | |
| "indent": [2,2], | |
| "key-spacing": 0, | |
| "lines-around-comment": 0, | |
| "linebreak-style": [2,"unix"], | |
| "max-nested-callbacks": 0, | |
| "new-cap": 0, | |
| "new-parens": 0, | |
| "newline-after-var": 0, | |
| "no-array-constructor": 0, | |
| "no-continue": 0, | |
| "no-inline-comments": 0, | |
| "no-lonely-if": 0, | |
| "no-mixed-spaces-and-tabs": 2, | |
| "no-multiple-empty-lines": 0, | |
| "no-nested-ternary": 2, | |
| "no-new-object": 0, | |
| "no-spaced-func": 0, | |
| "no-ternary": 2, | |
| "no-trailing-spaces": 2, | |
| "no-underscore-dangle": 0, | |
| "no-unneeded-ternary": 0, | |
| "object-curly-spacing": 0, | |
| "one-var": 0, | |
| "operator-assignment": 0, | |
| "operator-linebreak": 0, | |
| "padded-blocks": 0, | |
| "quote-props": 0, | |
| "quotes": ["error", "single", { "allowTemplateLiterals": true }], | |
| "id-match": 0, | |
| "semi-spacing": 0, | |
| "semi": [2,"always"], | |
| "sort-vars": 0, | |
| "space-after-keywords": 0, | |
| "space-before-blocks": 0, | |
| "space-before-function-paren": ["error", "always"], | |
| "space-in-parens": ["error", "never"], | |
| "space-infix-ops": 2, | |
| "space-return-throw-case": 0, | |
| "space-unary-ops": 0, | |
| "spaced-comment": 0, | |
| "wrap-regex": 0, | |
| "arrow-parens": [2,"always"], | |
| "arrow-spacing": [2,{"before":true,"after":true}], | |
| "constructor-super": 0, | |
| "generator-star-spacing": 0, | |
| "no-class-assign": 0, | |
| "no-const-assign": 2, | |
| "no-this-before-super": 2, | |
| "no-var": 2, | |
| "object-shorthand": 0, | |
| "prefer-const": 2, | |
| "prefer-spread": 0, | |
| "prefer-reflect": 0, | |
| "require-yield": 0, | |
| "max-depth": 0, | |
| "max-len": 0, | |
| "max-params": 0, | |
| "max-statements": 0, | |
| "no-bitwise": 0, | |
| "no-plusplus": 0 | |
| }, | |
| "parserOptions": { | |
| "ecmaVersion": 6 | |
| }, | |
| "env": { | |
| "amd": true, | |
| "node": true | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment