forked from canonical/charming-actions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yml
41 lines (41 loc) · 797 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
env:
browser: true
commonjs: true
es2021: true
jest/globals: true
extends:
- airbnb-base
- airbnb-typescript/base
- prettier
parser: '@typescript-eslint/parser'
parserOptions:
project:
- tsconfig.json
ecmaVersion: latest
rules:
no-underscore-dangle: 0
class-methods-use-this: 0
import/prefer-default-export: 0
import/extensions:
- error
- ignorePackages
- js: 'never'
ts: 'never'
dot-notation: off
'@typescript-eslint/no-floating-promises':
- 'error'
'@typescript-eslint/dot-notation':
- 'error'
'@typescript-eslint/lines-between-class-members':
- error
- always
- exceptAfterSingleLine: true
settings:
import/resolver:
node:
extensions:
- .ts
- .js
plugins:
- jest
- '@typescript-eslint'