forked from Swyftx/crypto-address-validator
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.eslintrc.yml
More file actions
43 lines (35 loc) · 817 Bytes
/
.eslintrc.yml
File metadata and controls
43 lines (35 loc) · 817 Bytes
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
---
ignorePatterns:
- '*.d.ts'
- 'dist'
- 'rollup.config.ts'
env:
browser: true
extends:
- plugin:prettier/recommended
parser: '@typescript-eslint/parser'
parserOptions:
project: './tsconfig.json'
sourceType: module
settings:
import/internal-regex: ^@ramp-instant/
plugins:
- eslint-plugin-import
- simple-import-sort
- eslint-plugin-prettier
rules:
arrow-parens:
- off
- always
comma-dangle: 0
no-empty: error
import/no-extraneous-dependencies: error
no-restricted-imports:
- error
- patterns:
- '../*' # forbid parent-relative imports
simple-import-sort/imports:
- error
- groups: # see https://github.com/lydell/eslint-plugin-simple-import-sort#custom-grouping
- ["^@?\\w"] # regular npm packages
- ["^\\."] # sibling files