eslint-config-carbon

3.12.0 • Public • Published

eslint-config-carbon

ESLint configuration for Carbon

Getting started

To install eslint-config-carbon in your project, you will need to run the following command using npm:

npm install -S eslint-config-carbon

If you prefer Yarn, use the following command instead:

yarn add eslint-config-carbon

Usage

You can use eslint-config-carbon in your project by extending it in your eslint configuration. For example, if we had an .eslintrc file:

{
  "extends": ["carbon"]
}

The default configuration available under eslint-config-carbon includes all ESLint configuration and plugins, including plugins for React.js development. If you'd like to not include these rules in your setup, you can also include a base or vanilla oriented configuration by doing the following:

{
  "extends": ["eslint-config-carbon/base"]
}

🙌 Contributing

We're always looking for contributors to help us fix bugs, build new features, or help us improve the project documentation. If you're interested, definitely check out our Contributing Guide! 👀

📝 License

Licensed under the Apache 2.0 License.

Package Sidebar

Install

npm i eslint-config-carbon

Weekly Downloads

858

Version

3.12.0

License

Apache-2.0

Unpacked Size

28.9 kB

Total Files

14

Last publish

Collaborators

  • joshblack
  • tay1orjones
  • tjegan
  • carbon-bot
  • jnm2377
  • dakahn
  • abbeyhrt
  • andreancardona