@jeonbyeongmin/eslint-config
v0.1.6
Published
By default, this package includes the following configurations:
Readme
@jeonbyeongmin/eslint-config
By default, this package includes the following configurations:
- @jeonbyeongmin/eslint-config - ESLint config for JavaScript
- @jeonbyeongmin/eslint-config/react - ESLint config for React
And if your package.json includes typescript in devDependencies, it also automatically configures TypeScript. Jest also works the same way.
Installation
npm install --save-dev @jeonbyeongmin/eslint-config eslintIf you use yarn berry, you have to install @rushstack/eslint-patch too. Check this issues
yarn add --dev @jeonbyeongmin/eslint-config eslint @rushstack/eslint-patchUsage
- Create
.eslintrc.jsonfile in your project root directory.
{
"extends": "@jeonbyeongmin/eslint-config",
"overrides": []
}{
"extends": "@jeonbyeongmin/eslint-config/react"
"overrides": []
}- If you use yarn berry, you have to use
jsformat. And import@rushstack/eslint-patchlike this.
require('@rushstack/eslint-patch/modern-module-resolution');
module.exports = {
extends: '@jeonbyeongmin/eslint-config',
overrides: []
};
