1.0.15 • Published 1 year ago

eslint-config-ozum v1.0.15

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

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 and CI, prefer to use ozum/maximum
  • For development use any configuration.

.eslintrc.cjs

module.exports = {
  root: true,
  extends: ["ozum"],
};

.eslintrc-maximum.cjs

module.exports = {
  root: true,
  extends: ["ozum/maximum"],
};
WhenConfigWhere Example
Developmentozumpackage.jsonlint: "eslint --ignore-path .gitignore --cache --max-warnings 0 --ext js,jsx,ts,tsx,vue --fix ."
Pushozum/maximum.lint-staged.config.js"*.{jsx,tsx,vue,js,ts}": ["eslint --no-ignore --cache --max-warnings 0 --fix --no-eslintrc -c ./.eslintrc-maximum.cjs"],
CIozum/maximum.github/workflows/build.ymlpnpm lint --no-fix --no-eslintrc -c ./.eslintrc-maximum.cjs

Configurations

NameParser ServiceDescription
ozum/minimumNon-type-checked rules and basic import rules.
ozumType checked rules.
ozum/maximumType 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