“No-alert “: 0,// Disable the use of alert confirm prompt
“No-array-constructor “: 2,// Disallow array constructors
“No-bitwise “: 0,// disallow bitwise operators
“No-caller “: 1,// Stop using arguments.caller or arguments.callee
“No-catch-shadow “: 2,// Disallow catch clause arguments with the same name as external scope variables
“No-class-assign “: 2,// Disallow class assignment
“No-cond-assign “: 2,// Disallow assignment statements in conditional expressions
“No-console “: 2,// Disable console
“No-const-assign “: 2,// Disallows modifying variables declared by const
“No-constant-condition “: 2,// Disallow constant expression if(true) if(1)
“No-continue “: 0,// Disallow continue
“No-control-regex “: 2,// Disallow control characters in regular expressions
“No-debugger “: 2,// Disable debugger
“No-delete-var “: 2,// The delete operator cannot be used on variables declared by var
“No-div-regex “: 1,// can’t use regular expressions that look like division /=foo/
“No-dupe-keys “: 2,// Do not allow duplicate keys when creating object literals {a:1,a:1}
“No-dupe-args “: 2,// Function arguments cannot be repeated
“No-duplicate-case “: 2,// The case label in the switch cannot be duplicated
“No-else -return”: 2,// If there is a return in the if statement, it cannot be followed by an else statement
“No-empty “: 2,// The contents of the block statement cannot be empty
“No-empty-character-class “: 2,// The [] content in the regular expression cannot be empty
“No-empty-label “: 2,// Forbid empty label
“No-eq-null “: 2,// forbid null == or! = operator.
“No-eval “: 1,// Disallow eval
“No-ex-assign “: 2,// Disallow assigning exception parameters to catch statements
“No-extend-native “: 2,// Forbids extending native objects
“No-extra-bind “: 2,// disallow unnecessary function binding
“No-extra-boolea-cast “: 2,// disallow unnecessary bool conversions
“No-extra-parens “: 2,// disallow non-essential parentheses
“No-extra-semi “: 2,// disallow extra colons
“No-fallthrough “: 1,// Disable switch penetration
“No-floating-decimal “: 2,// disallows omitting 0.5 3 in floating point numbers.
“No-fun-assign “: 2,// Disallow duplicate function declarations
“No-implicit-coercion “: 1,// Forbid implicit conversion
“No-implied-eval “: 2,// Implicit eval is prohibited
“No-inline-comments “: 0,// disables inline remarks
“No-inner-declarations “: [2, “functions”],// Disallows declarations (variables or functions) in block statements
“No-invalid-regexp “: 2,// Disables invalid regular expressions
“No-invalid-this “: 2,// Disallows invalid this, only for constructors, classes, object literals
“No-mission-whitespace “: 2,// must not have irregular Spaces
“No-iterator “: 2,// disallow the __iterator__ attribute
“No-label-var “: 2,// The label name cannot be the same as the variable name declared by var
“No-labels “: 2,// disables label declarations
“No-lone-blocks “: 2,// Disallow unnecessary nesting blocks
“No-lonely-if “: 2,// disallow only if statements in else statements
“No-loop-func “: 1,// Disallow functions in loops (if no external variables are referenced and no closure is formed)
“No-mixed-requires “: [0, false],// Declarations cannot be mixed with declaration types
“No-mixed-spaces -and-tabs”: [2, false],// Forbid the use of tabs and Spaces
“Linebreak-style “: [0,” Windows “],// linebreak style
“No-multi-spaces “: 1,// Do not use extra Spaces
“No-multi-str “: 2,// string cannot use \ newline
“No – multiple – empty – lines” : [1, 2} {” Max “:], / / empty line up to not more than 2 lines
“No-native-reassign “: 2,// Native objects cannot be overwritten
“No-negated-in-lhs “: 2,// can’t have left side of in operator!
“No-nested-ternary “: 0,// Forbid the use of nested ternary operations
“No-new “: 1,// Disallows building an instance with new without assigning a value
“No-new-func “: 1,// Disallow new Function
“No-new-object “: 2,// Disallow new object ()
“No-new-require “: 2,// disallow new require
“No-new-wrappers “: 2,// Disallow wrapper instance creation using new, new String new Boolean new Number
“No-obj-calls “: 2,// Cannot call built-in global objects such as Math() JSON()
“No-octal “: 2,// Forbid octal digits
“No-octal-escape “: 2,// Disallow the use of octal escape sequences
“No-param-reassign “: 2,// Disallow reassignment of parameters
“No-path-concat “: 0,//node cannot use __dirname or __filename for path concatenation
“No-plusplus “: 0,// forbid ++, —
“No-process-env “: 0,// Process. env is disabled
“No-process-exit “: 0,// disallow process.exit()
“No-proto “: 2,// Disallow the __proto__ attribute
“No-redeclare “: 2,// Do not declare variables repeatedly
“No-regx-spaces “: 2,// Disallows multiple Spaces /foo bar/ in regular expression literals
“No-restricted-modules “: 0,// An error will be reported if the specified module is disabled
“No-return-assign “: 1,// Return statements cannot have assignment expressions
“No-script-url “: 0,// Disable javascript:void(0)
“No-self-compare “: 2,// can’t compare itself
“No-sequences “: 0,// prohibit comma operators
“No-shadow “: 2,// A variable in an external scope cannot have the same name as a variable or parameter in the scope it contains
“No-shadow-restricted-names “: 2,// Restricted identifiers specified in strict mode cannot be used as variable names for declaration
“No-spaced -func”: 2,// function calls cannot have Spaces between function names and ()
“No-sparse-arrays “: 2,// Disable sparse arrays, [1, 2]
“No-sync “: 0,//nodejs disables synchronization methods
“No-ternary “: 0,// Disallow the ternary operator
“No-trailing Spaces “: 1,// No Spaces after the end of a line
“No-this-before-super “: 0,// This or super cannot be used before super() is called
“No-throw-literal “: 2,// forbid throwing “error”;
“No-undef “: 1,// no undefined variables
“No-undef-init “: 2,// a variable cannot be initialized with undefined
“No-undefined “: 2,// undefined cannot be used
“No-unexpected -multiline”: 2,// Avoid multi-line expressions
“No-underscore -dangle”: 1,// identifiers cannot start or end with _
“No-unneeded -ternary”: 2,// disable unnecessary nesting var isYes = answer === 1? true : false;
“No-unreachable “: 2,// Can’t have code that can’t be executed
“No-unused-expressions “: 2,// Disallow unused expressions
“No – unused – vars” : [2, {” vars “:” all “, “args” : “after – 2}], / / can’t sound next unused variables or parameters
“No-use-before-define “: 2,// cannot be used before definition
“No-useless-call “: 2,// disallow unnecessary call and apply
“No-void “: 2,// disable the void operator
“No-var “: 0,// disable var, use let and const instead
“No – warning – comments:” [1, {” terms: “[” todo”, “fixme,” “XXX”], “location” : “start”}], / / can’t have a warning note
“No-with “: 2,// disable with
“Array-bracket -spacing”: [2, “never”],// Whether to allow extra Spaces in non-empty arrays
“Arrow-parens “: 0,// enclose the arrow functions in parentheses
“Arrow-spacing “: 0,//=> before/after parentheses
“Accessor-pairs “: 0,// use getters/setters in the object
“Block-scoped-var “: 0, var is used in // block statements
“Brace style”: [1, “1tbs”],// brace style
“Callback-return “: 1,// Avoid multiple callbacks
“Camelcase “: 2,// enforce camelcase naming
“Comma-dangle “: [2, “never”],// Object literals cannot end with commas
“Comma-spacing “: 0,// Spaces before and after commas
“Comma-style “: [2, “last”],// comma-style, start or end of a line
“Complexity “: [0, 11],// Cyclic complexity
“Computed -property-spacing”: [0, “never”],// Whether computed key names are allowed or not
“Consistent-return “: 0,// whether the return is allowed to be omitted
“Consistent-this “: [2, “that”],//this alias
“Constructor-super “: 0,// non-derived classes cannot call super, derived classes must call super
“Curly “: [2, “all”],// Must use {} in if(){}
“Default-case “: 2,// Switch statement must have default at the end
“Dot-location “: 0,// The location of the object accessor, at the beginning or end of a line break
“Dot-notation “: [0, {“allowKeywords”: true}],// Avoid unnecessary square brackets
“Eol-last “: 0,// the file ends with a single line break
“Eqeqeq “: 2,// congruence must be used
“Fun-names “: 0,// Function expressions must have names
“Fun-style “: [0, “declaration”],// function style, specifies that only function declarations/function expressions can be used
“Generator-star-spacing “: 0,// Spacing before and after generator function *
“Guard-for-in “: 0,// For in loops are filtered with if statements
“Handle-callback-err “: 0,//nodejs processing error
“Id-length “: 0,// Length of variable name
“Indent “: [2, 4],// Indent style
“Init-declarations “: 0,// initial values must be assigned when declared
“Key-spacing “: [0, {“beforeColon”: false, “afterColon”: true}],// Spacing before and after colons in object literals
“Lines-around-comment “: 0,// before/after the line
“Max-depth “: [0, 4],// Nesting block depth
“Max-len “: [0, 80, 4],// The maximum length of the string
“Max-nested-callbacks “: [0, 2],// Callback nesting depth
“Max-params “: [0, 3],// A function can have a maximum of 3 arguments
Max-statements: [0, 10],// There are at most several statements in the function
“New-cap “: 2,// Function names must be called with new uppercase, and must be called with no new lowercase
“New-parens “: 2,//new must be parentheses
“Newline-after-var “: 2,// Whether the variable declaration needs a blank line
“Object-curly -spacing”: [0, “never”],// Whether unnecessary Spaces are allowed in braces
“Object-shorthand “: 0,// Enforces the object literal abbreviation syntax
“One-var “: 1,// continuous declaration
“Operator – the assignment” : [0, “always”], / / assignment operator + = – =
“Operator-linebreak “: [2, “after”],// End of line or beginning of line newline
“Fix-blocks “: 0,// Whether the first and last lines of a block must be blank
“Prefer-const “: 0,// preferred const
“Prefer-spread “: 0,// preferred spread operation
“Prefer-reflect “: 0,// the preferred reflect method
“Quotes “: [1, “single”],// quotes type ‘”” “”
“Quote-props “:[2, “always”],// Whether double quotes are mandatory for attribute names in object literals
“Radix “: 2,//parseInt must specify a second parameter
“Id-match “: 0,// Name check
“Require-yield “: 0,// generator functions must have yield
“Semi “: [2, “always”],// statements enforce semicolon endings
“Semi – spacing” : [0, {” before “: false,” after “: true}], / / space before and after the semicolon
“Sort-vars “: 0,// Sort variables when declared
“Space-after-keywords “: [0, “always”],// Whether to leave a space after the keyword
“Space-before-blocks “: [0, “always”],// blocks that do not start with a new line {do not want Spaces before them
“Space-before-function-paren “: [0, “always”],// function definitions should be preceded by Spaces
“Space-in-parens “: [0, “never”],// Do you want Spaces in the parentheses
“Space-infix-ops “: 0,// Do you want Spaces around the infix operator
“Space-return-throw-case “: 2,//return throw case
“Space-unary -ops”: [0, {“words”: true, “nonwords”: false}],// unary operators before or after space
“Spaced -comment”: 0,// Does the comment style have Spaces
“Strict “: 2,// Use strict mode
“Use-isnan “: 2,// disallow NaN for comparison, only isnan ()
“Valid – jsdoc” : 0, / / jsdoc rules
“Valid-typeof “: 2,// Valid typeof values must be used
“Vars-on-top “: 2,//var must be placed at the top of the scope
“Wrap-iife “: [2, “inside”],// Execute function expressions immediately in parenthesis style
“Wrap-regex “: 0,// Regular expression literals are wrapped in parentheses
“Yoda “: [2, “never”]// Disables expression conditions