[go: up one dir, main page]

@kurone-kito/eslint-config-base
TypeScript icon, indicating that this package has built-in type declarations

0.16.1 • Public • Published

@kurone-kito/eslint-config-base

My ESLint configuration for general Node.js projects.

Usage

Use the flat config (recommended)

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';

for legacy configuration (deprecated)

⚠️ DEPRECATED: The legacy configuration is removed. When you prefer to use the legacy configuration, please use the previous version.

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

License

MIT

Package Sidebar

Install

npm i @kurone-kito/eslint-config-base

Weekly Downloads

320

Version

0.16.1

License

MIT

Unpacked Size

30.1 kB

Total Files

47

Last publish

Collaborators

  • kurone-kito