Skip to content

Commit d4a43a0

Browse files
committed
chore: use shared config
1 parent ab966ce commit d4a43a0

File tree

6 files changed

+4
-63
lines changed

6 files changed

+4
-63
lines changed

.eslintrc

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,3 @@
11
{
2-
"parser": "@typescript-eslint/parser",
3-
"plugins": [
4-
"@typescript-eslint",
5-
"eslint-comments",
6-
"import",
7-
"prettier",
8-
"promise"
9-
],
10-
"extends": [
11-
"airbnb-base",
12-
"eslint:recommended",
13-
"prettier",
14-
"plugin:@typescript-eslint/recommended",
15-
"plugin:import/errors",
16-
"plugin:import/warnings",
17-
"plugin:promise/recommended",
18-
"plugin:prettier/recommended"
19-
],
20-
"env": {
21-
"es6": true,
22-
"node": true,
23-
"commonjs": true
24-
},
25-
"parserOptions": {
26-
"ecmaVersion": 2020,
27-
"sourceType": "module",
28-
"requireConfigFile": false
29-
},
30-
"rules": {
31-
"no-nested-ternary": 0,
32-
"import/extensions": 0,
33-
"import/no-unresolved": 0,
34-
"no-param-reassign": [2, { "props": false }],
35-
"@typescript-eslint/no-namespace": 0,
36-
"@typescript-eslint/no-explicit-any": 0,
37-
"@typescript-eslint/explicit-module-boundary-types": 0,
38-
"@typescript-eslint/no-non-null-assertion": 0
39-
}
2+
"extends": "@bubkoo/eslint-config"
403
}

.husky/commit-msg

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
3-
. "$(dirname "$0")/common.sh"
43

5-
yarn commitlint --edit "$1"
4+
npx @commitlint/cli --extends @bubkoo/commitlint-config --edit "$1"

.husky/common.sh

Lines changed: 0 additions & 1 deletion
This file was deleted.

.husky/pre-commit

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
3-
. "$(dirname "$0")/common.sh"
43

5-
yarn lint-staged
4+
npx lint-staged

.husky/prepare-commit-msg

Lines changed: 0 additions & 5 deletions
This file was deleted.

tsconfig.json

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,4 @@
11
{
2-
"compilerOptions": {
3-
"module": "commonjs",
4-
"moduleResolution": "node",
5-
"skipLibCheck": true,
6-
"esModuleInterop": true,
7-
"noImplicitAny": true,
8-
"noEmitOnError": true,
9-
"noUnusedLocals": true,
10-
"strictNullChecks": true,
11-
"resolveJsonModule": true,
12-
"experimentalDecorators": true,
13-
"outDir": "lib",
14-
"target": "es5",
15-
"lib": ["dom", "es2015"]
16-
},
2+
"extends": "@bubkoo/tsconfig",
173
"include": ["src/**/*.ts"]
184
}

0 commit comments

Comments
 (0)