11.0.0 • Published 3 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
3 years ago
11.0.0-rc.0
4 years ago
11.0.0-next.10
4 years ago
10.0.27
4 years ago
11.0.0-next.9
4 years ago
10.0.14
5 years ago
10.0.7
5 years ago
10.0.6
5 years ago
10.0.0
5 years ago
10.0.0-beta.13
5 years ago
10.0.0-beta.12
5 years ago
10.0.0-beta.11
5 years ago
10.0.0-beta.10
5 years ago
10.0.0-beta.9
5 years ago
10.0.0-beta.8
5 years ago
10.0.0-beta.7
6 years ago
10.0.0-beta.6
6 years ago
10.0.0-beta.5
6 years ago
10.0.0-beta.4
6 years ago
10.0.0-beta.3
6 years ago
10.0.0-beta.2
6 years ago
10.0.0-beta.1
6 years ago
10.0.0-beta.0
6 years ago
10.0.0-really-unsafe-please-do-not-use.2
6 years ago
10.0.0-really-unsafe-please-do-not-use.1
6 years ago
10.0.0-really-unsafe-please-do-not-use.0
6 years ago
9.2.6
6 years ago
9.2.5
6 years ago
9.1.0
6 years ago