{"_id":"@nswds/eslint-config","_rev":"8-afbff34553f57ae284e5610561f1cdc2","name":"@nswds/eslint-config","dist-tags":{"latest":"1.1.4"},"versions":{"0.0.0":{"name":"@nswds/eslint-config","version":"0.0.0","keywords":["eslint","eslintconfig","eslint-config","flat-config","nextjs","prettier","nswds","nsw-government"],"author":{"name":"NSW Design System"},"license":"MPL-2.0","_id":"@nswds/eslint-config@0.0.0","maintainers":[{"name":"digital-design-system","email":"digital@customerservice.nsw.gov.au"},{"name":"laurenhitchon","email":"lauren@hitchon.me"}],"homepage":"https://github.com/digitalnsw/nswds-eslint-config#readme","bugs":{"url":"https://github.com/digitalnsw/nswds-eslint-config/issues"},"dist":{"shasum":"4ad3c1d5c62d1944f633f4526630ce0dcb31256a","tarball":"https://registry.npmjs.org/@nswds/eslint-config/-/eslint-config-0.0.0.tgz","fileCount":4,"integrity":"sha512-tkQ+PNEEXjRTLF9Kk99rAxmdzq1ygrWK4jF2UhaY7uvAu1jH711Cdy26qTeLMpRpA+flANldBrB2/0iTyeb6Ag==","signatures":[{"sig":"MEYCIQCtNiax+ivpdigkkdxct2Ln35b63WIEfuLU/8NSDTLQKAIhAIdJmjg2Ca1XtwSOj8HgNGPP5M+i2wpMV/WAHGlFzYbS","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23011},"main":"index.mjs","type":"module","engines":{"node":"^22.14.0 || >=24.10.0"},"exports":{".":"./index.mjs"},"gitHead":"1c7c8733dc89848193aaa6dc6ca9db0084a0efbb","scripts":{"test":"node --test","semantic-release":"semantic-release"},"_npmUser":{"name":"digital-design-system","email":"digital@customerservice.nsw.gov.au"},"repository":{"url":"git+ssh://git@github.com/digitalnsw/nswds-eslint-config.git","type":"git"},"_npmVersion":"11.16.0","description":"Shared ESLint flat config for the NSW Design System fleet (Next.js + Prettier).","directories":{},"_nodeVersion":"24.18.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.2.11","react":"^19.0.0","eslint":"^10.0.0","prettier":"^3.5.3","react-dom":"^19.0.0","typescript":"^5.8.3","@eslint/compat":"^2.1.0","semantic-release":"^25.0.3","eslint-config-next":"^16.2.11","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^12.0.2","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.6","@semantic-release/github":"^12.0.3","@semantic-release/changelog":"^6.0.3","@semantic-release/commit-analyzer":"^13.0.1","@semantic-release/release-notes-generator":"^14.1.0","conventional-changelog-conventionalcommits":"^9.3.1"},"peerDependencies":{"eslint":">=9","@eslint/compat":">=1.2","eslint-config-next":">=15","eslint-config-prettier":">=10","eslint-plugin-prettier":">=5"},"_npmOperationalInternal":{"tmp":"tmp/eslint-config_0.0.0_1785150848458_0.805166746708164","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@nswds/eslint-config","version":"1.0.0","keywords":["eslint","eslintconfig","eslint-config","flat-config","nextjs","prettier","nswds","nsw-government"],"author":{"name":"NSW Design System"},"license":"MPL-2.0","_id":"@nswds/eslint-config@1.0.0","maintainers":[{"name":"digital-design-system","email":"digital@customerservice.nsw.gov.au"},{"name":"laurenhitchon","email":"lauren@hitchon.me"}],"homepage":"https://github.com/digitalnsw/nswds-eslint-config#readme","bugs":{"url":"https://github.com/digitalnsw/nswds-eslint-config/issues"},"dist":{"shasum":"ae2e32e65e4be9d61efee0eb1b2844f73061f175","tarball":"https://registry.npmjs.org/@nswds/eslint-config/-/eslint-config-1.0.0.tgz","fileCount":4,"integrity":"sha512-TmAVOhbV26F66Lo8mL9/Gu6NBiz75ispqT0A1mQo+suUPk9vegpCaR96c9jiu3EGBBXsVVKl0BbgPClfy9ZsQQ==","signatures":[{"sig":"MEUCIFGakbLvRhpeFXvgkdCsxtuU/z1BcZcW2nry3KEVblRmAiEAluRTgP4teet5j1pDZegb/+GPYIFoWTizilT8run7xpg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23011},"main":"index.mjs","type":"module","engines":{"node":"^22.14.0 || >=24.10.0"},"exports":{".":"./index.mjs"},"gitHead":"d8d90ca6983652df99b5a65b971eeb5fc6acd7c8","scripts":{"test":"node --test","semantic-release":"semantic-release"},"_npmUser":{"name":"digital-design-system","email":"digital@customerservice.nsw.gov.au"},"repository":{"url":"git+ssh://git@github.com/digitalnsw/nswds-eslint-config.git","type":"git"},"_npmVersion":"11.16.0","description":"Shared ESLint flat config for the NSW Design System fleet (Next.js + Prettier).","directories":{},"_nodeVersion":"24.18.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.2.11","react":"^19.0.0","eslint":"^10.0.0","prettier":"^3.5.3","react-dom":"^19.0.0","typescript":"^5.8.3","@eslint/compat":"^2.1.0","semantic-release":"^25.0.3","eslint-config-next":"^16.2.11","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^12.0.2","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.6","@semantic-release/github":"^12.0.3","@semantic-release/changelog":"^6.0.3","@semantic-release/commit-analyzer":"^13.0.1","@semantic-release/release-notes-generator":"^14.1.0","conventional-changelog-conventionalcommits":"^9.3.1"},"peerDependencies":{"eslint":">=9","@eslint/compat":">=1.2","eslint-config-next":">=15","eslint-config-prettier":">=10","eslint-plugin-prettier":">=5"},"_npmOperationalInternal":{"tmp":"tmp/eslint-config_1.0.0_1785151975081_0.2981895716600773","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@nswds/eslint-config","version":"1.0.2","keywords":["eslint","eslintconfig","eslint-config","flat-config","nextjs","prettier","nswds","nsw-government"],"author":{"name":"NSW Design System"},"license":"MPL-2.0","_id":"@nswds/eslint-config@1.0.2","maintainers":[{"name":"digital-design-system","email":"digital@customerservice.nsw.gov.au"},{"name":"laurenhitchon","email":"lauren@hitchon.me"}],"homepage":"https://github.com/digitalnsw/nswds-eslint-config#readme","bugs":{"url":"https://github.com/digitalnsw/nswds-eslint-config/issues"},"dist":{"shasum":"a0a316a37a407787404dc759be674b5dacf1bdd5","tarball":"https://registry.npmjs.org/@nswds/eslint-config/-/eslint-config-1.0.2.tgz","fileCount":4,"integrity":"sha512-0b7Zo3BhQlq36eznysDkRY0kbU03tu583yOys3M9DL3OTfYwvpA1/ZF8JSLsoCtwLJ7/WKaxBpcGuji10tszqA==","signatures":[{"sig":"MEUCIAbmHOOpqjs3SKjuEq93Y3bwn+ol0swaJMGuiiuoaKOpAiEA+sLHAdS3l9TuUVJjfrrOcUPHtX3vRyyjUAT08bh35yI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@nswds%2feslint-config@1.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":23816},"main":"index.mjs","type":"module","engines":{"node":"^22.14.0 || >=24.10.0"},"exports":{".":"./index.mjs"},"gitHead":"f94a587ec351c720afb9fc0e8e637c93fc153223","scripts":{"pr":"scripts/pull-request.sh","test":"node --test","commit":"scripts/git-commit.sh","format":"prettier --write .","prepare":"husky","snyk:check":"bash -lc 'npm exec --yes --package snyk@latest -- snyk test --all-projects --json-file-output=snyk-analysis.json; code=$?; if [ $code -eq 0 ] || [ $code -eq 1 ]; then exit 0; fi; exit $code'","format:check":"prettier --check .","snyk:monitor":"npm exec --yes --package snyk@latest -- snyk monitor --all-projects","branch:create":"scripts/create-branch.sh","branch:suggest":"scripts/suggest-branch-name.sh","semantic-release":"semantic-release","branch:suggest:create":"scripts/suggest-branch-name.sh --create"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4ea72110-7d22-4b2b-8f66-f84ea197e959"}},"prettier":"@nswds/prettier-config","repository":{"url":"git+ssh://git@github.com/digitalnsw/nswds-eslint-config.git","type":"git"},"_npmVersion":"11.18.0","description":"Shared ESLint flat config for the NSW Design System fleet (Next.js + Prettier).","directories":{},"_nodeVersion":"24.16.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.2.11","husky":"^9.1.7","react":"^19.0.0","eslint":"^10.0.0","prettier":"^3.5.3","react-dom":"^19.0.0","typescript":"^5.8.3","@eslint/compat":"^2.1.0","@commitlint/cli":"^21.0.2","semantic-release":"^25.0.3","eslint-config-next":"^16.2.11","@semantic-release/git":"^10.0.1","@nswds/prettier-config":"^1.0.0","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.6","@semantic-release/github":"^12.0.3","@semantic-release/changelog":"^6.0.3","@commitlint/config-conventional":"^21.0.2","@semantic-release/commit-analyzer":"^13.0.1","@semantic-release/release-notes-generator":"^14.1.0","conventional-changelog-conventionalcommits":"^9.3.1"},"peerDependencies":{"eslint":">=9","@eslint/compat":">=1.2","eslint-config-next":">=15","eslint-config-prettier":">=10","eslint-plugin-prettier":">=5"},"_npmOperationalInternal":{"tmp":"tmp/eslint-config_1.0.2_1785209765380_0.07842092404730461","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@nswds/eslint-config","version":"1.1.0","keywords":["eslint","eslintconfig","eslint-config","flat-config","nextjs","prettier","nswds","nsw-government"],"author":{"name":"NSW Design System"},"license":"MPL-2.0","_id":"@nswds/eslint-config@1.1.0","maintainers":[{"name":"digital-design-system","email":"digital@customerservice.nsw.gov.au"},{"name":"laurenhitchon","email":"lauren@hitchon.me"}],"homepage":"https://github.com/digitalnsw/nswds-eslint-config#readme","bugs":{"url":"https://github.com/digitalnsw/nswds-eslint-config/issues"},"dist":{"shasum":"51d86ab4830c860d15912aecb86e16a272bf8cb2","tarball":"https://registry.npmjs.org/@nswds/eslint-config/-/eslint-config-1.1.0.tgz","fileCount":6,"integrity":"sha512-Zz7+ET3I5ChHVoVyCHuuBtqbJGZlkHZsmYMXkvCgespAqEITU7AdoxlevasbDekHAAwKekEFvQEqyOg6RhyR5Q==","signatures":[{"sig":"MEUCIQCygoz9oqTOWbWWrB60M8eEkkeurJUZ8hIqzUw3GoJ4dwIgC77XNHuPuDrlJ1wI8lzgd4un7qWil6iiAFxDY3rIu+I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@nswds%2feslint-config@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":28069},"main":"index.mjs","type":"module","engines":{"node":"^22.22.2 || >=24.15.0"},"exports":{".":"./index.mjs","./base":"./base.mjs"},"gitHead":"17dd00e455f9849a76dc2477272a32dcf046f62b","scripts":{"pr":"scripts/pull-request.sh","lint":"eslint . && prettier --check .","test":"node --test","commit":"scripts/git-commit.sh","format":"prettier --write .","prepare":"husky","snyk:check":"bash -lc 'npm exec --yes --package snyk@latest -- snyk test --all-projects --json-file-output=snyk-analysis.json; code=$?; if [ $code -eq 0 ] || [ $code -eq 1 ]; then exit 0; fi; exit $code'","format:check":"prettier --check .","snyk:monitor":"npm exec --yes --package snyk@latest -- snyk monitor --all-projects","branch:create":"scripts/create-branch.sh","branch:suggest":"scripts/suggest-branch-name.sh","semantic-release":"semantic-release","branch:suggest:create":"scripts/suggest-branch-name.sh --create"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4ea72110-7d22-4b2b-8f66-f84ea197e959"}},"prettier":"@nswds/prettier-config","repository":{"url":"git+ssh://git@github.com/digitalnsw/nswds-eslint-config.git","type":"git"},"_npmVersion":"11.18.0","description":"Shared ESLint flat config for the NSW Design System fleet — Next.js ('.') and framework-free ('./base') entry points, both with Prettier as a rule.","directories":{},"_nodeVersion":"24.16.0","dependencies":{"globals":"^16.4.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.2.11","husky":"^9.1.7","react":"^19.0.0","eslint":"^10.0.0","prettier":"^3.5.3","react-dom":"^19.0.0","@eslint/js":"^10.0.1","typescript":"^5.8.3","@eslint/compat":"^2.1.0","@commitlint/cli":"^21.0.2","semantic-release":"^25.0.3","typescript-eslint":"^8.65.0","eslint-config-next":"^16.2.11","@semantic-release/git":"^10.0.1","@nswds/prettier-config":"^1.0.0","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.6","@semantic-release/github":"^12.0.3","@semantic-release/changelog":"^6.0.3","@commitlint/config-conventional":"^21.0.2","@semantic-release/commit-analyzer":"^13.0.1","@semantic-release/release-notes-generator":"^14.1.0","conventional-changelog-conventionalcommits":"^9.3.1"},"peerDependencies":{"eslint":">=9","@eslint/js":">=9","@eslint/compat":">=2","typescript-eslint":">=8.28","eslint-config-next":">=15","eslint-config-prettier":">=10","eslint-plugin-prettier":">=5"},"peerDependenciesMeta":{"@eslint/js":{"optional":true},"@eslint/compat":{"optional":false},"typescript-eslint":{"optional":true},"eslint-config-next":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/eslint-config_1.1.0_1785316857321_0.1248598868359525","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@nswds/eslint-config","version":"1.1.1","keywords":["eslint","eslintconfig","eslint-config","flat-config","nextjs","prettier","nswds","nsw-government"],"author":{"name":"NSW Design System"},"license":"MPL-2.0","_id":"@nswds/eslint-config@1.1.1","maintainers":[{"name":"digital-design-system","email":"digital@customerservice.nsw.gov.au"},{"name":"laurenhitchon","email":"lauren@hitchon.me"}],"homepage":"https://github.com/digitalnsw/nswds-eslint-config#readme","bugs":{"url":"https://github.com/digitalnsw/nswds-eslint-config/issues"},"dist":{"shasum":"cf7a28b21200981f99f1a58b2143eb97c74e43f4","tarball":"https://registry.npmjs.org/@nswds/eslint-config/-/eslint-config-1.1.1.tgz","fileCount":6,"integrity":"sha512-0ooyvOwAYNzZmNWS2IPUgB1qgsHveQjeRhwUJ0cFQiHTlwTr+1VO4Ux/JAa8sDh1GRQhqxLlRnKHXHLYPjXPqg==","signatures":[{"sig":"MEYCIQDMCYrluAwGg6JHCOz6H4x+ZJdAOvEMYZ+3hdxsD0qXGwIhAIiNUV2dPJxFC0cKmJ8w6b/OOJiQIfFKOa5raIAGfXpg","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@nswds%2feslint-config@1.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":28069},"main":"index.mjs","type":"module","engines":{"node":"^22.22.2 || >=24.15.0"},"exports":{".":"./index.mjs","./base":"./base.mjs"},"gitHead":"d2902fa52f06cc718fb3c7fdfa7d050ee13a5c0a","scripts":{"pr":"scripts/pull-request.sh","lint":"eslint . && prettier --check .","test":"node --test","commit":"scripts/git-commit.sh","format":"prettier --write .","prepare":"husky","snyk:check":"bash -lc 'npm exec --yes --package snyk@latest -- snyk test --all-projects --json-file-output=snyk-analysis.json; code=$?; if [ $code -eq 0 ] || [ $code -eq 1 ]; then exit 0; fi; exit $code'","format:check":"prettier --check .","snyk:monitor":"npm exec --yes --package snyk@latest -- snyk monitor --all-projects","branch:create":"scripts/create-branch.sh","branch:suggest":"scripts/suggest-branch-name.sh","semantic-release":"semantic-release","branch:suggest:create":"scripts/suggest-branch-name.sh --create"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4ea72110-7d22-4b2b-8f66-f84ea197e959"}},"prettier":"@nswds/prettier-config","repository":{"url":"git+ssh://git@github.com/digitalnsw/nswds-eslint-config.git","type":"git"},"_npmVersion":"11.18.0","description":"Shared ESLint flat config for the NSW Design System fleet — Next.js ('.') and framework-free ('./base') entry points, both with Prettier as a rule.","directories":{},"_nodeVersion":"24.16.0","dependencies":{"globals":"^16.4.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.2.11","husky":"^9.1.7","react":"^19.0.0","eslint":"^10.0.0","prettier":"^3.5.3","react-dom":"^19.0.0","@eslint/js":"^10.0.1","typescript":"^5.8.3","@eslint/compat":"^2.1.0","@commitlint/cli":"^21.0.2","semantic-release":"^25.0.3","typescript-eslint":"^8.65.0","eslint-config-next":"^16.2.11","@semantic-release/git":"^10.0.1","@nswds/prettier-config":"^1.0.0","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.6","@semantic-release/github":"^12.0.3","@semantic-release/changelog":"^6.0.3","@commitlint/config-conventional":"^21.0.2","@semantic-release/commit-analyzer":"^13.0.1","@semantic-release/release-notes-generator":"^14.1.0","conventional-changelog-conventionalcommits":"^9.3.1"},"peerDependencies":{"eslint":">=9","@eslint/js":">=9","@eslint/compat":">=2","typescript-eslint":">=8.28","eslint-config-next":">=15","eslint-config-prettier":">=10","eslint-plugin-prettier":">=5"},"peerDependenciesMeta":{"@eslint/js":{"optional":true},"@eslint/compat":{"optional":false},"typescript-eslint":{"optional":true},"eslint-config-next":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/eslint-config_1.1.1_1785734248475_0.25343926445395515","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@nswds/eslint-config","version":"1.1.2","keywords":["eslint","eslintconfig","eslint-config","flat-config","nextjs","prettier","nswds","nsw-government"],"author":{"name":"NSW Design System"},"license":"MPL-2.0","_id":"@nswds/eslint-config@1.1.2","maintainers":[{"name":"digital-design-system","email":"digital@customerservice.nsw.gov.au"},{"name":"laurenhitchon","email":"lauren@hitchon.me"}],"homepage":"https://github.com/digitalnsw/nswds-eslint-config#readme","bugs":{"url":"https://github.com/digitalnsw/nswds-eslint-config/issues"},"dist":{"shasum":"e53d38b44de1a28ee1a8a270a8bfb4fb4a9532f1","tarball":"https://registry.npmjs.org/@nswds/eslint-config/-/eslint-config-1.1.2.tgz","fileCount":6,"integrity":"sha512-Y83g+Pa/xRrH5AeY8+QpSAiQTB335lP472CAiJ3gL1c20KGmY0YUjEzXhSVrA+BNdZmIsXNl0pwRt4rQKbCTtQ==","signatures":[{"sig":"MEUCIQCLdQZCpOQP3oG4IViHLdOWXgeMgcL4JRrgJiSV7T4buQIgXz7LHROqUdKuHVi6TDmbOx4BZOhJgV+nyHcaoxvbji4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@nswds%2feslint-config@1.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":28069},"main":"index.mjs","type":"module","engines":{"node":"^22.22.2 || >=24.15.0"},"exports":{".":"./index.mjs","./base":"./base.mjs"},"gitHead":"37d9b5f8fa9a77f67e21e7a6731f097a77abef87","scripts":{"pr":"scripts/pull-request.sh","lint":"eslint . && prettier --check .","test":"node --test","commit":"scripts/git-commit.sh","format":"prettier --write .","prepare":"husky","snyk:check":"bash -lc 'npm exec --yes --package snyk@latest -- snyk test --all-projects --json-file-output=snyk-analysis.json; code=$?; if [ $code -eq 0 ] || [ $code -eq 1 ]; then exit 0; fi; exit $code'","format:check":"prettier --check .","snyk:monitor":"npm exec --yes --package snyk@latest -- snyk monitor --all-projects","branch:create":"scripts/create-branch.sh","branch:suggest":"scripts/suggest-branch-name.sh","semantic-release":"semantic-release","branch:suggest:create":"scripts/suggest-branch-name.sh --create"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4ea72110-7d22-4b2b-8f66-f84ea197e959"}},"prettier":"@nswds/prettier-config","repository":{"url":"git+ssh://git@github.com/digitalnsw/nswds-eslint-config.git","type":"git"},"_npmVersion":"11.19.0","description":"Shared ESLint flat config for the NSW Design System fleet — Next.js ('.') and framework-free ('./base') entry points, both with Prettier as a rule.","directories":{},"_nodeVersion":"24.16.0","dependencies":{"globals":"^17.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.2.11","husky":"^9.1.7","react":"^19.0.0","eslint":"^10.0.0","prettier":"^3.5.3","react-dom":"^19.0.0","@eslint/js":"^10.0.1","typescript":"^5.8.3","@eslint/compat":"^2.1.0","@commitlint/cli":"^21.0.2","semantic-release":"^25.0.3","typescript-eslint":"^8.65.0","eslint-config-next":"^16.2.11","@semantic-release/git":"^11.0.0","@nswds/prettier-config":"^1.0.0","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.6","@semantic-release/github":"^12.0.3","@semantic-release/changelog":"^7.0.0","@commitlint/config-conventional":"^21.0.2","@semantic-release/commit-analyzer":"^13.0.1","@semantic-release/release-notes-generator":"^14.1.0","conventional-changelog-conventionalcommits":"^9.3.1"},"peerDependencies":{"eslint":">=9","@eslint/js":">=9","@eslint/compat":">=2","typescript-eslint":">=8.28","eslint-config-next":">=15","eslint-config-prettier":">=10","eslint-plugin-prettier":">=5"},"peerDependenciesMeta":{"@eslint/js":{"optional":true},"@eslint/compat":{"optional":false},"typescript-eslint":{"optional":true},"eslint-config-next":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/eslint-config_1.1.2_1785829653197_0.649062743648116","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"@nswds/eslint-config","version":"1.1.3","keywords":["eslint","eslintconfig","eslint-config","flat-config","nextjs","prettier","nswds","nsw-government"],"author":{"name":"NSW Design System"},"license":"MPL-2.0","_id":"@nswds/eslint-config@1.1.3","maintainers":[{"name":"digital-design-system","email":"digital@customerservice.nsw.gov.au"},{"name":"laurenhitchon","email":"lauren@hitchon.me"}],"homepage":"https://github.com/digitalnsw/nswds-eslint-config#readme","bugs":{"url":"https://github.com/digitalnsw/nswds-eslint-config/issues"},"dist":{"shasum":"6535ed1ef28f23f3b4d5e6e0188eea84b2cb5e64","tarball":"https://registry.npmjs.org/@nswds/eslint-config/-/eslint-config-1.1.3.tgz","fileCount":6,"integrity":"sha512-nIGsY5zq/3KU7bgQJ77jTB78J/ZweJ/roHxofBgF31LaV/184hVunDNBMwZrdRAUwtN8oGTYfHd7RSd8LEryoA==","signatures":[{"sig":"MEQCIF0g6dev268LgdxpHG8USwKJ/+5yf36lZ9AbSsQma3RRAiAE4iTKWizPteZ53aSGJqTfdjU8kjiRcO2cREVZlTz8bA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@nswds%2feslint-config@1.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":28069},"main":"index.mjs","type":"module","engines":{"node":"^22.22.2 || >=24.15.0"},"exports":{".":"./index.mjs","./base":"./base.mjs"},"gitHead":"bb5e5e9e3d8443bbb8192a86fc14278401a02e3a","scripts":{"pr":"scripts/pull-request.sh","lint":"eslint . && prettier --check .","test":"node --test","commit":"scripts/git-commit.sh","format":"prettier --write .","prepare":"husky","snyk:check":"bash -lc 'npm exec --yes --package snyk@latest -- snyk test --all-projects --json-file-output=snyk-analysis.json; code=$?; if [ $code -eq 0 ] || [ $code -eq 1 ]; then exit 0; fi; exit $code'","format:check":"prettier --check .","snyk:monitor":"npm exec --yes --package snyk@latest -- snyk monitor --all-projects","branch:create":"scripts/create-branch.sh","branch:suggest":"scripts/suggest-branch-name.sh","semantic-release":"semantic-release","branch:suggest:create":"scripts/suggest-branch-name.sh --create"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4ea72110-7d22-4b2b-8f66-f84ea197e959"}},"prettier":"@nswds/prettier-config","repository":{"url":"git+ssh://git@github.com/digitalnsw/nswds-eslint-config.git","type":"git"},"_npmVersion":"11.19.1","description":"Shared ESLint flat config for the NSW Design System fleet — Next.js ('.') and framework-free ('./base') entry points, both with Prettier as a rule.","directories":{},"_nodeVersion":"24.16.0","dependencies":{"globals":"^17.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"next":"^16.2.11","husky":"^9.1.7","react":"^19.0.0","eslint":"^10.0.0","prettier":"^3.5.3","react-dom":"^19.0.0","@eslint/js":"^10.0.1","typescript":"^5.8.3","@eslint/compat":"^2.1.0","@commitlint/cli":"^21.0.2","semantic-release":"^25.0.3","typescript-eslint":"^8.65.0","eslint-config-next":"^16.2.11","@semantic-release/git":"^11.0.0","@nswds/prettier-config":"^1.0.0","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.6","@semantic-release/github":"^12.0.3","@semantic-release/changelog":"^7.0.0","@commitlint/config-conventional":"^21.0.2","@semantic-release/commit-analyzer":"^13.0.1","@semantic-release/release-notes-generator":"^14.1.0","conventional-changelog-conventionalcommits":"^9.3.1"},"peerDependencies":{"eslint":">=9","@eslint/js":">=9","@eslint/compat":">=2","typescript-eslint":">=8.28","eslint-config-next":">=15","eslint-config-prettier":">=10","eslint-plugin-prettier":">=5"},"peerDependenciesMeta":{"@eslint/js":{"optional":true},"@eslint/compat":{"optional":false},"typescript-eslint":{"optional":true},"eslint-config-next":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/eslint-config_1.1.3_1789079991044_0.7511891117567573","host":"s3://npm-registry-packages-npm-production"}},"1.1.4":{"name":"@nswds/eslint-config","version":"1.1.4","description":"Shared ESLint flat config for the NSW Design System fleet — Next.js ('.') and framework-free ('./base') entry points, both with Prettier as a rule.","license":"MPL-2.0","keywords":["eslint","eslintconfig","eslint-config","flat-config","nextjs","prettier","nswds","nsw-government"],"homepage":"https://github.com/digitalnsw/nswds-eslint-config#readme","bugs":{"url":"https://github.com/digitalnsw/nswds-eslint-config/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/digitalnsw/nswds-eslint-config.git"},"author":{"name":"NSW Design System"},"type":"module","main":"index.mjs","exports":{".":"./index.mjs","./base":"./base.mjs"},"engines":{"node":"^22.22.2 || >=24.15.0"},"scripts":{"semantic-release":"semantic-release","test":"node --test","lint":"eslint . && prettier --check .","prepare":"husky","branch:create":"scripts/create-branch.sh","branch:suggest":"scripts/suggest-branch-name.sh","branch:suggest:create":"scripts/suggest-branch-name.sh --create","commit":"scripts/git-commit.sh","pr":"scripts/pull-request.sh","snyk:check":"bash -lc 'npm exec --yes --package snyk@latest -- snyk test --all-projects --json-file-output=snyk-analysis.json; code=$?; if [ $code -eq 0 ] || [ $code -eq 1 ]; then exit 0; fi; exit $code'","snyk:monitor":"npm exec --yes --package snyk@latest -- snyk monitor --all-projects","format":"prettier --write .","format:check":"prettier --check ."},"peerDependencies":{"@eslint/compat":">=2","@eslint/js":">=9","eslint":">=9","eslint-config-next":">=15","eslint-config-prettier":">=10","eslint-plugin-prettier":">=5","typescript-eslint":">=8.28"},"peerDependenciesMeta":{"@eslint/compat":{"optional":false},"@eslint/js":{"optional":true},"eslint-config-next":{"optional":true},"typescript-eslint":{"optional":true}},"dependencies":{"globals":"^17.0.0"},"devDependencies":{"@commitlint/cli":"^21.0.2","@commitlint/config-conventional":"^21.0.2","@eslint/compat":"^2.1.0","@eslint/js":"^10.0.1","@nswds/prettier-config":"^1.0.0","@semantic-release/changelog":"^7.0.0","@semantic-release/commit-analyzer":"^13.0.1","@semantic-release/git":"^11.0.0","@semantic-release/github":"^12.0.3","@semantic-release/release-notes-generator":"^14.1.0","conventional-changelog-conventionalcommits":"^9.3.1","eslint":"^10.0.0","eslint-config-next":"^16.2.11","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.6","husky":"^9.1.7","next":"^16.2.11","prettier":"^3.5.3","react":"^19.0.0","react-dom":"^19.0.0","semantic-release":"^25.0.3","typescript":"^5.8.3","typescript-eslint":"^8.65.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"prettier":"@nswds/prettier-config","gitHead":"c28ce8e24c9cd0ab2875f3ee3a3f380058ae0573","_id":"@nswds/eslint-config@1.1.4","_nodeVersion":"24.16.0","_npmVersion":"11.19.1","dist":{"integrity":"sha512-JRtPz6/V+NknLsaohBttImygJSwEtrdppbnc9Bmy1nB6cFHWqanb9E3aCqO9FQnRwZjHaxeuj6gR5b4xuwFf7w==","shasum":"ed2ef5c010167bbf8fbd842150542af9f1c46e30","tarball":"https://registry.npmjs.org/@nswds/eslint-config/-/eslint-config-1.1.4.tgz","fileCount":6,"unpackedSize":28069,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@nswds%2feslint-config@1.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFB8RrQysenWWMG7XpFBTLv4mN69P8rO/hABZAKje1gRAiAiFLyntO48MT30OzWOpP8gvZtKO2CNetDxVTuivpd3fg=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4ea72110-7d22-4b2b-8f66-f84ea197e959"}},"directories":{},"maintainers":[{"name":"digital-design-system","email":"digital@customerservice.nsw.gov.au"},{"name":"laurenhitchon","email":"lauren@hitchon.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/eslint-config_1.1.4_1789086083066_0.4007354429156962"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-27T11:14:08.333Z","modified":"2026-09-11T00:21:23.623Z","0.0.0":"2026-07-27T11:14:08.593Z","1.0.0":"2026-07-27T11:32:55.215Z","1.0.2":"2026-07-28T03:36:05.496Z","1.1.0":"2026-07-29T09:20:57.471Z","1.1.1":"2026-08-03T05:17:28.619Z","1.1.2":"2026-08-04T07:47:33.327Z","1.1.3":"2026-09-10T22:39:51.174Z","1.1.4":"2026-09-11T00:21:23.219Z"},"bugs":{"url":"https://github.com/digitalnsw/nswds-eslint-config/issues"},"author":{"name":"NSW Design System"},"license":"MPL-2.0","homepage":"https://github.com/digitalnsw/nswds-eslint-config#readme","keywords":["eslint","eslintconfig","eslint-config","flat-config","nextjs","prettier","nswds","nsw-government"],"repository":{"type":"git","url":"git+ssh://git@github.com/digitalnsw/nswds-eslint-config.git"},"description":"Shared ESLint flat config for the NSW Design System fleet — Next.js ('.') and framework-free ('./base') entry points, both with Prettier as a rule.","maintainers":[{"name":"digital-design-system","email":"digital@customerservice.nsw.gov.au"},{"name":"laurenhitchon","email":"lauren@hitchon.me"}],"readme":"# @nswds/eslint-config\n\nShared ESLint **flat** config for the NSW Design System fleet — the single\nsource of truth for what was previously a hand-maintained `eslint.config.mjs` in\nevery repo. Two entry points, both with Prettier enforced as an ESLint rule and\n`no-console` restricted to `warn`/`error`:\n\n- **`.`** — Next.js apps: `core-web-vitals` + `typescript`.\n- **`./base`** — everything else (token pipelines, IaC programs, node scripts,\n  plain sites): `@eslint/js` recommended + `typescript-eslint` recommended.\n  Exists so non-Next repos get fleet lint policy without the Next.js peer\n  chain, instead of maintaining bespoke configs.\n\n## Install\n\nNext.js repos:\n\n```bash\nnpm i -D @nswds/eslint-config eslint eslint-config-next \\\n  eslint-config-prettier eslint-plugin-prettier @eslint/compat\n```\n\nNon-Next repos (`./base`):\n\n```bash\nnpm i -D @nswds/eslint-config eslint @eslint/js typescript-eslint \\\n  eslint-config-prettier eslint-plugin-prettier @eslint/compat\n```\n\n`eslint-config-next`, `@eslint/js` and `typescript-eslint` are optional peers —\ninstall the set that matches the entry point you use.\n\n## Use\n\nReduce the repo's `eslint.config.mjs` to the shared config plus any\nrepo-specific ignores or overrides:\n\n```js\n// eslint.config.mjs\nimport { defineConfig, globalIgnores } from 'eslint/config'\nimport nswds from '@nswds/eslint-config'\n\nexport default defineConfig([\n  ...nswds,\n  // repo-specific ignores (build artefacts this repo generates):\n  globalIgnores(['src/lib/blocks/generated.ts']),\n])\n```\n\nA repo with nothing extra just does `export default [...nswds]`.\n\nNon-Next repos import the base entry point the same way:\n\n```js\n// eslint.config.mjs\nimport nswds from '@nswds/eslint-config/base'\n\nexport default nswds\n```\n\n### Per-repo rule overrides\n\nAppend a config object after `...nswds`. Example — a repo whose build scripts\nare CLIs that legitimately print to stdout:\n\n```js\nexport default defineConfig([\n  ...nswds,\n  { files: ['scripts/**/*.mjs'], rules: { 'no-console': 'off' } },\n])\n```\n\n## ESLint 10 compatibility\n\nThis config wraps the `eslint-config-next` presets in `@eslint/compat`'s\n`fixupConfigRules`. ESLint 10 removed `context.getFilename()`, and\n`eslint-plugin-react` — pulled in transitively by `eslint-config-next`, including\n16.2.11 — still calls it during React-version detection. Without the shim every\nlint run dies with:\n\n```\nTypeError: contextOrFilename.getFilename is not a function\n```\n\nbefore checking a single file. On ESLint 9 the accessors the shim re-attaches\nstill exist, so the wrapper changes nothing there — but note the fleet develops\nand tests against ESLint 10 only; ESLint 9 is accepted by the peer range and\nnot exercised in CI. `index.test.mjs` lints a JSX file on every CI run to keep\nthis regression from returning.\n\nRemove the wrapper once `eslint-config-next` ships an ESLint-10-compatible\n`eslint-plugin-react` — watch [vercel/next.js#89764](https://github.com/vercel/next.js/issues/89764).\n\n## Notes\n\n- `baseIgnores` is exported if a repo needs to reference or extend the ignore\n  list directly.\n- Adopting repos should delete their local `fixupConfigRules` wrapper — the shim\n  lives here now.\n\n## Releases\n\nReleased by [semantic-release](https://semantic-release.gitbook.io/) on merge to\n`main`, driven by Conventional Commit messages. Publishing to npm uses **OIDC\ntrusted publishing**, so there is no `NPM_TOKEN` secret in this repo.\n\n## Shared tooling\n\nThis repo is on the [nswds-devops](https://github.com/digitalnsw/nswds-devops)\nfile sync (**group 2c**), so these are owned centrally — edit them there, not\nhere, or the next sync will overwrite your change:\n\n- `scripts/` (except `verify-release-published.mjs`, which is this repo's own)\n- `commitlint.config.mjs`, `commit-types.mjs`, `git-conventional-commits.yaml`\n- `.nvmrc`, `.npmrc`, `renovate.json`\n- every workflow except `ci.yml` and `release.yml`\n\nGroup 2c exists because `release.yml` is bespoke: it carries `id-token: write`\nfor OIDC publishing and runs `scripts/verify-release-published.mjs` afterwards,\nwhich fails the job if npm does not match the newest `v*` tag. The stock stub\nwould replace it and silently disable both — which is why this repo is not in\ngroup 1 or 3.\n","readmeFilename":"README.md"}