https://github.com/eik-lib/eslint-config
Shared eslint config for Eik modules
https://github.com/eik-lib/eslint-config
eik eslint-config
Last synced: 4 months ago
JSON representation
Shared eslint config for Eik modules
- Host: GitHub
- URL: https://github.com/eik-lib/eslint-config
- Owner: eik-lib
- Created: 2024-07-30T10:47:45.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-10-09T11:23:57.000Z (8 months ago)
- Last Synced: 2024-10-09T13:24:01.306Z (8 months ago)
- Topics: eik, eslint-config
- Language: JavaScript
- Homepage: https://eik.dev
- Size: 13.7 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# @eik/eslint-config
Shared config for ESLint used in Eik projects.
## Install
```
npm install --save-dev eslint @eik/eslint-config
```## Usage
Create and add this to `eslint.config.js`:
```js
import config from "@eik/eslint-config";export default config;
```The default config should cover most needs, but you can extend or override if you need to.
```js
import config from "@eik/eslint-config";export default [
...config,
/* Your customisations */
{
ignores: [".docusaurus/*"],
},
];
```If you do need to change the config, consider whether that change should happen here in the shared config so it applies to all repos.