forked from bitcoin-black-bcb/bcbWallet
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.eslintrc.js
More file actions
34 lines (34 loc) · 758 Bytes
/
.eslintrc.js
File metadata and controls
34 lines (34 loc) · 758 Bytes
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
module.exports = {
root: true,
parser: 'babel-eslint',
parserOptions: {
ecmaVersion: 2019,
sourceType: 'module',
},
plugins: [
'babel',
'hbs',
],
extends: [
'plugin:ember/recommended',
'plugin:ember-suave/recommended',
'airbnb-base',
'plugin:security/recommended',
],
env: {
browser: true,
},
rules: {
'class-methods-use-this': 'off',
'import/extensions': 'off',
'import/no-extraneous-dependencies': 'off',
'import/no-unresolved': 'off',
'hbs/check-hbs-template-literals': 'error',
'ember-suave/no-const-outside-module-scope': 'off',
'generator-star-spacing': ['error', {
before: false,
after: true,
method: { before: true, after: true },
}]
},
};