-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(eslint): convert from json to js file format
- Loading branch information
Frazer Smith
committed
Jun 16, 2020
1 parent
99fe5be
commit a6e7f04
Showing
2 changed files
with
46 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
module.exports = { | ||
env: { | ||
es6: true, | ||
node: true | ||
}, | ||
extends: [ | ||
'airbnb-base', | ||
'plugin:promise/recommended', | ||
'plugin:jest/recommended', | ||
'plugin:jsdoc/recommended', | ||
'prettier' | ||
], | ||
parserOptions: { | ||
ecmaVersion: 2020, | ||
sourceType: 'module' | ||
}, | ||
plugins: ['import', 'jest', 'jsdoc', 'json', 'promise'], | ||
rules: { | ||
'import/no-extraneous-dependencies': [ | ||
'error', | ||
{ | ||
devDependencies: true | ||
} | ||
], | ||
'lines-between-class-members': 'error', | ||
'no-console': 'off', | ||
'no-multiple-empty-lines': [ | ||
'error', | ||
{ | ||
max: 1, | ||
maxBOF: 0, | ||
maxEOF: 0 | ||
} | ||
], | ||
'prefer-destructuring': 'off', | ||
'promise/always-return': 'off', | ||
'promise/catch-or-return': [ | ||
'error', | ||
{ | ||
allowThen: true | ||
} | ||
], | ||
'promise/prefer-await-to-then': 'warn', | ||
'promise/prefer-await-to-callbacks': 'warn' | ||
} | ||
}; |
This file was deleted.
Oops, something went wrong.