https://github.com/informaticsmatters/eslint-config-squonk
ESLint config used by Squonk front-end apps
https://github.com/informaticsmatters/eslint-config-squonk
Last synced: 3 months ago
JSON representation
ESLint config used by Squonk front-end apps
- Host: GitHub
- URL: https://github.com/informaticsmatters/eslint-config-squonk
- Owner: InformaticsMatters
- License: mit
- Created: 2021-12-12T18:40:05.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-06-25T18:08:26.000Z (12 months ago)
- Last Synced: 2025-06-25T19:24:11.269Z (12 months ago)
- Language: JavaScript
- Size: 251 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-config-squonk
ESLint config used by Squonk front-end apps
## Installation
This assumes you are using `pnpm`.
1. Install package:
```sh
pnpm add -D eslint @squonk/eslint-config
```
2. Create (or modify) a `eslint.config.js` for your _flat_ eslint config file and merge the configs you need for the project:
```js
import config from "@squonk/eslint-config";
export default config.map((c) => ({ ...c, ignores: ["**/dist/**"] }));
```
Add any files and directories you wish to ignore since .eslintignore is removed for flat configs.
4. Install peer dependencies or (preferred) set `--resolve--resolve-plugins-relative-to="path/to/@squonk/eslint-config"` (may be a monorepo or the node-modules folder)
## Development
Releasing a new version:
1. Merge the PR created by `release-please`
2. From the repo run `pnpm publish`