* 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
14 lines
395 B
JavaScript
14 lines
395 B
JavaScript
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',
|
|
},
|
|
};
|