@st1ggy/linter-config 7.2.1 → 7.2.2

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.
@@ -1,6 +1,6 @@
1
1
  {
2
- "generatedAt": "2026-08-04T06:42:46.174Z",
3
- "source": "@st1ggy/linter-config@6.3.2 (local tree)",
2
+ "generatedAt": "2026-08-04T14:18:35.039Z",
3
+ "source": "@st1ggy/linter-config@7.2.1 (local tree)",
4
4
  "linterConfigRoot": "/Users/dnbragin/Projects/personal/linter-config",
5
5
  "flatConfigs": {
6
6
  "eslint-common": {
@@ -10070,7 +10070,7 @@
10070
10070
  "eslint-astro": {
10071
10071
  "module": "src/eslint/eslint.config.astro.js",
10072
10072
  "sampleFile": "src/examples/example.astro",
10073
- "ruleCount": 1093,
10073
+ "ruleCount": 1094,
10074
10074
  "rules": {
10075
10075
  "@babel/object-curly-spacing": "off",
10076
10076
  "@babel/semi": "off",
@@ -10709,8 +10709,9 @@
10709
10709
  "astro/no-deprecated-astro-fetchcontent": "error",
10710
10710
  "astro/no-deprecated-astro-resolve": "error",
10711
10711
  "astro/no-deprecated-getentrybyslug": "error",
10712
+ "astro/no-exports-from-components": "error",
10713
+ "astro/no-prerender-export-outside-pages": "error",
10712
10714
  "astro/no-unused-define-vars-in-style": "error",
10713
- "astro/valid-compile": "error",
10714
10715
  "babel/object-curly-spacing": "off",
10715
10716
  "babel/quotes": "off",
10716
10717
  "babel/semi": "off",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@st1ggy/linter-config",
3
- "version": "7.2.1",
3
+ "version": "7.2.2",
4
4
  "description": "ESLint, Prettier, and Stylelint shareable configs (sources under src/).",
5
5
  "private": false,
6
6
  "repository": {
@@ -53,6 +53,9 @@
53
53
  },
54
54
  "types": "./index.d.ts",
55
55
  "type": "module",
56
+ "engines": {
57
+ "node": ">=24.16.0"
58
+ },
56
59
  "sideEffects": false,
57
60
  "exports": {
58
61
  ".": {
@@ -133,7 +136,8 @@
133
136
  "peerDependencies": {
134
137
  "astro": ">=4.0.0",
135
138
  "eslint": "^10.8.0",
136
- "eslint-plugin-astro": "^1.7.0",
139
+ "eslint-plugin-astro": "^3.1.0",
140
+ "eslint-plugin-jsx-a11y": "^6.10.2",
137
141
  "eslint-plugin-react": "^7.37.5",
138
142
  "eslint-plugin-react-hooks": "^7.1.1",
139
143
  "eslint-plugin-svelte": "^3.22.0",
@@ -152,6 +156,9 @@
152
156
  "eslint-plugin-astro": {
153
157
  "optional": true
154
158
  },
159
+ "eslint-plugin-jsx-a11y": {
160
+ "optional": true
161
+ },
155
162
  "eslint-plugin-react": {
156
163
  "optional": true
157
164
  },
@@ -189,9 +196,10 @@
189
196
  "devDependencies": {
190
197
  "@next/eslint-plugin-next": "^16.3.0",
191
198
  "@stylistic/eslint-plugin-migrate": "^4.4.1",
192
- "conventional-changelog-cli": "^5.0.0",
199
+ "conventional-changelog": "^8.1.0",
193
200
  "conventional-changelog-conventionalcommits": "^10.2.1",
194
- "eslint-plugin-astro": "^1.7.0",
201
+ "eslint-plugin-astro": "^3.1.0",
202
+ "eslint-plugin-jsx-a11y": "^6.10.2",
195
203
  "eslint-plugin-react": "^7.37.5",
196
204
  "eslint-plugin-react-hooks": "^7.1.1",
197
205
  "eslint-plugin-svelte": "^3.22.0",
@@ -3,7 +3,7 @@
3
3
  // Or set `LINTER_CONFIG_ROOT` to override the default (repository root).
4
4
 
5
5
  import { spawnSync } from 'node:child_process'
6
- import { mkdirSync, writeFileSync } from 'node:fs'
6
+ import { mkdirSync, readFileSync, writeFileSync } from 'node:fs'
7
7
  import { createRequire } from 'node:module'
8
8
  import path from 'node:path'
9
9
  import process from 'node:process'
@@ -12,7 +12,8 @@ import { fileURLToPath } from 'node:url'
12
12
  const __dirname = path.dirname(fileURLToPath(import.meta.url))
13
13
  const LINTER_ROOT = process.env.LINTER_CONFIG_ROOT ?? path.resolve(__dirname, '..')
14
14
 
15
- const SOURCE_LABEL = '@st1ggy/linter-config@6.3.2 (local tree)'
15
+ const packageJson = JSON.parse(readFileSync(path.join(LINTER_ROOT, 'package.json'), 'utf8'))
16
+ const SOURCE_LABEL = `${packageJson.name}@${packageJson.version} (local tree)`
16
17
 
17
18
  const flatConfigPresets = [
18
19
  {
@@ -37,7 +37,7 @@ export const STACKS = {
37
37
  eslint: 'eslint-astro',
38
38
  prettier: 'prettier-astro',
39
39
  stylelint: 'stylelint-scss',
40
- packages: ['eslint-plugin-astro', 'prettier-plugin-astro'],
40
+ packages: ['eslint-plugin-astro', 'eslint-plugin-jsx-a11y', 'prettier-plugin-astro'],
41
41
  },
42
42
  }
43
43