forked from open-wc/open-wc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
28 lines (28 loc) · 848 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
module.exports = {
extends: ['./packages/eslint-config/index.js', require.resolve('eslint-config-prettier')],
rules: {
'lit/no-useless-template-literals': 'off',
'consistent-return': 'off',
'max-classes-per-file': 'off',
},
overrides: [
{
files: ['**/test-node/**/*.js', '**/test-web/**/*.js', '**/*.config.js'],
rules: {
'lit/no-invalid-html': 'off',
'lit/binding-positions': 'off',
'no-console': 'off',
'no-unused-expressions': 'off',
'class-methods-use-this': 'off',
'max-classes-per-file': 'off',
'import/no-extraneous-dependencies': 'off', // we moved all devDependencies to root
},
},
{
files: ['packages/eslint-plugin-lit-a11y/tests/**/*.js'],
rules: {
'no-template-curly-in-string': 'off',
},
},
],
};