Created
August 31, 2019 17:42
-
-
Save EduardoRFS/0b24c2e7ed89b26b5fa2608d593fcf26 to your computer and use it in GitHub Desktop.
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
module.exports = { | |
parserOptions: { project: './tsconfig.json' }, | |
extends: [ | |
'airbnb-typescript/base', | |
'plugin:@typescript-eslint/recommended', | |
'plugin:@typescript-eslint/recommended-requiring-type-checking', | |
'plugin:prettier/recommended', | |
'prettier/@typescript-eslint', | |
], | |
rules: { | |
'@typescript-eslint/no-floating-promises': 'error', | |
'@typescript-eslint/explicit-function-return-type': 0, | |
'no-restricted-syntax': 0, | |
}, | |
overrides: [ | |
{ | |
files: ['**/__tests__/**/*.ts', '*.spec.ts'], | |
extends: ['plugin:jest/recommended'], | |
rules: { | |
'jest/valid-describe': 0, | |
'no-shadow': 0, | |
}, | |
}, | |
], | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment