-
Notifications
You must be signed in to change notification settings - Fork 21
/
.eslintrc.js
63 lines (61 loc) · 1.81 KB
/
.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
module.exports = {
root: true,
extends: [
'@underline/eslint-config-ember-typescript',
'plugin:ember/recommended'
],
rules: {
'@typescript-eslint/no-empty-interface': 'off',
'ember/no-empty-glimmer-component-classes': 'off',
'ember/no-runloop': 'off'
},
overrides: [
{
files: ['packages/**/tests/**/*.ts', '**/*.gts'],
rules: {
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-useless-constructor': 'off',
'lines-between-class-members': 'off'
}
},
// node files
{
files: [
'.eslintrc.js',
'.prettierrc.js',
'.template-lintrc.js',
'testem.js',
'config/**/*.js',
'packages/*/babel.config.js',
'packages/*/addon-main.js',
'packages/*/.ember-cli.js',
'packages/*/ember-cli-build.js',
'packages/*/index.js',
'packages/*/testem.js',
'packages/*/blueprints/*/index.js',
'packages/*/config/**/*.js',
'packages/*/tests/dummy/config/**/*.js',
'packages/**/tailwind.config.js',
'packages/**/tailwind/*.js',
'packages/tailwindcss-plugin-helpers/**/*.js',
'site/ember-cli-build.js',
'site/testem.js',
'site/config/**/*.js',
'site/tests/dummy/config/**/*.js',
'site/**/tailwind.config.js',
'site/.docfy-config.js',
'site/lib/*.js',
'test-app/ember-cli-build.js',
'test-app/testem.js',
'test-app/config/**/*.js',
'test-app/tests/dummy/config/**/*.js',
'test-app/tailwind.config.js',
'test-app/.docfy-config.js',
'test-app/lib/docfy-theme/*.js'
],
extends: ['@underline/eslint-config-node'],
rules: {}
}
]
};