1.0.15 • Published 1 year 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
1 year ago
1.0.11
1 year ago
1.0.14
1 year ago
1.0.13
1 year ago
1.0.12
1 year ago
1.0.10
1 year ago
1.0.9
1 year ago
1.0.8
1 year ago
1.0.7
1 year ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago
0.0.11
2 years ago
0.0.9
2 years ago
0.0.8
2 years ago
0.0.7
2 years ago
0.0.6
2 years ago
0.0.3
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago