зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1271709
- fix eslint-plugin-mozilla .eslintrc; r=pbro
testing/eslint-plugin-mozilla/lib/rules/.eslintrc used the obsolete "keyword-spacing" rule. This patch fixes that and changes the top-level .eslintignore so that local eslint rules are now checked. MozReview-Commit-ID: KjVLasvPKh7 --HG-- extra : transplant_source : %AB%A2g%9F%26%E4%892%29%5Bs%7E%11%A67%00v%A2I%CC
This commit is contained in:
Родитель
103addb3d4
Коммит
d448361566
|
@ -40,6 +40,8 @@ python/**
|
|||
rdf/**
|
||||
startupcache/**
|
||||
testing/**
|
||||
!testing/eslint-plugin-mozilla/
|
||||
testing/eslint-plugin-mozilla/node_modules/**
|
||||
tools/**
|
||||
uriloader/**
|
||||
view/**
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
"semi": [2, "always"],
|
||||
"space-before-blocks": 2,
|
||||
"space-before-function-paren": [2, "never"],
|
||||
"space-before-keywords": 2,
|
||||
"keyword-spacing": 2,
|
||||
"strict": [2, "global"],
|
||||
},
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче