forked from BlockchainZoo/keyhub-vault
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.js
33 lines (27 loc) · 837 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
'use strict'
module.exports = {
extends: ['airbnb-base', 'plugin:prettier/recommended'],
plugins: ['prettier'],
parserOptions: {
ecmaVersion: 8,
sourceType: 'script',
},
rules: {
'prettier/prettier': 'warn',
semi: ['warn', 'never'],
'spaced-comment': ['warn', 'always'],
'comma-dangle': ['error', 'always-multiline'],
'func-names': 'off',
// 'object-curly-newline': [
// 'error', {
// ObjectExpression: { minProperties: 4, multiline: true, consistent: true },
// ObjectPattern: { minProperties: 8, multiline: true, consistent: true },
// ImportDeclaration: { minProperties: 8, multiline: true, consistent: true },
// ExportDeclaration: { minProperties: 4, multiline: true, consistent: true },
// }
// ],
},
env: {
jest: true,
},
}