@llc1123/eslint-config v1.9.0
ESLint Configs
Inspired by eslint-config-react-app.
Supports React and Typescript.
Usage
First, install this package, ESLint and the necessary plugins. Note that when using npm 7 (or greater) this step is not required, as npm will automatically install peer dependencies.
npm install --save-dev @llc1123/eslint-config @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint eslint-config-prettier eslint-plugin-import eslint-plugin-prettier eslint-plugin-react eslint-plugin-react-hooks prettierThen create a file named .eslintrc.js with following contents in the root folder of your project:
module.exports = {
  extends: ['@llc1123'],
}That's it! You can override the settings from @llc1123/eslint-config by editing the .eslintrc.js file. Learn more about configuring ESLint on the ESLint website.
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago