eslint: no longer ignore all of lighthouse-extension (#613)
* eslint: no longer ignore all of lighthouse-extension * lighthouse eslint can inherit from root.
This commit is contained in:
Родитель
186ce070b4
Коммит
5e42394835
|
@ -4,7 +4,9 @@
|
|||
**/node_modules/**
|
||||
**/third_party/**
|
||||
|
||||
lighthouse-extension/
|
||||
lighthouse-extension/dist
|
||||
lighthouse-extension/app/scripts
|
||||
|
||||
|
||||
**/closure/*/*
|
||||
coverage/**
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
}],
|
||||
"quotes": [2, "single"],
|
||||
"require-jsdoc": 0,
|
||||
"valid-jsdoc": 0
|
||||
"valid-jsdoc": 0,
|
||||
"comma-dangle": 0
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,35 +1,10 @@
|
|||
{
|
||||
"extends": "google",
|
||||
"extends": "../.eslintrc",
|
||||
"env": {
|
||||
"browser": true
|
||||
},
|
||||
"globals": {
|
||||
"chrome": true,
|
||||
"__lighthouse": true,
|
||||
},
|
||||
"rules": {
|
||||
"max-len": [2, 100, {
|
||||
"ignoreComments": true,
|
||||
"ignoreUrls": true,
|
||||
"tabWidth": 2
|
||||
}],
|
||||
"no-implicit-coercion": [2, {
|
||||
"boolean": false,
|
||||
"number": true,
|
||||
"string": true
|
||||
}],
|
||||
"no-unused-expressions": [2, {
|
||||
"allowShortCircuit": true,
|
||||
"allowTernary": false
|
||||
}],
|
||||
"no-unused-vars": [2, {
|
||||
"vars": "all",
|
||||
"args": "after-used",
|
||||
"argsIgnorePattern": "(^reject$|^_$)"
|
||||
}],
|
||||
"quotes": [2, "single"],
|
||||
"require-jsdoc": 0,
|
||||
"valid-jsdoc": 0,
|
||||
"comma-dangle": 0
|
||||
"__lighthouse": true
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,8 +12,6 @@
|
|||
"brfs": "^1.4.3",
|
||||
"browserify": "^13.0.0",
|
||||
"del": "^2.2.0",
|
||||
"eslint": "^2.4.0",
|
||||
"eslint-config-google": "^0.4.0",
|
||||
"gulp": "^3.9.1",
|
||||
"gulp-chrome-manifest": "0.0.13",
|
||||
"gulp-debug": "^2.1.2",
|
||||
|
|
Загрузка…
Ссылка в новой задаче