https://github.com/koddsson/eslint-config
My eslint configuration
https://github.com/koddsson/eslint-config
Last synced: 3 months ago
JSON representation
My eslint configuration
- Host: GitHub
- URL: https://github.com/koddsson/eslint-config
- Owner: koddsson
- Created: 2023-02-20T11:56:10.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-02-17T17:47:41.000Z (over 1 year ago)
- Last Synced: 2025-02-17T18:40:05.341Z (over 1 year ago)
- Language: JavaScript
- Size: 416 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# eslint-config
This is my eslint configuration. There are many like it but this is mine.
```sh
npm install --save-dev eslint @koddsson/eslint-config
```
Add this to your package.json
```json
"scripts": {
"lint": "eslint \"src/**/*.{js,mjs,ts,mts}\""
}
```
And create a `eslint.config.js` with the config enabled:
```js
import koddssonConfig from "@koddsson/eslint-config";
export default [
...koddssonConfig,
// Rest of your config goes here.
];
```