no-await-in-loop 禁止在循環(huán)中出現(xiàn)?await
no-console 禁用?console
no-extra-parens 禁止不必要的括號
no-template-curly-in-string 禁止在常規(guī)字符串中出現(xiàn)模板字面量占位符語法
accessor-pairs 強制 getter 和 setter 在對象中成對出現(xiàn)
array-callback-return?強制數(shù)組方法的回調(diào)函數(shù)中有?return?語句
block-scoped-var 強制把變量的使用限制在其定義的作用域范圍內(nèi)
class-methods-use-this 強制類方法使用?this
complexity 指定程序中允許的最大環(huán)路復(fù)雜度
consistent-return 要求?return?語句要么總是指定返回的值,要么不指定
curly 強制所有控制語句使用一致的括號風(fēng)格
default-case 要求?switch?語句中有?default?分支
dot-location 強制在點號之前和之后一致的換行
dot-notation 強制盡可能地使用點號
eqeqeq 要求使用?===?和?!==
guard-for-in 要求?for-in?循環(huán)中有一個?if?語句
max-classes-per-file 強制每個文件中包含的的類的最大數(shù)量
no-alert?禁用?alert氧秘、confirm?和?prompt
no-caller?禁用?arguments.caller?或?arguments.callee
no-div-regex?禁止除法操作符顯式的出現(xiàn)在正則表達式開始的位置
no-else-return 禁止?if?語句中?return?語句之后有?else?塊
no-empty-function 禁止出現(xiàn)空函數(shù)
no-eq-null 禁止在沒有類型檢查操作符的情況下與?null?進行比較
no-eval 禁用?eval()
no-extend-native 禁止擴展原生類型
no-extra-bind 禁止不必要的?.bind()?調(diào)用
no-extra-label 禁用不必要的標簽
no-floating-decimal?禁止數(shù)字字面量中使用前導(dǎo)和末尾小數(shù)點
no-implicit-coercion 禁止使用短符號進行類型轉(zhuǎn)換
no-implicit-globals 禁止在全局范圍內(nèi)使用變量聲明和?function?聲明
no-implied-eval 禁止使用類似?eval()?的方法
no-invalid-this 禁止?this?關(guān)鍵字出現(xiàn)在類和類對象之外
no-iterator 禁用?__iterator__?屬性
no-labels?禁用標簽語句
no-lone-blocks 禁用不必要的嵌套塊
no-loop-func 禁止在循環(huán)語句中出現(xiàn)包含不安全引用的函數(shù)聲明
no-magic-numbers 禁用魔術(shù)數(shù)字
no-multi-spaces 禁止使用多個空格