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:
Paul Irish 2016-08-26 18:06:46 -07:00 коммит произвёл Brendan Kenny
Родитель 186ce070b4
Коммит 5e42394835
4 изменённых файлов: 7 добавлений и 31 удалений

Просмотреть файл

@ -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",