{"id":50769672,"url":"https://github.com/verkstedt/lint","last_synced_at":"2026-06-11T17:01:09.861Z","repository":{"id":25699224,"uuid":"171515244","full_name":"verkstedt/lint","owner":"verkstedt","description":"ESLint config","archived":false,"fork":false,"pushed_at":"2026-06-11T07:48:28.000Z","size":2172,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":9,"default_branch":"main","last_synced_at":"2026-06-11T09:22:38.833Z","etag":null,"topics":["eslint","eslint-config","eslint-plugin","eslintplugin","lint","next-js","prettier","stylelint","typescript"],"latest_commit_sha":null,"homepage":"https://github.com/verkstedt/eslint-config-verkstedt#readme","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/verkstedt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-02-19T17:06:59.000Z","updated_at":"2026-06-11T07:48:32.000Z","dependencies_parsed_at":"2024-09-11T10:29:36.138Z","dependency_job_id":"8aa446c0-29e6-4e51-8601-f263073f9c0b","html_url":"https://github.com/verkstedt/lint","commit_stats":null,"previous_names":["verkstedt/lint"],"tags_count":58,"template":false,"template_full_name":null,"purl":"pkg:github/verkstedt/lint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/verkstedt%2Flint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/verkstedt%2Flint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/verkstedt%2Flint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/verkstedt%2Flint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/verkstedt","download_url":"https://codeload.github.com/verkstedt/lint/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/verkstedt%2Flint/sbom","scorecard":{"id":918909,"data":{"date":"2025-08-11","repo":{"name":"github.com/verkstedt/eslint-config-verkstedt","commit":"c22f52288edc985ee30ce510ca5f68afa10582f6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.6,"checks":[{"name":"Code-Review","score":5,"reason":"Found 6/12 approved changesets -- score normalized to 5","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/publish.yaml:15","Warn: no topLevel permission defined: .github/workflows/ci.yaml:1","Warn: no topLevel permission defined: .github/workflows/publish.yaml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":2,"reason":"dependency not pinned by hash detected -- score normalized to 2","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yaml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/verkstedt/eslint-config-verkstedt/ci.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yaml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/verkstedt/eslint-config-verkstedt/ci.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yaml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/verkstedt/eslint-config-verkstedt/ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yaml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/verkstedt/eslint-config-verkstedt/publish.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yaml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/verkstedt/eslint-config-verkstedt/publish.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yaml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/verkstedt/eslint-config-verkstedt/publish.yaml/main?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned","Info:   1 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/publish.yaml:10"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 25 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-24T23:33:27.322Z","repository_id":25699224,"created_at":"2025-08-24T23:33:27.322Z","updated_at":"2025-08-24T23:33:27.322Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34208761,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["eslint","eslint-config","eslint-plugin","eslintplugin","lint","next-js","prettier","stylelint","typescript"],"created_at":"2026-06-11T17:01:08.527Z","updated_at":"2026-06-11T17:01:09.843Z","avatar_url":"https://github.com/verkstedt.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `@verkstedt/lint`\n\nLinting configuration for verkstedt projects\n\n## Links\n\n- [🔍 Packages using this](https://github.com/search?q=path:**/package.json+%22@verkstedt/lint%22+NOT+is:archived)\n\n\u003cdetails\u003e\n\u003csummary\u003everkstedt internal\u003c/summary\u003e\n\n- [🗪 Chat](https://app.slack.com/client/T6HMM3NG2/C8U48QUBA)\n- [🗒 Tasks](https://verkstedt.atlassian.net/jira/software/projects/VIP/boards/12?jql=labels%20%3D%20lint)\n\n\u003c/details\u003e\n\n## Technical design\n\nSee [DESIGN.md](./DESIGN.md).\n\n## Installation\n\n\u003ca id=user-content-install-automatic\u003e\u003c/a\u003e\n\n### Automatic\n\n```sh\nnpx @verkstedt/lint@latest .\n```\n\n\u003ca id=user-content-install-manual\u003e\u003c/a\u003e\n\n### Manual\n\n\u003cdetails\u003e\n\n1. Install:\n\n   ```sh\n   npm install --save-dev eslint prettier @verkstedt/lint\n   ```\n\n   If you are using TypeScript, also:\n\n   ```sh\n   npm install --save-dev jiti\n   ```\n\n2. Make your `tsconfig.json` extend ours:\n\n   ```json\n   {\n     \"$schema\": \"https://json.schemastore.org/tsconfig\",\n     \"extends\": \"@verkstedt/lint/tsconfig\",\n   ```\n\n3. Create `prettier.config.ts` (or `prettier.config.mjs`)\n\n   \u003c!-- PRETTIER_CONFIG -- Marker used for extracting code by install.sh --\u003e\n\n   ```mjs\n   export { default as default } from '@verkstedt/lint/prettier';\n   ```\n\n   …and an empty `.prettierignore`:\n\n   ```sh\n   touch .prettierignore\n   ```\n\n   \u003e [!NOTE]\n   \u003e EsLint is set up to also use Prettier, so you don’t have to run it\n   \u003e separately, but you can, if you e.g. want to do just the\n   \u003e formatting in your editor.\n\n4. Create `eslint.config.ts` (or `eslint.config.mjs`)\n\n   \u003c!-- ESLINT_CONFIG -- Marker used for extracting code by install.sh --\u003e\n\n   ```mjs\n   import { createVerkstedtConfig } from '@verkstedt/lint/eslint';\n   import { defineConfig } from 'eslint/config';\n\n   export default defineConfig([\n     await createVerkstedtConfig({\n       dir: import.meta.dirname,\n       // If you have TypeScript files that are NOT included in your tsconfig (e.g.\n       // config files or scripts), you specify them here.\n       // https://typescript-eslint.io/packages/parser/#allowdefaultproject\n       allowDefaultProject: ['*.config.*'],\n       // Custom config for no-restricted-imports rule\n       // https://eslint.org/docs/latest/rules/no-restricted-imports\n       noRestrictedImportsConfig: {},\n     }),\n   ]);\n   ```\n\n\u003c/details\u003e\n\n\u003ca id=user-content-install-migrate-from-eslint-config-verkstedt\u003e\u003c/a\u003e\n\n#### Migration from `@verkstedt/eslint-config-verkstedt`\n\n\u003cdetails\u003e\n\n1. Remove all `*eslint*`, `*prettier*` and `*stylelint*` packages you\n   have installed and remove old Prettier and EsLint config files.\n\n2. Commit as something like “chore: Remove old linting config”.\n\n3. Run the script from [Automatic](#user-content-install-automatic)\n   installation above.\n\n4. Commit.\n\n5. Run `eslint --fix`\n\n6. Commit.\n\n7. Fix any remaining linting errors and commit.\n\n8. Check if you need to restore any of customisation you had in your old\n   config files (they may be included in new config files!). Consider\n   not adding things back to keep config consistent across projects.\n\n\u003e [!NOTE]\n\u003e In some codebases, you may get a lot of errors from\n\u003e `@typescript-eslint/no-explicit-any` and\n\u003e `@typescript-eslint/no-unsafe-*` rules. Best approach is to\n\u003e temporarily disable them and merge new config like that, but plan to\n\u003e refactor the codebase to enable them back.\n\n\u003c/details\u003e\n\n### First run\n\n```sh\nnpx eslint .\n```\n\nRunning this for the first time might ask you to install some additional\npackages.\n\n## Tests\n\nTests are organised as separate packages. They are set up as [npm workspaces].\nRunning `npm test` will run `eslint` in all workspace test\npackages.\n\n[npm workspaces]: https://docs.npmjs.com/cli/v8/using-npm/workspaces\n\n## Debugging\n\nRun with `NODE_DEBUG=@verkstedt/lint` to see some debug logs.\n\n## Known caveats\n\n- No accessibility (`jsx-a11y`) rules for now. `eslint-plugin-jsx-a11y`\n  has not yet shipped ESLint 10 support; the upstream PR is open at\n  \u003chttps://github.com/jsx-eslint/eslint-plugin-jsx-a11y/pull/1081\u003e.\n  Once that lands we will apply its `recommended` config whenever\n  `isFrontend` is true. Also remove uninstalling the plugin in\n  `install.sh`.\n\n- Installation script overwrites `extends` in `tsconfig.json`.\n  If your project already extends something you should copy options from\n  [`./typescript/tsconfig.base.json`](./typescript/tsconfig.base.json)\n  to your `tsconfig` and keep your `extends` as it is.\n\n- TypeScript is pinned to `^6.0.3 \u003c6.1.0` (in both `peerDependencies`\n  and `devDependencies`). This may look surprising, but `typescript-eslint`\n  caps its `typescript` peer at `\u003c6.1.0`, so we mirror that range here to\n  keep `npm install` resolving cleanly. Once a `typescript-eslint` release\n  widens the cap, we can match it.\n\n## License\n\n[ISC](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fverkstedt%2Flint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fverkstedt%2Flint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fverkstedt%2Flint/lists"}