mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Allows you to write a plugin that registers a new variant but only allows you to modify the selector (like what our built-in generators do.) Next steps are to support variants that wrap rules with at-rules (like @supports for example), variants that can modify properties (as opposed to just selectors), and to give variant plugin authors control over how responsive variants interact with their own variants.
30 lines
561 B
Plaintext
30 lines
561 B
Plaintext
{
|
|
"env": {
|
|
"jest": true
|
|
},
|
|
"parserOptions": {
|
|
"ecmaVersion": 6,
|
|
"sourceType": "module",
|
|
"ecmaFeatures": {
|
|
"experimentalObjectRestSpread": true
|
|
}
|
|
},
|
|
"extends": ["eslint-config-postcss", "prettier"],
|
|
"plugins": ["prettier"],
|
|
"rules": {
|
|
"prettier/prettier": [
|
|
"error",
|
|
{
|
|
"semi": false,
|
|
"singleQuote": true,
|
|
"printWidth": 100,
|
|
"tabWidth": 2,
|
|
"useTabs": false,
|
|
"trailingComma": "es5",
|
|
"bracketSpacing": true,
|
|
"parser": "flow"
|
|
}
|
|
]
|
|
}
|
|
}
|