updux/.eslintrc.cjs

27 lines
560 B
JavaScript
Raw Normal View History

2022-08-25 14:51:07 +00:00
module.exports = {
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
env: {
es6: true,
browser: true,
},
2022-08-25 23:43:07 +00:00
plugins: ['todo-plz', 'no-only-tests'],
2022-08-28 16:47:24 +00:00
overrides: [],
2022-08-25 14:51:07 +00:00
rules: {
2022-08-28 16:47:24 +00:00
'no-console': ['error'],
2022-08-25 14:51:07 +00:00
'todo-plz/ticket-ref': ['error', { pattern: 'GT[0-9]+' }],
'no-only-tests/no-only-tests': [
'error',
{
block: ['test'],
focus: ['only'],
},
],
},
settings: {
// ...
},
};