1.0.15 • Published 2 days ago
eslint-config-ozum v1.0.15
eslint-config-ozum
Highly opinionated ESLint plugin for various TypeScript projects.
Usage
npm install -D eslint eslint-config-ozum
.eslintrc.cjs
module.exports = {
root: true,
extends: ["ozum"], // or ["ozum/minimum"] or ["ozum/maximum"]
};
Suggestions
- For
push
andCI
, prefer to useozum/maximum
- For development use any configuration.
.eslintrc.cjs
module.exports = {
root: true,
extends: ["ozum"],
};
.eslintrc-maximum.cjs
module.exports = {
root: true,
extends: ["ozum/maximum"],
};
When | Config | Where | Example |
---|---|---|---|
Development | ozum | package.json | lint: "eslint --ignore-path .gitignore --cache --max-warnings 0 --ext js,jsx,ts,tsx,vue --fix ." |
Push | ozum/maximum | .lint-staged.config.js | "*.{jsx,tsx,vue,js,ts}": ["eslint --no-ignore --cache --max-warnings 0 --fix --no-eslintrc -c ./.eslintrc-maximum.cjs"], |
CI | ozum/maximum | .github/workflows/build.yml | pnpm lint --no-fix --no-eslintrc -c ./.eslintrc-maximum.cjs |
Configurations
Name | Parser Service | Description |
---|---|---|
ozum/minimum | ✗ | Non-type-checked rules and basic import rules. |
ozum | ✔ | Type checked rules. |
ozum/maximum | ✔ | Type checked rules and additional import rules. |
Plugins & Configs
- TypeScript
- Airbnb Base Typescript
- Jest
- Promise
- Unicorn
1.0.15
2 days ago
1.0.11
5 days ago
1.0.14
5 days ago
1.0.13
5 days ago
1.0.12
5 days ago
1.0.10
8 days ago
1.0.9
1 month ago
1.0.8
2 months ago
1.0.7
2 months ago
1.0.6
5 months ago
1.0.5
5 months ago
1.0.4
8 months ago
1.0.3
8 months ago
1.0.2
9 months ago
1.0.1
10 months ago
1.0.0
10 months ago
0.0.11
10 months ago
0.0.9
10 months ago
0.0.8
10 months ago
0.0.7
10 months ago
0.0.6
10 months ago
0.0.3
12 months ago
0.0.5
12 months ago
0.0.4
12 months ago
0.0.2
1 year ago
0.0.1
1 year ago