| accessor-pairs | | | - Object
- setWithoutGet : true
- enforceForClassMembers : true
| |
| array-bracket-newline | | - "consistent"
| | |
| array-bracket-spacing | - "never"
| - "never"
| - "never"
| |
| array-callback-return | | - Object
| - Object
- allowImplicit : false
- checkForEach : false
| |
| array-element-newline | | - Object
- multiline : true
- minItems : 3
| | |
| arrow-body-style | | - "as-needed"
- Object
- requireReturnForObjectLiteral : false
| | |
| arrow-parens | - "always"
| - "always"
| | |
| arrow-spacing | | - Object
- before : true
- after : true
| - Object
- before : true
- after : true
| |
| block-scoped-var | | | | |
| block-spacing | - "never"
| - "always"
| - "always"
| |
| brace-style | | - "1tbs"
- Object
| - "1tbs"
- Object
| |
| camelcase | - Object
| - Object
- properties : "never"
- ignoreDestructuring : false
| - Object
- allow :
- "^UNSAFE_"
- properties : "never"
- ignoreGlobals : true
| |
| capitalized-comments | | - "never"
- Object
- line : Object
- ignorePattern : ".*"
- ignoreInlineComments : true
- ignoreConsecutiveComments : true
- block : Object
- ignorePattern : ".*"
- ignoreInlineComments : true
- ignoreConsecutiveComments : true
| | |
| class-methods-use-this | | - Object
| | |
| comma-dangle | - "always-multiline"
| - Object
- arrays : "always-multiline"
- objects : "always-multiline"
- imports : "always-multiline"
- exports : "always-multiline"
- functions : "always-multiline"
| - Object
- arrays : "never"
- objects : "never"
- imports : "never"
- exports : "never"
- functions : "never"
| |
| comma-spacing | | - Object
- before : false
- after : true
| - Object
- before : false
- after : true
| |
| comma-style | | - "last"
- Object
- exceptions : Object
- ArrayExpression : false
- ArrayPattern : false
- ArrowFunctionExpression : false
- CallExpression : false
- FunctionDeclaration : false
- FunctionExpression : false
- ImportDeclaration : false
- ObjectExpression : false
- ObjectPattern : false
- VariableDeclaration : false
- NewExpression : false
| - "last"
| |
| complexity | | - 11
| | |
| computed-property-spacing | | - "never"
| - "never"
- Object
- enforceForClassMembers : true
| |
| consistent-return | | | | |
| consistent-this | | | | |
| constructor-super | | | | |
| curly | - "multi-line"
| - "multi-line"
| - "multi-line"
| |
| default-case | | - Object
- commentPattern : "^no default$"
| | |
| default-case-last | | | | |
| default-param-last | | | | |
| dot-location | | - "property"
| - "property"
| |
| dot-notation | | - Object
| - Object
| |
| eol-last | | - "always"
| | |
| eqeqeq | | - "always"
- Object
| - "always"
- Object
| |
| for-direction | | | | |
| func-call-spacing | | - "never"
| - "never"
| |
| func-name-matching | | - "always"
- Object
- includeCommonJSModuleExports : false
- considerPropertyDescriptor : true
| | |
| func-names | | | | |
| func-style | | - "expression"
| | |
| function-call-argument-newline | | - "consistent"
| | |
| function-paren-newline | | - "consistent"
| | |
| generator-star-spacing | - "after"
| - Object
- before : false
- after : true
| - Object
- before : true
- after : true
| |
| getter-return | | | | |
| grouped-accessor-pairs | | | | |
| guard-for-in | | | | |
| id-denylist | | | | |
| id-length | | | | |
| id-match | | | | |
| implicit-arrow-linebreak | | - "beside"
| | |
| indent | - 2
- Object
- CallExpression : Object
- FunctionDeclaration : Object
- FunctionExpression : Object
- MemberExpression : 2
- ObjectExpression : 1
- SwitchCase : 1
- ignoredNodes :
- "ConditionalExpression"
| - 2
- Object
- SwitchCase : 1
- VariableDeclarator : 1
- outerIIFEBody : 1
- FunctionDeclaration : Object
- FunctionExpression : Object
- CallExpression : Object
- ArrayExpression : 1
- ObjectExpression : 1
- ImportDeclaration : 1
- flatTernaryExpressions : false
- ignoredNodes :
- "JSXElement"
- "JSXElement > *"
- "JSXAttribute"
- "JSXIdentifier"
- "JSXNamespacedName"
- "JSXMemberExpression"
- "JSXSpreadAttribute"
- "JSXExpressionContainer"
- "JSXOpeningElement"
- "JSXClosingElement"
- "JSXFragment"
- "JSXOpeningFragment"
- "JSXClosingFragment"
- "JSXText"
- "JSXEmptyExpression"
- "JSXSpreadChild"
- ignoreComments : false
| - 2
- Object
- SwitchCase : 1
- VariableDeclarator : 1
- outerIIFEBody : 1
- MemberExpression : 1
- FunctionDeclaration : Object
- FunctionExpression : Object
- CallExpression : Object
- ArrayExpression : 1
- ObjectExpression : 1
- ImportDeclaration : 1
- flatTernaryExpressions : false
- ignoreComments : false
- ignoredNodes :
- "TemplateLiteral *"
- "JSXElement"
- "JSXElement > *"
- "JSXAttribute"
- "JSXIdentifier"
- "JSXNamespacedName"
- "JSXMemberExpression"
- "JSXSpreadAttribute"
- "JSXExpressionContainer"
- "JSXOpeningElement"
- "JSXClosingElement"
- "JSXFragment"
- "JSXOpeningFragment"
- "JSXClosingFragment"
- "JSXText"
- "JSXEmptyExpression"
- "JSXSpreadChild"
- offsetTernaryExpressions : true
| |
| init-declarations | | | | |
| jsx-quotes | | - "prefer-double"
| | |
| key-spacing | | - Object
- beforeColon : false
- afterColon : true
| - Object
- beforeColon : false
- afterColon : true
| |
| keyword-spacing | | - Object
- before : true
- after : true
- overrides : Object
- return : Object
- throw : Object
- case : Object
| - Object
- before : true
- after : true
| |
| line-comment-position | | - Object
- position : "above"
- ignorePattern : ""
- applyDefaultPatterns : true
| | |
| linebreak-style | | - "unix"
| | |
| lines-around-comment | | | | |
| lines-between-class-members | | - "always"
- Object
- exceptAfterSingleLine : false
| - "always"
- Object
- exceptAfterSingleLine : true
| |
| max-classes-per-file | | - 1
| | |
| max-depth | | - 4
| | |
| max-len | - Object
- code : 80
- tabWidth : 2
- ignoreUrls : true
- ignorePattern : "goog.(module|require)"
| - 100
- 2
- Object
- ignoreUrls : true
- ignoreComments : false
- ignoreRegExpLiterals : true
- ignoreStrings : true
- ignoreTemplateLiterals : true
| | |
| max-lines | | - Object
- max : 300
- skipBlankLines : true
- skipComments : true
| | |
| max-lines-per-function | | - Object
- max : 50
- skipBlankLines : true
- skipComments : true
- IIFEs : true
| | |
| max-nested-callbacks | | | | |
| max-params | | - 3
| | |
| max-statements | | - 10
| | |
| max-statements-per-line | | - Object
| | |
| multiline-comment-style | | - "starred-block"
| | |
| multiline-ternary | | - "never"
| - "always-multiline"
| |
| new-cap | | - Object
- newIsCap : true
- newIsCapExceptions :
- capIsNew : false
- capIsNewExceptions :
- "Immutable.Map"
- "Immutable.Set"
- "Immutable.List"
| - Object
- newIsCap : true
- capIsNew : false
- properties : true
| |
| new-parens | | | | |
| newline-per-chained-call | | - Object
| | |
| no-alert | | | | |
| no-array-constructor | | | | |
| no-async-promise-executor | | | | |
| no-await-in-loop | | | | |
| no-bitwise | | | | |
| no-caller | | | | |
| no-case-declarations | | | | |
| no-class-assign | | | | |
| no-compare-neg-zero | | | | |
| no-cond-assign | | | | |
| no-confusing-arrow | | - Object
| | |
| no-console | | | | |
| no-const-assign | | | | |
| no-constant-condition | | | - Object
| |
| no-constructor-return | | | | |
| no-continue | | | | |
| no-control-regex | | | | |
| no-debugger | | | | |
| no-delete-var | | | | |
| no-div-regex | | | | |
| no-dupe-args | | | | |
| no-dupe-class-members | | | | |
| no-dupe-else-if | | | | |
| no-dupe-keys | | | | |
| no-duplicate-case | | | | |
| no-duplicate-imports | | | | |
| no-else-return | | - Object
| | |
| no-empty | | | - Object
| |
| no-empty-character-class | | | | |
| no-empty-function | | - Object
- allow :
- "arrowFunctions"
- "functions"
- "methods"
| | |
| no-empty-pattern | | | | |
| no-eq-null | | | | |
| no-eval | | | | |
| no-ex-assign | | | | |
| no-extend-native | | | | |
| no-extra-bind | | | | |
| no-extra-boolean-cast | | | | |
| no-extra-label | | | | |
| no-extra-parens | | | - "functions"
| |
| no-extra-semi | | | | |
| no-fallthrough | | | | |
| no-floating-decimal | | | | |
| no-func-assign | | | | |
| no-global-assign | | - Object
| | |
| no-implicit-coercion | | - Object
- boolean : false
- number : true
- string : true
- allow :
| | |
| no-implicit-globals | | | | |
| no-implied-eval | | | | |
| no-import-assign | | | | |
| no-inline-comments | | | | |
| no-inner-declarations | | | | |
| no-invalid-regexp | | | | |
| no-invalid-this | | | | |
| no-irregular-whitespace | | | | |
| no-iterator | | | | |
| no-label-var | | | | |
| no-labels | | - Object
- allowLoop : false
- allowSwitch : false
| - Object
- allowLoop : false
- allowSwitch : false
| |
| no-lone-blocks | | | | |
| no-lonely-if | | | | |
| no-loop-func | | | | |
| no-loss-of-precision | | | | |
| no-magic-numbers | | - Object
- ignore :
- ignoreArrayIndexes : true
- enforceConst : true
- detectObjects : false
| | |
| no-misleading-character-class | | | | |
| no-mixed-operators | | - Object
- groups :
- "%"
- "**"
- "%"
- "+"
- "%"
- "-"
- "%"
- "*"
- "%"
- "/"
- "/"
- "*"
- "&"
- "|"
- "<<"
- ">>"
- ">>>"
- "=="
- "!="
- "==="
- "!=="
- "&&"
- "||"
- allowSamePrecedence : false
| - Object
- groups :
- "=="
- "!="
- "==="
- "!=="
- ">"
- ">="
- "<"
- "<="
- "&&"
- "||"
- "in"
- "instanceof"
- allowSamePrecedence : true
| |
| no-mixed-spaces-and-tabs | | | | |
| no-multi-assign | | | | |
| no-multi-spaces | | - Object
- ignoreEOLComments : false
| | |
| no-multi-str | | | | |
| no-multiple-empty-lines | - Object
| - Object
- max : 1
- maxBOF : 0
- maxEOF : 0
| - Object
| |
| no-negated-condition | | | | |
| no-nested-ternary | | | | |
| no-new | | | | |
| no-new-func | | | | |
| no-new-object | | | | |
| no-new-symbol | | | | |
| no-new-wrappers | | | | |
| no-nonoctal-decimal-escape | | | | |
| no-obj-calls | | | | |
| no-octal | | | | |
| no-octal-escape | | | | |
| no-param-reassign | | - Object
- props : true
- ignorePropertyModificationsFor :
- "acc"
- "accumulator"
- "e"
- "ctx"
- "context"
- "req"
- "request"
- "res"
- "response"
- "$scope"
- "staticContext"
| | |
| no-plusplus | | | | |
| no-promise-executor-return | | | | |
| no-proto | | | | |
| no-prototype-builtins | | | | |
| no-redeclare | | | - Object
| |
| no-regex-spaces | | | | |
| no-restricted-exports | | - Object
- restrictedNamedExports :
- "default"
- "then"
| | |
| no-restricted-globals | | | | |
| no-restricted-imports | | - Object
| | |
| no-restricted-properties | | - Object
- object : "arguments"
- property : "callee"
- message : "arguments.callee is deprecated"
- Object
- object : "global"
- property : "isFinite"
- message : "Please use Number.isFinite instead"
- Object
- object : "self"
- property : "isFinite"
- message : "Please use Number.isFinite instead"
- Object
- object : "window"
- property : "isFinite"
- message : "Please use Number.isFinite instead"
- Object
- object : "global"
- property : "isNaN"
- message : "Please use Number.isNaN instead"
- Object
- object : "self"
- property : "isNaN"
- message : "Please use Number.isNaN instead"
- Object
- object : "window"
- property : "isNaN"
- message : "Please use Number.isNaN instead"
- Object
- property : "__defineGetter__"
- message : "Please use Object.defineProperty instead."
- Object
- property : "__defineSetter__"
- message : "Please use Object.defineProperty instead."
- Object
- object : "Math"
- property : "pow"
- message : "Use the exponentiation operator (**) instead."
| | |
| no-restricted-syntax | | - Object
- selector : "ForInStatement"
- message : "for..in loops iterate over the entire prototype chain, which is virtually never what you want. Use Object.{keys,values,entries}, and iterate over the resulting array."
- Object
- selector : "ForOfStatement"
- message : "iterators/generators require regenerator-runtime, which is too heavyweight for this guide to allow them. Separately, loops should be avoided in favor of array iterations."
- Object
- selector : "LabeledStatement"
- message : "Labels are a form of GOTO; using them makes code confusing and hard to maintain and understand."
- Object
- selector : "WithStatement"
- message : "`with` is disallowed in strict mode because it makes code impossible to predict and optimize."
| | |
| no-return-assign | | - "always"
| - "except-parens"
| |
| no-return-await | | | | |
| no-script-url | | | | |
| no-self-assign | | - Object
| - Object
| |
| no-self-compare | | | | |
| no-sequences | | | | |
| no-setter-return | | | | |
| no-shadow | | | | |
| no-shadow-restricted-names | | | | |
| no-sparse-arrays | | | | |
| no-tabs | | | | |
| no-template-curly-in-string | | | | |
| no-ternary | | | | |
| no-this-before-super | | | | |
| no-throw-literal | | | | |
| no-trailing-spaces | | - Object
- skipBlankLines : false
- ignoreComments : false
| | |
| no-undef | | | | |
| no-undef-init | | | | |
| no-undefined | | | | |
| no-underscore-dangle | | - Object
- allow :
- allowAfterThis : false
- allowAfterSuper : false
- enforceInMethodNames : true
| | |
| no-unexpected-multiline | | | | |
| no-unmodified-loop-condition | | | | |
| no-unneeded-ternary | | - Object
- defaultAssignment : false
| - Object
- defaultAssignment : false
| |
| no-unreachable | | | | |
| no-unreachable-loop | | | | |
| no-unsafe-finally | | | | |
| no-unsafe-negation | | | | |
| no-unsafe-optional-chaining | | | | |
| no-unused-expressions | | - Object
- allowShortCircuit : false
- allowTernary : false
- allowTaggedTemplates : false
| - Object
- allowShortCircuit : true
- allowTernary : true
- allowTaggedTemplates : true
| |
| no-unused-labels | | | | |
| no-unused-vars | - Object
| | - Object
- args : "none"
- caughtErrors : "none"
- ignoreRestSiblings : true
- vars : "all"
| |
| no-use-before-define | | | - Object
- functions : false
- classes : false
- variables : false
| |
| no-useless-backreference | | | | |
| no-useless-call | | | | |
| no-useless-catch | | | | |
| no-useless-computed-key | | | | |
| no-useless-concat | | | | |
| no-useless-constructor | | | | |
| no-useless-escape | | | | |
| no-useless-rename | | - Object
- ignoreDestructuring : false
- ignoreImport : false
- ignoreExport : false
| | |
| no-useless-return | | | | |
| no-var | | | | |
| no-void | | | | |
| no-warning-comments | | - Object
- terms :
- "todo"
- "fixme"
- "xxx"
- location : "start"
| | |
| no-whitespace-before-property | | | | |
| no-with | | | | |
| nonblock-statement-body-position | | - "beside"
- Object
| | |
| object-curly-newline | | - Object
- ObjectExpression : Object
- minProperties : 4
- multiline : true
- consistent : true
- ObjectPattern : Object
- minProperties : 4
- multiline : true
- consistent : true
- ImportDeclaration : Object
- minProperties : 4
- multiline : true
- consistent : true
- ExportDeclaration : Object
- minProperties : 4
- multiline : true
- consistent : true
| - Object
- multiline : true
- consistent : true
| |
| object-curly-spacing | | - "always"
| - "always"
| |
| object-property-newline | | - Object
- allowAllPropertiesOnSameLine : true
| - Object
- allowMultiplePropertiesPerLine : true
| |
| object-shorthand | | - "always"
- Object
- ignoreConstructors : false
- avoidQuotes : true
| | |
| one-var | - Object
- var : "never"
- let : "never"
- const : "never"
| - "never"
| - Object
| |
| one-var-declaration-per-line | | - "always"
| | |
| operator-assignment | | - "always"
| | |
| operator-linebreak | - "after"
| - "before"
- Object
| - "after"
- Object
- overrides : Object
- ? : "before"
- : : "before"
- |> : "before"
| |
| padded-blocks | - "never"
| - Object
- blocks : "never"
- classes : "never"
- switches : "never"
- Object
- allowSingleLineBlocks : true
| - Object
- blocks : "never"
- switches : "never"
- classes : "never"
| |
| padding-line-between-statements | | | | |
| prefer-arrow-callback | | - Object
- allowNamedFunctions : false
- allowUnboundThis : true
| | |
| prefer-const | - Object
| - Object
- destructuring : "any"
- ignoreReadBeforeAssign : true
| - Object
| |
| prefer-destructuring | | - Object
- VariableDeclarator : Object
- array : false
- object : true
- AssignmentExpression : Object
- array : true
- object : false
- Object
- enforceForRenamedProperties : false
| | |
| prefer-exponentiation-operator | | | | |
| prefer-named-capture-group | | | | |
| prefer-numeric-literals | | | | |
| prefer-object-spread | | | | |
| prefer-promise-reject-errors | | - Object
| | |
| prefer-regex-literals | | | - Object
- disallowRedundantWrapping : true
| |
| prefer-rest-params | | | | |
| prefer-spread | | | | |
| prefer-template | | | | |
| quote-props | - "consistent"
| - "as-needed"
- Object
- keywords : false
- unnecessary : true
- numbers : false
| - "as-needed"
| |
| quotes | - "single"
- Object
- allowTemplateLiterals : true
| - "single"
- Object
| - "single"
- Object
- avoidEscape : true
- allowTemplateLiterals : false
| |
| radix | | | | |
| require-atomic-updates | | | | |
| require-await | | | | |
| require-unicode-regexp | | | | |
| require-yield | | | | |
| rest-spread-spacing | | - "never"
| - "never"
| |
| semi | | - "always"
| - "never"
| |
| semi-spacing | | - Object
- before : false
- after : true
| - Object
- before : false
- after : true
| |
| semi-style | | - "last"
| | |
| sort-imports | | - Object
- ignoreCase : false
- ignoreDeclarationSort : false
- ignoreMemberSort : false
- memberSyntaxSortOrder :
- "none"
- "all"
- "multiple"
- "single"
| | |
| sort-keys | | - "asc"
- Object
- caseSensitive : false
- natural : true
| | |
| sort-vars | | | | |
| space-before-blocks | | | - "always"
| |
| space-before-function-paren | - Object
- asyncArrow : "always"
- anonymous : "never"
- named : "never"
| - Object
- anonymous : "always"
- named : "never"
- asyncArrow : "always"
| - "always"
| |
| space-in-parens | | - "never"
| - "never"
| |
| space-infix-ops | | | | |
| space-unary-ops | | - Object
- words : true
- nonwords : false
- overrides : Object
| - Object
- words : true
- nonwords : false
| |
| spaced-comment | - "always"
| - "always"
- Object
- line : Object
- exceptions :
- "-"
- "+"
- markers :
- "="
- "!"
- "/"
- block : Object
- exceptions :
- "-"
- "+"
- markers :
- "="
- "!"
- ":"
- "::"
- balanced : true
| - "always"
- Object
- line : Object
- markers :
- "*package"
- "!"
- "/"
- ","
- "="
- block : Object
- balanced : true
- markers :
- "*package"
- "!"
- ","
- ":"
- "::"
- "flow-include"
- exceptions :
- "*"
| |
| strict | | | | |
| switch-colon-spacing | | - Object
- after : true
- before : false
| | |
| symbol-description | | | | |
| template-curly-spacing | | | - "never"
| |
| template-tag-spacing | | - "never"
| - "never"
| |
| unicode-bom | | - "never"
| - "never"
| |
| use-isnan | | | - Object
- enforceForSwitchCase : true
- enforceForIndexOf : true
| |
| valid-typeof | | | - Object
- requireStringLiterals : true
| |
| vars-on-top | | | | |
| wrap-iife | | - "outside"
- Object
- functionPrototypeMethods : false
| - "any"
- Object
- functionPrototypeMethods : true
| |
| wrap-regex | | | | |
| yield-star-spacing | - "after"
| - "after"
| - "both"
| |
| yoda | | | - "never"
| |