Skip to content

Commit 8a0cbfb

Browse files
committed
fix vulnerabilities
1 parent d957a8a commit 8a0cbfb

14 files changed

+1790
-3646
lines changed

.eslintrc

+15-7
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,24 @@
22
"extends": ["airbnb-base", "plugin:@typescript-eslint/recommended"],
33
"rules": {
44
"no-tabs": "off",
5-
"@typescript-eslint/indent": ["error", 2],
6-
"max-len": [
5+
"arrow-body-style": "off",
6+
"comma-dangle": "off",
7+
"@typescript-eslint/no-var-requires": 0,
8+
"operator-linebreak": "off",
9+
"@typescript-eslint/no-explicit-any": 0,
10+
"@typescript-eslint/explicit-function-return-type": 0,
11+
"implicit-arrow-linebreak": "off",
12+
"@typescript-eslint/indent": 0,
13+
"import/extensions": [
714
"error",
15+
"ignorePackages",
816
{
9-
"code": 100
17+
"ts": "never",
18+
"js": "never",
19+
"mjs": "never",
20+
"jsx": "never"
1021
}
11-
],
12-
"arrow-body-style": "off",
13-
"comma-dangle": "off",
14-
"@typescript-eslint/no-var-requires": 0
22+
]
1523
},
1624
"settings": {
1725
"import/resolver": {

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
node_modules
22
dist
3-
*.log
3+
lib
4+
*.log

lib/compute-lines.d.ts

-52
This file was deleted.

lib/compute-lines.js

-216
This file was deleted.

0 commit comments

Comments
 (0)