@sequencemedia/eslint-config-typescript 0.1.182 → 0.1.217

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/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/jsconfig.json CHANGED
@@ -1,5 +1 @@
1
- {
2
- "compilerOptions": {
3
- "baseUrl": "."
4
- }
5
- }
1
+ {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sequencemedia/eslint-config-typescript",
3
- "version": "0.1.182",
3
+ "version": "0.1.217",
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
54
  "@sequencemedia/eslint-merge": "^0.0.67",
55
- "@stylistic/eslint-plugin": "^5.6.1",
56
- "@typescript-eslint/eslint-plugin": "^8.48.0",
57
- "@typescript-eslint/parser": "^8.48.0",
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": "^17.23.1",
61
- "eslint-plugin-promise": "^7.2.1",
62
- "globals": "^16.5.0"
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.107",
65
+ "@sequencemedia/eslint-config-standard": "^0.2.125",
66
66
  "@types/chai": "^5.2.3",
67
67
  "@types/eslint": "^9.6.1",
68
68
  "@types/mocha": "^10.0.10",
69
- "chai": "^6.2.1",
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": "^11.7.5"
73
+ "mocha": "^12.0.0"
73
74
  },
74
75
  "peerDependencies": {
75
76
  "eslint": ">=9"
package/tsconfig.json CHANGED
@@ -6,7 +6,6 @@
6
6
  "checkJs": true,
7
7
  "noEmit": true,
8
8
  "strict": true,
9
- "isolatedModules": true,
10
- "baseUrl": "."
9
+ "isolatedModules": true
11
10
  }
12
11
  }