[lint] Update context for linting frontend files:
- Lint files when pushing on the _frontend_ branch. - Lint files when eslint or stylelint config files are updated. - Use _strict_ parsing of JS files by default. This should make the JS linting test to fail.
This commit is contained in:
parent
cbed5e331b
commit
27e47b0a35
2 changed files with 9 additions and 3 deletions
|
@ -6,5 +6,9 @@ module.exports = {
|
|||
"es6": true
|
||||
},
|
||||
|
||||
"extends": "eslint:recommended"
|
||||
"extends": "eslint:recommended",
|
||||
|
||||
"rules": {
|
||||
"strict": "error"
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue