@arters/eslint-config v1.10.2
Eslint-config
ESLint Config consists many ESLint presets. They are designed to work with each other without any conflicts for much more convenient projects developing.
Default ESLint module resolution behavior doesn't allow doing it this way. The patch preset fixes this problem. It uses @rushstack/eslint-patch under the hood. The base preset encapsulates some base plugins and rules. Tested on production!
- ⚡️ Easy and fast installation.
- ⚙️ Only necessary rules to provide error checking and readability improving.
- 🧩 Modular usage. Easily combine presets for the different technologies.
- 🔗 Almost conflict free.
Plugins
Installation
yarn add eslint @typescript-eslint/parser @arters/eslint-config -D
After installing, update your project's ESLint config of .eslintrc.js
:
module.exports = {
extends: ['@arters/eslint-config'],
parser: '@typescript-eslint/parser',
parserOptions: {
project: ['./tsconfig.json'],
tsconfigRootDir: __dirname,
},
settings: {
'import/resolver': {
typescript: {
project: ['./tsconfig.json'],
},
},
},
}
Read the ESlint config docs for more information.
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
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 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