mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
* Fix unwanted stacking behavior on any non-darkModeVariant "dark" variant (#2380) * Add failing tests for non-darkModeVariant "dark" variant stacking behavior * Fix unwanted non-darkModeVariant "dark" variant stacking (by making the failing test pass) * Add unstable_stack option for variants to tell Tailwind they should stack * Update eslint to allow unstable_ variables * Update changelog Co-authored-by: Navith <28162694+JakeNavith@users.noreply.github.com>
30 lines
652 B
JSON
30 lines
652 B
JSON
{
|
|
"env": {
|
|
"jest": true
|
|
},
|
|
"parserOptions": {
|
|
"ecmaVersion": 2018,
|
|
"sourceType": "module"
|
|
},
|
|
"extends": ["eslint-config-postcss", "prettier"],
|
|
"plugins": ["prettier"],
|
|
"rules": {
|
|
"camelcase": ["error", { "allow": ["^unstable_"] }],
|
|
"no-unused-vars": [2, { "args": "all", "argsIgnorePattern": "^_" }],
|
|
"no-warning-comments": 0,
|
|
"prettier/prettier": [
|
|
"error",
|
|
{
|
|
"semi": false,
|
|
"singleQuote": true,
|
|
"printWidth": 100,
|
|
"tabWidth": 2,
|
|
"useTabs": false,
|
|
"trailingComma": "es5",
|
|
"bracketSpacing": true,
|
|
"parser": "flow"
|
|
}
|
|
]
|
|
}
|
|
}
|