规则 | Rules 目录 accessor-pairs array-bracket-newline array-bracket-spacing array-callback-return array-element-newline arrow-body-style arrow-parens arrow-spacing block-scoped-var block-spacing brace-style callback-return camelcase capitalized-comments class-methods-use-this comma-dangle comma-spacing comma-style complexity computed-property-spacing consistent-return consistent-this constructor-super curly default-case dot-location dot-notation eol-last eqeqeq for-direction func-call-spacing func-name-matching func-names func-style function-paren-newline generator-star generator-star-spacing getter-return global-require global-strict guard-for-in handle-callback-err id-blacklist id-length id-match implicit-arrow-linebreak indent indent-legacy init-declarations jsx-quotes key-spacing keyword-spacing line-comment-position linebreak-style lines-around-comment lines-around-directive lines-between-class-members max-depth max-len max-lines max-nested-callbacks max-params max-statements max-statements-per-line multiline-comment-style multiline-ternary new-cap new-parens newline-after-var newline-before-return newline-per-chained-call no-alert no-array-constructor no-arrow-condition no-await-in-loop no-bitwise no-buffer-constructor no-caller no-case-declarations no-catch-shadow no-class-assign no-comma-dangle no-compare-neg-zero no-cond-assign no-confusing-arrow no-console no-const-assign no-constant-condition no-continue no-control-regex no-debugger no-delete-var no-div-regex no-dupe-args no-dupe-class-members no-dupe-keys no-duplicate-case no-duplicate-imports no-else-return no-empty no-empty-character-class no-empty-class no-empty-function no-empty-label 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 no-extra-semi no-extra-strict no-fallthrough no-floating-decimal no-func-assign no-global-assign no-implicit-coercion no-implicit-globals no-implied-eval no-inline-comments no-inner-declarations no-invalid-regexp no-invalid-this no-irregular-whitespace no-iterator no-label-var no-labels no-lone-blocks no-lonely-if no-loop-func no-magic-numbers no-mixed-operators no-mixed-requires no-mixed-spaces-and-tabs no-multi-assign no-multi-spaces no-multi-str no-multiple-empty-lines no-native-reassign no-negated-condition no-negated-in-lhs no-nested-ternary no-new no-new-func no-new-object no-new-require no-new-symbol no-new-wrappers no-obj-calls no-octal no-octal-escape no-param-reassign no-path-concat no-plusplus no-process-env no-process-exit no-proto no-prototype-builtins no-redeclare no-regex-spaces no-reserved-keys no-restricted-globals no-restricted-imports no-restricted-modules no-restricted-properties no-restricted-syntax no-return-assign no-return-await no-script-url no-self-assign no-self-compare no-sequences no-shadow no-shadow-restricted-names no-space-before-semi no-spaced-func no-sparse-arrays no-sync no-tabs no-template-curly-in-string no-ternary no-this-before-super no-throw-literal no-trailing-spaces no-undef no-undef-init no-undefined no-underscore-dangle no-unexpected-multiline no-unmodified-loop-condition no-unneeded-ternary no-unreachable no-unsafe-finally no-unsafe-negation no-unused-expressions no-unused-labels no-unused-vars no-use-before-define no-useless-call no-useless-computed-key no-useless-concat no-useless-constructor no-useless-escape no-useless-rename no-useless-return no-var no-void no-warning-comments no-whitespace-before-property no-with no-wrap-func nonblock-statement-body-position object-curly-newline object-curly-spacing object-property-newline object-shorthand one-var one-var-declaration-per-line operator-assignment operator-linebreak padded-blocks padding-line-between-statements prefer-arrow-callback prefer-const prefer-destructuring prefer-numeric-literals prefer-promise-reject-errors prefer-reflect prefer-rest-params prefer-spread prefer-template quote-props quotes radix require-await require-jsdoc require-yield rest-spread-spacing Rules semi semi-spacing semi-style sort-imports sort-keys sort-vars space-after-function-name space-after-keywords space-before-blocks space-before-function-paren space-before-function-parentheses space-before-keywords space-in-brackets space-in-parens space-infix-ops space-return-throw-case space-unary-ops space-unary-word-ops spaced-comment spaced-line-comment strict switch-colon-spacing symbol-description template-curly-spacing template-tag-spacing unicode-bom use-isnan valid-jsdoc valid-typeof vars-on-top wrap-iife wrap-regex yield-star-spacing yoda