11.0.0 • Published 5 years ago
eslint-plugin-emotion v11.0.0
eslint-plugin-emotion
Apply eslint rules to emotion.sh css-in-js
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-emotion
:
$ npm install eslint-plugin-emotion --save-dev
Note: If you installed ESLint globally (using the -g
flag) then you must also install eslint-plugin-emotion
globally.
Usage
Add emotion
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": ["emotion"]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"emotion/syntax-preference": [2, "string"]
}
}
Supported Rules
11.0.0
5 years ago
11.0.0-rc.0
5 years ago
11.0.0-next.10
5 years ago
10.0.27
5 years ago
11.0.0-next.9
6 years ago
10.0.14
6 years ago
10.0.7
6 years ago
10.0.6
6 years ago
10.0.0
7 years ago
10.0.0-beta.13
7 years ago
10.0.0-beta.12
7 years ago
10.0.0-beta.11
7 years ago
10.0.0-beta.10
7 years ago
10.0.0-beta.9
7 years ago
10.0.0-beta.8
7 years ago
10.0.0-beta.7
7 years ago
10.0.0-beta.6
7 years ago
10.0.0-beta.5
7 years ago
10.0.0-beta.4
7 years ago
10.0.0-beta.3
7 years ago
10.0.0-beta.2
7 years ago
10.0.0-beta.1
7 years ago
10.0.0-beta.0
7 years ago
10.0.0-really-unsafe-please-do-not-use.2
7 years ago
10.0.0-really-unsafe-please-do-not-use.1
7 years ago
10.0.0-really-unsafe-please-do-not-use.0
7 years ago
9.2.6
7 years ago
9.2.5
7 years ago
9.1.0
7 years ago