forked from michalkvasnicak/aws-lambda-graphql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
30 lines (30 loc) · 767 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
module.exports = {
env: {
jest: true,
browser: true,
},
extends: [
'airbnb-typescript',
'prettier',
'prettier/react',
'prettier/@typescript-eslint',
],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint', 'prettier'],
rules: {
'class-methods-use-this': 'off',
'import/prefer-default-export': 'off',
'import/no-unresolved': 'off',
'import/no-extraneous-dependencies': 'off',
'max-classes-per-file': 'off',
'new-cap': 'off',
'no-await-in-loop': 'off',
'no-continue': 'off',
'no-nested-ternary': 'off',
'no-plusplus': 'off',
'no-restricted-syntax': 'off',
'prettier/prettier': 'error',
'react/jsx-props-no-spreading': 'off',
'react/prop-types': 'off',
},
};