-
Notifications
You must be signed in to change notification settings - Fork 27
/
.eslintrc.yml
32 lines (32 loc) · 956 Bytes
/
.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
root: true
extends:
- zakodium/ts
- zakodium/unicorn
- zakodium/react
rules:
'import/default': off
'import/no-unresolved': off
'react-refresh/only-export-components': off
'@typescript-eslint/no-explicit-any': off
'@typescript-eslint/naming-convention': off
'@typescript-eslint/no-implied-eval': off
'@typescript-eslint/no-misused-promises': off
'@typescript-eslint/restrict-plus-operands': off
'react/no-unstable-nested-components': off
no-restricted-imports:
- error
- name: lodash
message: "Use a deep import instead, like for example 'lodash/get'"
- name: '@simbathesailor/use-what-changed'
message: 'Remove use-what-changed before committing the code'
- name: openchemlib
message: "Use 'openchemlib/full'"
- name: react-ocl
message: "Use 'react-ocl/full"
react/no-unknown-property:
- error
- ignore:
- 'css'
'no-console': off
parserOptions:
sourceType: module