Use standard and prettier (#10)
* switch from custom eslint config to standard + prettier * fix new standard eslint violations * add editorconfig file * auto-fix all other violations * update lint yarn script * remove jshint comment
This commit is contained in:
13
.eslintrc.js
Normal file
13
.eslintrc.js
Normal file
@ -0,0 +1,13 @@
|
||||
module.exports = {
|
||||
extends: ['standard', 'eslint-config-prettier'],
|
||||
plugins: ['eslint-plugin-prettier'],
|
||||
rules: {
|
||||
'prettier/prettier': 'error',
|
||||
|
||||
// disable standard style-based rules, that's prettiers job
|
||||
'standard/computed-property-even-spacing': 'off',
|
||||
'node/no-deprecated-api': 'off',
|
||||
'standard/no-callback-literal': 'off',
|
||||
'handle-callback-err': 'off',
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user