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:
Spencer
2019-07-09 13:24:13 -07:00
committed by GitHub
parent f69840c50f
commit 7c1573fb07
119 changed files with 4506 additions and 3521 deletions

13
.eslintrc.js Normal file
View 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',
},
};