@paratco/eslint-config
v0.8.7
Published
Paratco ESLint Config
Downloads
454
Maintainers
Readme
@paratco/eslint-config
Paratco ESLint configs
- Typescript
- React (optional)
Installation
NPM:
npm install --save-dev @paratco/eslint-config eslint prettier typescript-eslint
Yarn:
yarn add -D @paratco/eslint-config eslint prettier typescript-eslint
Usage (Flat config):
Node.JS:
import paratcoEslintConfig from "@paratco/eslint-config";
export default [
...paratcoEslintConfig.node,
];
React:
import paratcoEslintConfig from "@paratco/eslint-config";
export default [
...paratcoEslintConfig.react,
];
Base (JS + TS rules):
import paratcoEslintConfig from "@paratco/eslint-config";
export default [
...paratcoEslintConfig.base,
];