eslint-config-toolkit-base

0.0.24 • Public • Published

eslint-config-toolkit-base

Base ESLint config for @carbon/toolkit projects

Usage

Run the following command using npm:

npm install eslint-config-toolkit-base --save

If you prefer Yarn, use the following command instead:

yarn add eslint-config-toolkit-base

In addition, eslint-config-toolkit-base requires eslint and eslint-plugin-import to be installed. You can install the correct versions of each package by running the following command:

npm info "eslint-config-toolkit-base@latest" peerDependencies

This typically gives you an output like:

{ eslint: '^3.19.0', 'eslint-plugin-import': '^2.2.0' }

Which you can then use like:

npm i eslint@^3.19.0 eslint-plugin-import@^2.2.0 --save-dev

Finally, just add "extends": "toolkit-base" to your .eslintrc.

In addition, we also have a sample project available in the examples folder of this project.

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-config-toolkit-base

Weekly Downloads

1

Version

0.0.24

License

Apache-2.0

Unpacked Size

39.8 kB

Total Files

14

Last publish

Collaborators

  • joshblack
  • carbon-bot