@jchiam/eslint-plugin-css-in-js
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

npm Codecov GitHub last commit license

eslint-plugin-css-in-js

This plugin provides a collection of ESLint rules that help with linting CSS-in-JS codebases.

Installation

You'll first need to install ESLint:

npm i eslint, @jchiam/eslint-plugin-css-in-js --save-dev

Add the plugin to your ESLint config file (e.g. .eslintrc):

{
  "plugins": [
    ...,
    "@jchiam/eslint-plugin-css-in-js"
  ]
}

Usage

The plugin does not enable any rule out of the box. To add a rule, add them manually to the rules section in your ESLint config file.

{
  "rules": {
    "@jchiam/css-in-js/css-concentric-order": "warn"
  }
}

Supported Rules

Package Sidebar

Install

npm i @jchiam/eslint-plugin-css-in-js

Weekly Downloads

522

Version

0.0.3

License

MIT

Unpacked Size

30.9 kB

Total Files

18

Last publish

Collaborators

  • jchiam