-
Notifications
You must be signed in to change notification settings - Fork 217
/
.eslintrc.js
41 lines (39 loc) · 1.36 KB
/
.eslintrc.js
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
module.exports = {
extends: ['@pixi/eslint-config', 'plugin:prettier/recommended'],
rules: {
'prettier/prettier': [
'warn',
{
semi: true,
trailingComma: 'es5',
singleQuote: true,
printWidth: 180,
tabWidth: 4,
useTabs: false,
},
],
// special rules because most of this code is lifted from spine
// I would love to not have to do this, but I don't have the time nor the energy to fix the entire lib. Milton - 2023
eqeqeq: 0,
'@typescript-eslint/no-unused-vars': 0,
'@typescript-eslint/no-empty-function': 0,
'no-console': 0,
'@typescript-eslint/no-use-before-define': 0,
radix: 0,
'no-eq-null': 0,
'no-constant-condition': 0,
'no-prototype-builtins': 0,
camelcase: 0,
'@typescript-eslint/ban-ts-comment': 0,
'no-case-declarations': 0,
'@typescript-eslint/no-useless-constructor': 0,
'consistent-return': 0,
'no-loop-func': 0,
'@typescript-eslint/ban-types': 0,
'@typescript-eslint/no-empty-interface': 0,
'@typescript-eslint/adjacent-overload-signatures': 0,
'no-fallthrough': 0,
'@typescript-eslint/no-unused-expressions': 0,
'max-params': 0,
},
};