forked from import-js/eslint-plugin-import
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yml
47 lines (41 loc) · 1012 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---
plugins:
- eslint-plugin
- import
extends:
- eslint:recommended
- plugin:eslint-plugin/recommended
- plugin:import/recommended
env:
node: true
es6: true
parserOptions:
sourceType: module
ecmaVersion: 6
rules:
max-len: [1, 99, 2]
semi: [2, "never"]
curly: [2, "multi-line"]
comma-dangle: [2, always-multiline]
eqeqeq: [2, "allow-null"]
no-shadow: 1
quotes:
- 2
- single
- allowTemplateLiterals: true
avoidEscape: true
eslint-plugin/consistent-output: ["error", "always"]
eslint-plugin/meta-property-ordering: "error"
eslint-plugin/no-deprecated-context-methods: "error"
eslint-plugin/no-deprecated-report-api: "off"
eslint-plugin/prefer-replace-text: "error"
eslint-plugin/report-message-format: "error"
eslint-plugin/require-meta-schema: "error"
eslint-plugin/require-meta-type: "error"
# dog fooding
import/no-extraneous-dependencies: "error"
import/unambiguous: "off"
settings:
import/resolver:
node:
paths: [ src ]