зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1210774 - Upgrade Loop's use of eslint (to 1.6.x) and eslint-plugin-react (to 3.5.x). r=Mardak NPOTB DONTBUILD
This commit is contained in:
Родитель
a2c41b67dc
Коммит
559e525ffd
|
@ -44,6 +44,7 @@
|
|||
"dot-location": [2, "property"],
|
||||
"eol-last": 2,
|
||||
"eqeqeq": [2, "smart"],
|
||||
"jsx-quotes": [2, "prefer-double"],
|
||||
"key-spacing": [2, {"beforeColon": false, "afterColon": true }],
|
||||
"linebreak-style": [2, "unix"],
|
||||
"new-cap": 0, // TODO: set to 2
|
||||
|
@ -106,7 +107,6 @@
|
|||
"yoda": [2, "never"],
|
||||
// eslint-plugin-react rules. These are documented at
|
||||
// <https://github.com/yannickcr/eslint-plugin-react#list-of-supported-rules>
|
||||
"react/jsx-quotes": [2, "double", "avoid-escape"],
|
||||
"react/jsx-no-undef": 2,
|
||||
"react/jsx-sort-props": 2,
|
||||
"react/jsx-sort-prop-types": 2,
|
||||
|
|
|
@ -13,9 +13,9 @@
|
|||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"compression": "1.5.x",
|
||||
"eslint": "1.2.x",
|
||||
"eslint": "1.6.x",
|
||||
"eslint-plugin-mozilla": "../../../../testing/eslint-plugin-mozilla",
|
||||
"eslint-plugin-react": "3.2.x",
|
||||
"eslint-plugin-react": "3.5.x",
|
||||
"exports-loader": "0.6.x",
|
||||
"express": "4.x",
|
||||
"imports-loader": "0.6.x",
|
||||
|
|
Загрузка…
Ссылка в новой задаче