-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.yml
43 lines (40 loc) · 1.17 KB
/
.eslintrc.yml
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
---
root: true
env:
browser: true
node: true
jest: true
parser: babel-eslint
extends:
- airbnb
- prettier
plugins:
- lodash-fp
- prettier
rules:
react/jsx-one-expression-per-line: off
linebreak-style: off
no-unused-vars: [error, argsIgnorePattern: "^_+$"]
react/jsx-filename-extension: off
react/jsx-indent: off # laten we over aan Prettier
lodash-fp/consistent-compose: error
lodash-fp/consistent-name: [error, _]
lodash-fp/no-argumentless-calls: error
lodash-fp/no-chain: error
lodash-fp/no-extraneous-args: error
lodash-fp/no-extraneous-function-wrapping: error
lodash-fp/no-extraneous-iteratee-args: error
lodash-fp/no-for-each: off # error
lodash-fp/no-partial-of-curried: error
lodash-fp/no-single-composition: error
lodash-fp/no-submodule-destructuring: error
lodash-fp/no-unused-result: error
lodash-fp/prefer-compact: error
lodash-fp/prefer-composition-grouping: error
lodash-fp/prefer-constant: [error, arrowFunctions: false]
lodash-fp/prefer-flat-map: error
lodash-fp/prefer-get: error
lodash-fp/prefer-identity: [error, arrowFunctions: false]
lodash-fp/preferred-alias: error
lodash-fp/use-fp: error
prettier/prettier: error