forked from lukeshay/yarn-berry-typescript-monorepo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js.yaml
49 lines (49 loc) · 1.12 KB
/
.eslintrc.js.yaml
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
env:
node: true
extends:
- eslint:recommended
- plugin:prettier/recommended
- plugin:node/recommended
- plugin:jest/recommended
plugins:
- prettier
- node
- jest
root: true
rules:
import/extensions: 'off'
import/prefer-default-export: 'off'
max-len: 'off'
curly: 'error'
object-curly-newline: 'off'
operator-linebreak: 'off'
prefer-arrow-callback: 'error'
prettier/prettier: 'error'
node/no-unsupported-features/es-syntax: 'off'
node/no-missing-import: 'off'
node/no-missing-require: 'off'
node/shebang: 'off'
no-param-reassign:
- error
- props: true
ignorePropertyModificationsFor:
- err # Error decoration
- obj # .reduce() object
- pkg # Package instance
- req
overrides:
- files:
- '**/__tests__/**'
- '**/__mocks__/**'
- '**/__helpers__/**'
- '**/*.js'
env:
jest: true
rules:
import/no-extraneous-dependencies: 'off'
no-console: 'off'
no-param-reassign: 'off'
node/no-extraneous-import: 'off'
node/no-extraneous-require: 'off'
node/no-unpublished-import: 'off'
strict: 'off'