0.1.6 • Published 2 years ago

@kodansha/eslint-config v0.1.6

Weekly downloads
32
License
MIT
Repository
github
Last release
2 years ago

@kodansha/eslint-config

A set of KODANSHA ESLint configuration for TypeScript projects.

It is recommended to use this along with @kodansha/prettier-config.

Installation

npm install -D typescript eslint @kodansha/eslint-config

or

yarn add -D typescript eslint @kodansha/eslint-config

Usage

Defaults

To use the defaults preset, put .eslintrc.js in your project's root directory:

module.exports = {
  extends: ["@kodansha"],
  root: true,
};

Next.js

To use the preset for Next.js, put .eslintrc.js in your project's root directory:

module.exports = {
  extends: ["@kodansha/eslint-config/presets/next"],
  root: true,
};

React.js

To use the preset for React.js, put .eslintrc.js in your project's root directory:

module.exports = {
  extends: ["@kodansha/eslint-config/presets/react"],
  root: true,
};

Node.js

To use the preset for Node.js, put .eslintrc.js in your project's root directory:

module.exports = {
  extends: ["@kodansha/eslint-config/presets/node"],
  root: true,
};

Nest.js

To use the preset for Nest.js, put .eslintrc.js in your project's root directory:

module.exports = {
  extends: ["@kodansha/eslint-config/presets/nest"],
  root: true,
};
0.1.4

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.13

4 years ago

0.0.12

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago