@sequencemedia/eslint-config-typescript 0.1.181 → 0.1.216
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/configs/recommended.mjs +1 -2
- package/husky.mjs +16 -0
- package/index.mjs +1 -2
- package/jsconfig.json +1 -5
- package/package.json +13 -12
- package/tsconfig.json +1 -2
package/configs/recommended.mjs
CHANGED
package/husky.mjs
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
// @ts-ignore
|
|
4
|
+
Promise.resolve(import('husky'))
|
|
5
|
+
.then(({ default: husky }) => { husky() })
|
|
6
|
+
.catch((e) => {
|
|
7
|
+
if (e instanceof Error) {
|
|
8
|
+
if ('code' in e) {
|
|
9
|
+
const { code } = e
|
|
10
|
+
if (code === 'ERR_MODULE_NOT_FOUND') return
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
const { message } = e
|
|
14
|
+
if (message) console.error(`💥 ${message}`)
|
|
15
|
+
}
|
|
16
|
+
})
|
package/index.mjs
CHANGED
package/jsconfig.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sequencemedia/eslint-config-typescript",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.216",
|
|
4
4
|
"description": "TypeScript configuration for ESLint 9",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"JavaScript TypeScript Style",
|
|
@@ -47,29 +47,30 @@
|
|
|
47
47
|
"scripts": {
|
|
48
48
|
"lint": "eslint .",
|
|
49
49
|
"lint:fix": "npm run lint -- --fix",
|
|
50
|
-
"prepare": "husky",
|
|
50
|
+
"prepare": "node husky.mjs",
|
|
51
51
|
"test": "mocha test --recursive --verbose --color"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@sequencemedia/eslint-merge": "^0.0.
|
|
55
|
-
"@stylistic/eslint-plugin": "^5.
|
|
56
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
57
|
-
"@typescript-eslint/parser": "^8.
|
|
54
|
+
"@sequencemedia/eslint-merge": "^0.0.67",
|
|
55
|
+
"@stylistic/eslint-plugin": "^5.10.0",
|
|
56
|
+
"@typescript-eslint/eslint-plugin": "^8.69.0",
|
|
57
|
+
"@typescript-eslint/parser": "^8.69.0",
|
|
58
58
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
59
59
|
"eslint-plugin-import": "^2.32.0",
|
|
60
|
-
"eslint-plugin-n": "^
|
|
61
|
-
"eslint-plugin-promise": "^7.
|
|
62
|
-
"globals": "^
|
|
60
|
+
"eslint-plugin-n": "^18.3.0",
|
|
61
|
+
"eslint-plugin-promise": "^7.3.0",
|
|
62
|
+
"globals": "^17.12.0"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@sequencemedia/eslint-config-standard": "^0.2.
|
|
65
|
+
"@sequencemedia/eslint-config-standard": "^0.2.107",
|
|
66
66
|
"@types/chai": "^5.2.3",
|
|
67
67
|
"@types/eslint": "^9.6.1",
|
|
68
68
|
"@types/mocha": "^10.0.10",
|
|
69
|
-
"
|
|
69
|
+
"@typescript-eslint/types": "^8.69.0",
|
|
70
|
+
"chai": "^6.2.2",
|
|
70
71
|
"eslint": "9.38.0",
|
|
71
72
|
"husky": "^9.1.7",
|
|
72
|
-
"mocha": "^
|
|
73
|
+
"mocha": "^12.0.0"
|
|
73
74
|
},
|
|
74
75
|
"peerDependencies": {
|
|
75
76
|
"eslint": ">=9"
|