eslint-config-3box

1.0.0 • Public • Published

eslint-config-3box

Shared ESLint configuration for 3Box projects.

Installation

eslint-config-3box only includes configurations and plugins. ESLint and Prettier must be installed in the project using the config.

pnpm add -D eslint prettier
pnpm add -D eslint-config-3box

Usage

In your project's .eslintrc.json file (or alternative configuration), add to the extends array:

{
  "extends": ["3box"]
}

Additional configurations are also available:

  • 3box/jest when using Jest for tests.
  • 3box/react when using React.
  • 3box/typescript when using TypeScript.

The Prettier configuration can be imported from the eslint-config-3box/prettier.config module.

License

Apache-2.0 OR MIT

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-config-3box

Weekly Downloads

447

Version

1.0.0

License

(Apache-2.0 OR MIT)

Unpacked Size

3.78 kB

Total Files

7

Last publish

Collaborators

  • paul_lecam