My ESLint configuration for general Node.js projects.
First, install this package and its peer dependencies:
npm install --save-dev @kurone-kito/eslint-config-base eslint typescript
Then, create a eslint.config.mjs
file.
If exists, merge the following configuration into it:
export { default } from '@kurone-kito/eslint-config-base';
First, install this package and its peer dependencies:
npm install --save-dev \
@kurone-kito/eslint-config-base@~0.15.0 \
@cspell/eslint-plugin \
eslint \
eslint-config-airbnb-typescript \
eslint-import-resolver-node \
eslint-import-resolver-typescript \
eslint-plugin-editorconfig \
eslint-plugin-import \
eslint-plugin-markdownlint \
eslint-plugin-n
Then, create a .eslintrc.yml
file.
If exists, merge the following configuration into it:
extends:
- '@kurone-kito/eslint-config-base/.eslintrc.yml'
root: true
MIT