2019-04-04 11:36:41 +08:00
|
|
|
env:
|
|
|
|
node: true
|
|
|
|
es6: true
|
|
|
|
|
2017-11-09 22:28:25 +08:00
|
|
|
rules:
|
2019-05-08 12:28:37 +08:00
|
|
|
camelcase:
|
|
|
|
- error
|
|
|
|
- properties: 'never'
|
|
|
|
ignoreDestructuring: true
|
|
|
|
allow: ['child_process']
|
2019-03-02 14:47:58 +08:00
|
|
|
comma-dangle:
|
|
|
|
- error
|
|
|
|
- arrays: 'always-multiline'
|
|
|
|
objects: 'only-multiline'
|
|
|
|
imports: 'only-multiline'
|
|
|
|
exports: 'only-multiline'
|
2017-11-09 22:28:25 +08:00
|
|
|
no-unused-vars: [error, { args: 'after-used' }]
|
2019-03-02 14:47:58 +08:00
|
|
|
prefer-arrow-callback: error
|
2019-03-06 11:21:50 +08:00
|
|
|
no-var: error
|