-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.production.yml
43 lines (43 loc) · 1.08 KB
/
.eslintrc.production.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
extends:
- plugin:import/recommended
plugins:
- import
rules:
import/no-deprecated: error
import/no-empty-named-blocks: error
import/no-extraneous-dependencies: error
import/no-mutable-exports: error
import/no-named-as-default: error
import/no-named-as-default-member: error
import/no-unused-modules: error
import/no-amd: error
import/no-commonjs: error
import/no-absolute-path: error
import/no-cycle: error
import/no-dynamic-require: error
import/no-self-import: error
import/no-useless-path-segments: error
import/no-webpack-loader-syntax: error
import/consistent-type-specifier-style:
- error
- prefer-inline
import/exports-last: error
import/extensions:
- error
- ignorePackages # eslint-plugin-import does not understand named import
import/first: error
import/newline-after-import: error
import/no-anonymous-default-export: error
import/no-duplicates: error
import/no-namespace: error
import/no-unassigned-import: error
settings:
import/extensions:
- .cjs
- .mjs
- .js
- .jsx
- .cts
- .mts
- .ts
- .tsx