Skip to content

Instantly share code, notes, and snippets.

@EduardoRFS
Created August 31, 2019 17:42
Show Gist options
  • Save EduardoRFS/0b24c2e7ed89b26b5fa2608d593fcf26 to your computer and use it in GitHub Desktop.
Save EduardoRFS/0b24c2e7ed89b26b5fa2608d593fcf26 to your computer and use it in GitHub Desktop.
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