1.0.1 • Published 5 months ago
@10clouds/eslint-config v1.0.1
@10clouds/eslint-config
Baseline ESLint config for 10Clouds projects.
Quick start
Install the package:
npm install --save-dev @10clouds/eslint-config
yarn add --save-dev @10clouds/eslint-config
pnpm add --save-dev @10clouds/eslint-config
Add the following to your .eslintrc
:
{
"extends": ["@10clouds/eslint-config"],
"parserOptions": {
"project": "./tsconfig.json"
}
}
Or, if you are using React:
{
"extends": ["@10clouds/eslint-config/react"],
"parserOptions": {
"project": "./tsconfig.json"
}
}
Extending the config
The baseline configuration can be found here:
If you want to extend the config, here are some common use cases:
{
"plugins": ["simple-import-sort", "unused-imports"],
"rules": {
"simple-import-sort/imports": "warn",
"simple-import-sort/exports": "warn",
"unused-imports/no-unused-imports": "error"
}
}
Reporting issues
If you have found a bug or if you have a feature request, please use GitHub issues, or #eslint-config
support channel on Slack.
Do not post any proprietary code snippets on GitHub issues.
2.0.0-pre.19
5 months ago
2.0.0-pre.22
5 months ago
2.0.0-pre.21
5 months ago
2.0.0-pre.20
5 months ago
2.0.0-pre.18
5 months ago
2.0.0-pre.17
5 months ago
2.0.0-pre.16
5 months ago
2.0.0-pre.15
5 months ago
2.0.0-pre.1
8 months ago
1.1.0-pre.1
8 months ago
2.0.0-pre.5
8 months ago
2.0.0-pre.4
8 months ago
2.0.0-pre.3
8 months ago
2.0.0-pre.2
8 months ago
2.0.0-pre.9
7 months ago
2.0.0-pre.8
8 months ago
2.0.0-pre.7
8 months ago
2.0.0-pre.6
8 months ago
2.0.0-pre.14
7 months ago
2.0.0-pre.13
7 months ago
2.0.0-pre.12
7 months ago
2.0.0-pre.11
7 months ago
1.0.1
1 year ago
1.0.0
1 year ago