tseslint
v0.0.2
Published
ESLint configuration extending Prettier, Airbnb, React, and Typescript (also import resolvers) 🤠
Downloads
1,506
Readme
eslint-config-parts
ESLint configuration extending Prettier, Airbnb, React, and Typescript (also import resolvers) 🤠
Installation
This packages does not ship with dependencies, so you can use install-peerdeps
to install all the peer dependencies required.
# using npm
npx install-peerdeps --dev eslint-config-parts
# using yarn
npx install-peerdeps --dev --yarn eslint-config-parts
Usage
Extend the config and add your own rules and settings. This package only adds settings for the import extensions/parsers/resolver (see config).
// .eslintrc.js
module.exports = {
extends: ["eslint-config-parts"],
parserOptions: {
project: "./tsconfig.json",
},
rules: {
// your custom rules
},
settings: {
// your custom settings
},
};
References
- eslint-config-airbnb-typescript
- eslint-config-kentcdodds
- eslint-config-react-typescript
- eslint-config-wesbos