forked from Live2D/CubismWebFramework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yml
31 lines (31 loc) · 882 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
extends:
- eslint:recommended
- plugin:@typescript-eslint/eslint-recommended
- plugin:@typescript-eslint/recommended
- plugin:@typescript-eslint/recommended-requiring-type-checking
- plugin:prettier/recommended
- prettier/@typescript-eslint
plugins:
- '@typescript-eslint'
parser: '@typescript-eslint/parser'
parserOptions:
sourceType: module
ecmaVersion: 2020
project: ./tsconfig.json
rules:
prettier/prettier:
- error
- singleQuote: true
'@typescript-eslint/camelcase': warn
'@typescript-eslint/no-use-before-define': off
no-empty-function: off
'@typescript-eslint/no-empty-function':
- error
- allow:
- constructors
'@typescript-eslint/no-namespace': warn
'no-fallthrough': warn
'@typescript-eslint/unbound-method': off
'no-inner-declarations': off
'@typescript-eslint/class-name-casing': warn
'prefer-const': warn