updux/.eslintrc.cjs

27 lines
532 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-25 14:51:07 +00:00
overrides: [
],
rules: {
'todo-plz/ticket-ref': ['error', { pattern: 'GT[0-9]+' }],
'no-only-tests/no-only-tests': [
'error',
{
block: ['test'],
focus: ['only'],
},
],
},
settings: {
// ...
},
};