Add jest plugin to eslint

This commit is contained in:
Eric 2020-06-26 19:20:12 -05:00 committed by Eric Schultz
parent 6da2f37e48
commit f928072c12

View file

@ -16,6 +16,22 @@ module.exports = {
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
]
},
{
"files": ['**/*.spec.ts'],
parser: '@typescript-eslint/parser',
plugins: [
'@typescript-eslint',
'jest'
],
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:jest/all'
],
rules:{
"jest/lowercase-name": ["error", { "ignore": ["describe"]}]
}
}
],
"rules": {