Welcome to eslint-config-productsway 👋
Airbnb's ESLint config with TypeScript and Prettier support
Install
yarn add -D eslint-config-productsway
Usage
Create a .eslintrc.js file in the root of your project's directory
module.exports = {
extends: ['airbnb-typescript-prettier'],
};
Configure the ESLint TypeScript parser
module.exports = {
extends: ['airbnb-typescript-prettier'],
parserOptions: {
project: './tsconfig.json',
}
};
Run ESLint
Open a terminal to the root of your project, and run the following command:
npx eslint . --ext .js,.jsx,.ts,.tsx
Author
👤 Huynh Duc Dung
Show your support
Give a ⭐️ if this project helped you!
This README was generated with ❤️ by readme-md-generator