@chubbyts/chubbyts-eslint
Version:
ESLint Configuration for chubbyts libraries / framework / projects.
77 lines (57 loc) • 3.5 kB
Markdown
# chubbyts-eslint
[](https://github.com/chubbyts/chubbyts-eslint/actions?query=workflow%3ACI)
[](https://www.npmjs.com/package/@chubbyts/chubbyts-eslint)
[](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-eslint)
[](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-eslint)
[](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-eslint)
[](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-eslint)
[](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-eslint)
[](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-eslint)
[](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-eslint)
[](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-eslint)
[](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-eslint)
[](https://sonarcloud.io/dashboard?id=chubbyts_chubbyts-eslint)
## Description
ESLint Configuration for chubbyts libraries / framework / projects.
## Requirements
* node: 18
* [@eslint/js"][2]: ^9.39.1
* [eslint][3]: ^9.39.1
* [eslint-import-resolver-typescript][4]: ^4.4.4
* [eslint-plugin-functional][5]: ^9.0.2
* [eslint-plugin-import][6]: ^2.32.0
* [eslint-plugin-unused-imports][7]: ^4.3.0
* [typescript-eslint][8]: ^8.46.3
## Installation
Through [NPM](https://www.npmjs.com) as [@chubbyts/chubbyts-eslint][1].
```sh
npm i @chubbyts/chubbyts-eslint@^4.0.9
```
## Configuration
### Module
#### tsconfig.eslint.json
Example for a codebase with typescript files in src and tests:
```json
{
"extends": "./tsconfig.json",
"include": [
"eslint.config.js",
"src",
"tests"
],
}
```
#### eslint.config.js
```js
export { default } from '@chubbyts/chubbyts-eslint/dist/eslint.config';
```
## Copyright
2025 Dominik Zogg
[1]: https://www.npmjs.com/package/@chubbyts/chubbyts-eslint
[2]: https://www.npmjs.com/package/@eslint/js
[3]: https://www.npmjs.com/package/eslint
[4]: https://www.npmjs.com/package/eslint-import-resolver-typescript
[5]: https://www.npmjs.com/package/eslint-plugin-functional
[6]: https://www.npmjs.com/package/eslint-plugin-import
[7]: https://www.npmjs.com/package/eslint-plugin-unused-imports
[8]: https://www.npmjs.com/package/typescript-eslint