@vllnt/eslint-config 2.0.0 → 2.1.0-canary.e107250

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/README.md CHANGED
@@ -43,7 +43,10 @@ import { nextjs } from "@vllnt/eslint-config/nextjs";
43
43
  export default [...nextjs];
44
44
  ```
45
45
 
46
- Each preset is an array — spread it into your flat config. All presets include `projectService: true` for type-aware linting.
46
+ Each preset is an array — spread it into your flat config. Base and its React,
47
+ Next.js, and Node.js variants enable `projectService: true` for type-aware linting.
48
+ Convex also enables it; Turbo and Boundaries are opt-in additions, not replacements
49
+ for a language preset.
47
50
 
48
51
  ## Presets
49
52
 
@@ -87,7 +90,7 @@ export default [
87
90
 
88
91
  ## What's included
89
92
 
90
- ### Base (all presets)
93
+ ### Base (also included by React, Next.js, and Node.js)
91
94
 
92
95
  | Plugin | What it does |
93
96
  | ------------------------------------------------------------------------------------------------- | -------------------------------------------- |
@@ -238,6 +241,20 @@ Add to `.vscode/settings.json` for monorepo support:
238
241
  }
239
242
  ```
240
243
 
244
+ ## Documentation and support
245
+
246
+ - [LLM index](llms.txt) · [Changelog](CHANGELOG.md)
247
+ - [Contributing](CONTRIBUTING.md) · [Issues](https://github.com/vllnt/eslint-config/issues)
248
+ - [Security policy and private vulnerability reporting](SECURITY.md)
249
+
250
+ npm `latest` is stable `2.0.0` at this audit. `@canary` selects moving prerelease
251
+ builds; pin and test them before adoption.
252
+
253
+ ## Author
254
+
255
+ Built by [bntvllnt](https://github.com/bntvllnt) · [bntvllnt.com](https://bntvllnt.com).
256
+ Part of [@vllnt](https://github.com/vllnt). [Sponsor the work](https://github.com/sponsors/bntvllnt).
257
+
241
258
  ## License
242
259
 
243
260
  [MIT](LICENSE)
package/flat/base.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ import type { Linter } from "eslint";
2
+
3
+ export declare const base: Linter.Config[];
@@ -0,0 +1,4 @@
1
+ import type { Linter } from "eslint";
2
+
3
+ export declare const boundaries: Linter.Config[];
4
+ export default boundaries;
@@ -59,7 +59,8 @@ export function getBasenameNoExt(filePath) {
59
59
  * @returns {string}
60
60
  */
61
61
  export function getFilename(context) {
62
- return context.physicalFilename ?? context.filename ?? ''
62
+ // ESLint reports native separators; normalise so Windows paths match the same checks.
63
+ return (context.physicalFilename ?? context.filename ?? '').replaceAll('\\', '/')
63
64
  }
64
65
 
65
66
  /**
@@ -0,0 +1,4 @@
1
+ import type { Linter } from "eslint";
2
+
3
+ export declare const convex: Linter.Config[];
4
+ export default convex;
@@ -0,0 +1,7 @@
1
+ export { nextjs } from "./nextjs.js";
2
+ export { convex } from "./convex.js";
3
+ export { nodejs } from "./nodejs.js";
4
+ export { react } from "./react.js";
5
+ export { base } from "./base.js";
6
+ export { turbo } from "./turbo.js";
7
+ export { boundaries } from "./boundaries.js";
@@ -0,0 +1,4 @@
1
+ import type { Linter } from "eslint";
2
+
3
+ export declare const nextjs: Linter.Config[];
4
+ export default nextjs;
@@ -0,0 +1,4 @@
1
+ import type { Linter } from "eslint";
2
+
3
+ export declare const nodejs: Linter.Config[];
4
+ export default nodejs;
@@ -0,0 +1,4 @@
1
+ import type { Linter } from "eslint";
2
+
3
+ export declare const react: Linter.Config[];
4
+ export default react;
@@ -0,0 +1,4 @@
1
+ import type { Linter } from "eslint";
2
+
3
+ export declare const turbo: Linter.Config[];
4
+ export default turbo;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vllnt/eslint-config",
3
- "version": "2.0.0",
3
+ "version": "2.1.0-canary.e107250",
4
4
  "type": "module",
5
5
  "description": "Strict ESLint config for TypeScript projects. All rules enforce error — no warnings.",
6
6
  "license": "MIT",
@@ -20,7 +20,7 @@
20
20
  "engines": {
21
21
  "node": ">=20"
22
22
  },
23
- "packageManager": "pnpm@10.28.2",
23
+ "packageManager": "pnpm@10.34.8",
24
24
  "files": [
25
25
  "flat"
26
26
  ],
@@ -35,27 +35,27 @@
35
35
  "./package.json": "./package.json"
36
36
  },
37
37
  "scripts": {
38
- "test": "node --test tests/smoke.test.js",
39
- "prepublishOnly": "node --test tests/smoke.test.js"
38
+ "test": "pnpm check:agents && node --test tests/*.test.js",
39
+ "check:agents": "node -e \"const f=require('node:fs');if(!f.existsSync('AGENTS.md')||f.existsSync('CLAUDE.md')||f.existsSync('.claude'))process.exit(1)\""
40
40
  },
41
41
  "dependencies": {
42
- "@convex-dev/eslint-plugin": "^4.0.0",
42
+ "@convex-dev/eslint-plugin": "^5.0.0",
43
43
  "@eslint/js": "^9.39.5",
44
- "@next/eslint-plugin-next": "^16.3.3",
44
+ "@next/eslint-plugin-next": "^16.4.3",
45
45
  "eslint-config-prettier": "^10.1.8",
46
46
  "eslint-plugin-boundaries": "^5.4.0",
47
47
  "eslint-plugin-css-modules": "^2.12.0",
48
- "eslint-plugin-functional": "^9.0.5",
48
+ "eslint-plugin-functional": "^10.0.1",
49
49
  "eslint-plugin-jsx-a11y": "^6.10.2",
50
- "eslint-plugin-perfectionist": "^5.11.0",
51
- "eslint-plugin-prettier": "^5.5.6",
50
+ "eslint-plugin-perfectionist": "^5.13.0",
51
+ "eslint-plugin-prettier": "^5.5.7",
52
52
  "eslint-plugin-react": "^7.37.5",
53
53
  "eslint-plugin-react-hooks": "^7.1.1",
54
- "eslint-plugin-simple-import-sort": "^12.1.1",
55
- "eslint-plugin-turbo": "^2.10.12",
56
- "eslint-plugin-unicorn": "^62.0.0",
54
+ "eslint-plugin-simple-import-sort": "^14.0.0",
55
+ "eslint-plugin-turbo": "^2.11.10",
56
+ "eslint-plugin-unicorn": "^65.0.1",
57
57
  "eslint-plugin-write-good-comments": "^0.2.0",
58
- "typescript-eslint": "^8.68.0"
58
+ "typescript-eslint": "8.72.0"
59
59
  },
60
60
  "peerDependencies": {
61
61
  "eslint": ">=9",
@@ -73,13 +73,21 @@
73
73
  },
74
74
  "devDependencies": {
75
75
  "@typescript/native": "npm:typescript@7.0.2",
76
- "convex": "^1.45.0",
76
+ "convex": "^1.48.0",
77
77
  "eslint": "^9.39.5",
78
78
  "typescript": "npm:@typescript/typescript6@^6.0.2"
79
79
  },
80
80
  "pnpm": {
81
+ "minimumReleaseAge": 10080,
82
+ "minimumReleaseAgeExclude": [
83
+ "@vllnt/*"
84
+ ],
85
+ "ignoredBuiltDependencies": [
86
+ "esbuild"
87
+ ],
81
88
  "overrides": {
82
- "handlebars": ">=4.7.9"
89
+ "handlebars": ">=4.7.9",
90
+ "deepmerge-ts@<8.0.0": "^8.0.2"
83
91
  }
84
92
  }
85
93
  }