@monholm/eslint-config 1.0.1 → 2.0.1

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.
@@ -0,0 +1,2 @@
1
+ declare const _default: import("eslint/config").Config[];
2
+ export default _default;
package/dist/index.js ADDED
@@ -0,0 +1,4 @@
1
+ import eslint from '@eslint/js';
2
+ import tseslint from 'typescript-eslint';
3
+ import { defineConfig } from 'eslint/config';
4
+ export default defineConfig(eslint.configs.recommended, tseslint.configs.strictTypeChecked, tseslint.configs.stylisticTypeChecked);
package/package.json CHANGED
@@ -5,30 +5,32 @@
5
5
  "url": "git+https://github.com/monholm/mono-repo.git",
6
6
  "directory": "packages/eslint-config"
7
7
  },
8
- "exports": "./dist/index.mjs",
9
- "types": "./dist/index.d.mts",
8
+ "type": "module",
9
+ "exports": "./dist/index.js",
10
+ "types": "./dist/index.d.ts",
10
11
  "files": [
11
12
  "dist"
12
13
  ],
13
- "scripts": {
14
- "build": "tsc -p tsconfig.build.json",
15
- "check": "tsc",
16
- "format-check": "prettier . --check --cache-location=_unused",
17
- "format": "prettier . --write --cache-location=_unused"
18
- },
19
- "dependencies": {
20
- "@eslint/js": ">= 9.0.0"
21
- },
22
14
  "peerDependencies": {
23
- "eslint": ">= 9.0.0",
24
- "typescript": "*",
25
- "typescript-eslint": ">= 8.0.0"
15
+ "eslint": ">= 9.22.0",
16
+ "typescript": ">= 5.8.0",
17
+ "typescript-eslint": ">= 8.0.0",
18
+ "@eslint/js": ">= 9.22.0"
26
19
  },
27
20
  "devDependencies": {
28
- "@monholm/prettier-config": "1.0.1",
29
- "@monholm/tsconfig": "2.0.0",
21
+ "eslint": "9.39.1",
22
+ "@eslint/js": "9.39.1",
23
+ "typescript-eslint": "8.47.0",
30
24
  "prettier": "3.6.2",
31
- "typescript": "5.9.2"
25
+ "typescript": "5.9.3",
26
+ "@monholm/prettier-config": "2.0.0",
27
+ "@monholm/tsconfig": "2.0.1"
32
28
  },
33
- "version": "1.0.1"
29
+ "version": "2.0.1",
30
+ "scripts": {
31
+ "build": "tsc -p tsconfig.build.json",
32
+ "check": "tsc",
33
+ "format-check": "prettier . --check --cache-location=_unused",
34
+ "format": "prettier . --write --cache-location=_unused"
35
+ }
34
36
  }
package/dist/index.d.mts DELETED
@@ -1,2 +0,0 @@
1
- declare const _default: import("@typescript-eslint/utils/dist/ts-eslint").FlatConfig.ConfigArray;
2
- export default _default;
package/dist/index.mjs DELETED
@@ -1,4 +0,0 @@
1
- "use strict";
2
- import eslint from '@eslint/js';
3
- import tseslint from 'typescript-eslint';
4
- export default tseslint.config(eslint.configs.recommended, tseslint.configs.strictTypeChecked, tseslint.configs.stylisticTypeChecked);