forked from mirrors/bookwyrm
27e47b0a35
- 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.
14 lines
194 B
JavaScript
14 lines
194 B
JavaScript
/* global module */
|
|
|
|
module.exports = {
|
|
"env": {
|
|
"browser": true,
|
|
"es6": true
|
|
},
|
|
|
|
"extends": "eslint:recommended",
|
|
|
|
"rules": {
|
|
"strict": "error"
|
|
}
|
|
};
|