-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy path.eslintrc.js
40 lines (40 loc) · 828 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
29
30
31
32
33
34
35
36
37
38
39
40
module.exports = {
root: true,
parser: '@babel/eslint-parser',
parserOptions: {
requireConfigFile: false,
ecmaVersion: '2018',
sourceType: 'module',
ecmaFeatures: {
legacyDecorators: true
}
},
plugins: ['ember'],
extends: ['eslint:recommended', 'plugin:ember/recommended', 'standard'],
env: {
browser: true
},
rules: {},
overrides: [
// node files
{
files: [
'index.js',
'testem.js',
'ember-cli-build.js',
'blueprints/*.js',
'config/**/*.js',
'tests/dummy/config/**/*.js'
],
excludedFiles: ['app/**', 'addon/**', 'tests/dummy/app/**'],
parserOptions: {
sourceType: 'script',
ecmaVersion: 'latest'
},
env: {
browser: false,
node: true
}
}
]
}