Skip to content

Instantly share code, notes, and snippets.

@joewashere
Last active July 19, 2019 18:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joewashere/043c4ba8357126454fba981e9bb0e731 to your computer and use it in GitHub Desktop.
Save joewashere/043c4ba8357126454fba981e9bb0e731 to your computer and use it in GitHub Desktop.
{
"globals": {
"jQuery": true,
"$": true
},
"env": {
"browser": true,
"node": true
},
"rules": {
"quotes": [1, "double", {"allowTemplateLiterals": true}],
"no-tabs": 0,
"indent": [1, "tab"],
"no-extra-semi": 0,
"semi": [1, "always"],
"for-direction": 1,
"getter-return": 2,
"no-async-promise-executor": 2,
"no-await-in-loop": 2,
"no-compare-neg-zero": 2,
"no-cond-assign": 2,
"no-console": 1,
"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": 2,
"no-empty-character-class": 2,
"no-ex-assign": 2,
"no-extra-boolean-cast": 2,
"no-extra-parens": 2,
"no-func-assign": 2,
"no-inner-declarations": 2,
"no-invalid-regexp": 2,
"no-irregular-whitespace": 2,
"no-misleading-character-class": 2,
"no-obj-calls": 2,
"no-regex-spaces": 2,
"no-sparse-arrays": 2,
"no-template-curly-in-string": 2,
"no-unexpected-multiline": 2,
"no-unreachable": 2,
"no-unsafe-finally": 2,
"no-unsafe-negation": 2,
"require-atomic-updates": 2,
"use-isnan": 2,
"valid-typeof": 2,
"accessor-pairs": 2,
"array-callback-return": 2,
"block-scoped-var": 2,
"class-methods-use-this": 2,
"consistent-return": 2,
"curly": 2,
"default-case": 2,
"dot-location": [2, "property"],
"dot-notation": 2,
"eqeqeq": 2,
"no-alert": 2,
"no-caller": 2,
"no-case-declarations": 2,
"no-else-return": 2,
"no-empty-function": 2,
"no-empty-pattern": 2,
"no-eq-null": 2,
"no-eval": 2,
"no-extra-bind": 2,
"no-extra-label": 2,
"no-fallthrough": 2,
"no-floating-decimal": 2,
"no-global-assign": 2,
"no-implicit-coercion": 2,
"no-implicit-globals": 2,
"no-implied-eval": 2,
"no-invalid-this": 2,
"no-iterator": 2,
"no-labels": 2,
"no-lone-blocks": 2,
"no-loop-func": 2,
"no-magic-numbers": 0,
"no-multi-spaces": 2,
"no-multi-str": 2,
"no-new": 2,
"no-new-func": 2,
"no-new-wrappers": 2,
"no-octal": 2,
"no-octal-escape": 2,
"no-param-reassign": 2,
"no-proto": 2,
"no-redeclare": 2,
"no-return-assign": 2,
"no-return-await": 2,
"no-self-assign": 2,
"no-self-compare": 2,
"no-sequences": 2,
"no-unmodified-loop-condition": 2,
"no-unused-expressions": 2,
"no-useless-catch": 2,
"no-useless-concat": 2,
"no-useless-escape": 2,
"no-useless-return": 2,
"no-void": 0,
"no-with": 2,
"radix": 2,
"require-await": 2,
"vars-on-top": 0,
"wrap-iife": 2,
"yoda": 2,
"init-declarations": 2,
"no-delete-var": 2,
"no-label-var": 2,
"no-shadow": 2,
"no-shadow-restricted-names": 2,
"no-undef": 2,
"no-undef-init": 2,
"no-undefined": 2,
"no-unused-vars": 2,
"no-use-before-define": 2,
"global-require": 2,
"handle-callback-err": 2,
"no-buffer-constructor": 2,
"no-mixed-requires": 2,
"no-new-require": 2,
"no-path-concat": 2,
"no-process-env": 2,
"no-process-exit": 2,
"no-sync": 2,
"array-bracket-newline": 1,
"array-bracket-spacing": 1,
"array-element-newline": 1,
"block-spacing": 1,
"capitalized-comments": 1,
"comma-dangle": 1,
"comma-spacing": 1,
"comma-style": 1,
"computed-property-spacing": 1,
"consistent-this": 1,
"eol-last": 1,
"func-call-spacing": 1,
"func-name-matching": 1,
"func-names": 0,
"func-style": 1,
"function-paren-newline": 1,
"implicit-arrow-linebreak": 1,
"key-spacing": 1,
"keyword-spacing": 1,
"line-comment-position": 1,
"linebreak-style": 1,
"lines-around-comment": 1,
"lines-between-class-members": 1,
"max-depth": 1,
"max-len": 0,
"max-lines-per-function": 1,
"max-nested-callbacks": 1,
"max-params": [1, 4],
"max-statements-per-line": 1,
"multiline-comment-style": [1, "starred-block"],
"multiline-ternary": 0,
"new-cap": 1,
"new-parens": 1,
"newline-per-chained-call": 1,
"no-array-constructor": 1,
"no-bitwise": 1,
"no-inline-comments": 1,
"no-lonely-if": 1,
"no-mixed-operators": 1,
"no-mixed-spaces-and-tabs": 1,
"no-multi-assign": 1,
"no-multiple-empty-lines": 1,
"no-negated-condition": 1,
"no-nested-ternary": 1,
"no-new-object": 1,
"no-plusplus": 0,
"no-restricted-syntax": 1,
"no-ternary": 0,
"no-trailing-spaces": 1,
"no-underscore-dangle": 1,
"no-unneeded-ternary": 1,
"no-whitespace-before-property": 1,
"nonblock-statement-body-position": 1,
"object-curly-newline": 1,
"object-curly-spacing": 1,
"object-property-newline": 1,
"one-var": 0,
"one-var-declaration-per-line": 1,
"operator-assignment": 1,
"operator-linebreak": 1,
"padded-blocks": 0,
"padding-line-between-statements": 1,
"prefer-object-spread": 1,
"quote-props": [1, "as-needed"],
"semi-spacing": 1,
"semi-style": 1,
"sort-keys": 1,
"sort-vars": 1,
"space-before-blocks": 1,
"space-before-function-paren": 1,
"space-in-parens": 1,
"space-infix-ops": 1,
"space-unary-ops": 1,
"spaced-comment": 1,
"switch-colon-spacing": 1,
"template-tag-spacing": 1,
"unicode-bom": 1,
"wrap-regex": 1
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment