Skip to content

Commit 8643d53

Browse files
committed
chore: update deps and build
1 parent 15207fb commit 8643d53

File tree

5 files changed

+14572
-12089
lines changed

5 files changed

+14572
-12089
lines changed

.eslintignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
dist/
2+
lib/
3+
node_modules/

.eslintrc.json

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"plugins": ["jest", "@typescript-eslint"],
3+
"extends": ["sentry"],
4+
"parser": "@typescript-eslint/parser",
5+
"parserOptions": {
6+
"ecmaVersion": 9,
7+
"sourceType": "module",
8+
"project": "./tsconfig.json"
9+
},
10+
"rules": {
11+
"eslint-comments/no-use": "off",
12+
"import/no-namespace": "off",
13+
"no-unused-vars": "off",
14+
"@typescript-eslint/no-unused-vars": "error",
15+
"@typescript-eslint/explicit-member-accessibility": ["error", {"accessibility": "no-public"}],
16+
"@typescript-eslint/no-require-imports": "error",
17+
"@typescript-eslint/array-type": "error",
18+
"@typescript-eslint/await-thenable": "error",
19+
"@typescript-eslint/explicit-function-return-type": ["error", {"allowExpressions": true}],
20+
"@typescript-eslint/func-call-spacing": ["error", "never"],
21+
"@typescript-eslint/no-array-constructor": "error",
22+
"@typescript-eslint/no-empty-interface": "error",
23+
"@typescript-eslint/no-explicit-any": "off",
24+
"@typescript-eslint/no-extraneous-class": "error",
25+
"@typescript-eslint/no-for-in-array": "error",
26+
"@typescript-eslint/no-inferrable-types": "error",
27+
"@typescript-eslint/no-misused-new": "error",
28+
"@typescript-eslint/no-namespace": "error",
29+
"@typescript-eslint/no-non-null-assertion": "warn",
30+
"@typescript-eslint/no-unnecessary-qualifier": "error",
31+
"@typescript-eslint/no-unnecessary-type-assertion": "error",
32+
"@typescript-eslint/no-useless-constructor": "error",
33+
"@typescript-eslint/no-var-requires": "error",
34+
"@typescript-eslint/prefer-for-of": "warn",
35+
"@typescript-eslint/prefer-function-type": "warn",
36+
"@typescript-eslint/prefer-includes": "error",
37+
"@typescript-eslint/prefer-string-starts-ends-with": "error",
38+
"@typescript-eslint/promise-function-async": "error",
39+
"@typescript-eslint/require-array-sort-compare": "error",
40+
"@typescript-eslint/restrict-plus-operands": "error",
41+
"semi": "off",
42+
"@typescript-eslint/semi": ["off", "never"],
43+
"@typescript-eslint/type-annotation-spacing": "error",
44+
"@typescript-eslint/unbound-method": "error"
45+
},
46+
"env": {
47+
"node": true,
48+
"es6": true,
49+
"jest/globals": true
50+
}
51+
}

0 commit comments

Comments
 (0)