@enormora/eslint-config-typescript 0.0.25 → 0.0.27

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.
Files changed (2) hide show
  1. package/package.json +4 -4
  2. package/typescript.js +11 -0
package/package.json CHANGED
@@ -4,8 +4,8 @@
4
4
  "Christian Rackerseder <github@echooff.de>"
5
5
  ],
6
6
  "dependencies": {
7
- "@typescript-eslint/eslint-plugin": "8.43.0",
8
- "@typescript-eslint/parser": "8.43.0",
7
+ "@typescript-eslint/eslint-plugin": "8.44.1",
8
+ "@typescript-eslint/parser": "8.44.1",
9
9
  "eslint-import-resolver-typescript": "4.4.4",
10
10
  "eslint-plugin-functional": "9.0.2",
11
11
  "eslint-plugin-import-x": "4.16.1",
@@ -16,12 +16,12 @@
16
16
  "main": "typescript.js",
17
17
  "name": "@enormora/eslint-config-typescript",
18
18
  "peerDependencies": {
19
- "@enormora/eslint-config-base": "0.0.23"
19
+ "@enormora/eslint-config-base": "0.0.24"
20
20
  },
21
21
  "repository": {
22
22
  "type": "git",
23
23
  "url": "git://github.com/enormora/eslint-config.git"
24
24
  },
25
25
  "type": "module",
26
- "version": "0.0.25"
26
+ "version": "0.0.27"
27
27
  }
package/typescript.js CHANGED
@@ -379,6 +379,17 @@ export const typescriptConfig = {
379
379
  ...configureWrappedCoreRule('consistent-return'),
380
380
  '@typescript-eslint/use-unknown-in-catch-callback-variable': 'error',
381
381
 
382
+ 'import/extensions': [
383
+ 'error',
384
+ {
385
+ ts: 'ignorePackages',
386
+ mts: 'ignorePackages',
387
+ cts: 'ignorePackages',
388
+ js: 'ignorePackages',
389
+ json: 'ignorePackages'
390
+ }
391
+ ],
392
+
382
393
  'perfectionist/sort-intersection-types': [
383
394
  'error',
384
395
  {