@anolilab/stylelint-config 10.0.0 → 10.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/dist/bin.mjs +3 -3
- package/index.cjs +2 -5
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
## @anolilab/stylelint-config [10.1.1](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/stylelint-config@10.1.0...@anolilab/stylelint-config@10.1.1) (2026-02-28)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **eslint-config:** disable css/no-invalid-at-rules for Tailwind CSS … ([#1000](https://github.com/anolilab/javascript-style-guide/issues/1000)) ([aa8b26b](https://github.com/anolilab/javascript-style-guide/commit/aa8b26b4cb711ad956a8d6360e2cc9f45d50565e))
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Dependencies
|
|
9
|
+
|
|
10
|
+
* **@anolilab/eslint-config:** upgraded to 22.0.2
|
|
11
|
+
|
|
12
|
+
## @anolilab/stylelint-config [10.1.0](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/stylelint-config@10.0.0...@anolilab/stylelint-config@10.1.0) (2026-02-21)
|
|
13
|
+
|
|
14
|
+
### Miscellaneous Chores
|
|
15
|
+
|
|
16
|
+
* **stylelint-config:** add ESLint integration and migrate prettier config to ESM ([30eb3d0](https://github.com/anolilab/javascript-style-guide/commit/30eb3d036249e99dc0ffd9c6f00f3fecf670a2a9))
|
|
17
|
+
* **stylelint-config:** simplify .prettierignore ([cd0a9e7](https://github.com/anolilab/javascript-style-guide/commit/cd0a9e7c9fc0f328e5fba471c31285613b8a029d))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Dependencies
|
|
21
|
+
|
|
22
|
+
* **@anolilab/eslint-config:** upgraded to 22.0.0
|
|
23
|
+
* **@anolilab/prettier-config:** upgraded to 9.1.1
|
|
24
|
+
|
|
1
25
|
## @anolilab/stylelint-config [10.0.0](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/stylelint-config@9.0.0...@anolilab/stylelint-config@10.0.0) (2026-01-29)
|
|
2
26
|
|
|
3
27
|
## @anolilab/stylelint-config [9.0.0](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/stylelint-config@8.0.1...@anolilab/stylelint-config@9.0.0) (2026-01-11)
|
package/dist/bin.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
var f=Object.defineProperty;var
|
|
2
|
+
var f=Object.defineProperty;var a=(e,o)=>f(e,"name",{value:o,configurable:!0});import{existsSync as r}from"node:fs";import{readFile as g,writeFile as c}from"node:fs/promises";import{join as l}from"node:path";import{exit as s}from"node:process";var d=Object.defineProperty,y=a((e,o)=>d(e,"name",{value:o,configurable:!0}),"i");const t=".stylelintrc",u=y(async(e,o)=>{for(const i of[t,`${t}.js`,`${t}.cjs`,`${t}.json`,`${t}.yaml`,`${t}.yml`,"stylelint.config.js","stylelint.config.cjs"])if(r(l(e,i))){console.warn('⚠️ .stylelintrc.js already exists; Make sure that it includes the following for @anolilab/stylelint-config to work as it should: { "extends": ["@anolilab/stylelint-config"] }.');return}const n=l(e,".stylelintrc.js");await c(n,`${o?"export default":"module.exports ="} {
|
|
3
3
|
"extends": [
|
|
4
4
|
"@anolilab/stylelint-config",
|
|
5
5
|
]
|
|
6
6
|
};
|
|
7
7
|
|
|
8
|
-
`,"
|
|
8
|
+
`,"utf8")},"writeStylelintRc"),m=y(async e=>{const o=l(e,".stylelintignore");r(o)||await c(o,`package.json
|
|
9
9
|
package-lock.json
|
|
10
10
|
yarn.lock
|
|
11
11
|
pnpm-lock.yaml
|
|
@@ -14,5 +14,5 @@ node_modules/**
|
|
|
14
14
|
.next/**
|
|
15
15
|
dist/**
|
|
16
16
|
|
|
17
|
-
`,"
|
|
17
|
+
`,"utf8")},"writeStylelintIgnore");(async()=>{const e=process.cwd(),o=l(e,"package.json");r(o)||(console.error("😬 No package.json found in the current directory. You need to run this command in a directory with a package.json file."),s(1));const n=JSON.parse(await g(o,"utf8"));console.log("Configuring @anolilab/stylelint-config",e,`
|
|
18
18
|
`);try{await u(e,n?.type==="module"),await m(e),console.log("😎 Everything went well, have fun!"),s(0)}catch(i){console.log("😬 something went wrong:"),console.error(i),s(1)}})();
|
package/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/* eslint-disable import/no-commonjs */
|
|
2
2
|
const config = [
|
|
3
3
|
"./dist/config/best-practices.cjs",
|
|
4
4
|
"./dist/config/declaration-block-no-ignored-properties.cjs",
|
|
@@ -11,8 +11,5 @@ const config = [
|
|
|
11
11
|
];
|
|
12
12
|
|
|
13
13
|
module.exports = {
|
|
14
|
-
extends: [
|
|
15
|
-
...config.map((element) => require.resolve(element)),
|
|
16
|
-
"stylelint-config-clean-order",
|
|
17
|
-
],
|
|
14
|
+
extends: [...config.map((element) => require.resolve(element)), "stylelint-config-clean-order"],
|
|
18
15
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anolilab/stylelint-config",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.1.1",
|
|
4
4
|
"description": "Stylelint shareable config for the Anolilab stylesheet guide.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"css",
|
|
@@ -181,11 +181,11 @@
|
|
|
181
181
|
],
|
|
182
182
|
"dependencies": {
|
|
183
183
|
"browserslist-config-anolilab": "8.0.0",
|
|
184
|
-
"stylelint-config-clean-order": "
|
|
184
|
+
"stylelint-config-clean-order": "8.0.1",
|
|
185
185
|
"stylelint-config-standard": "40.0.0",
|
|
186
186
|
"stylelint-declaration-block-no-ignored-properties": "3.0.0",
|
|
187
187
|
"stylelint-high-performance-animation": "2.0.0",
|
|
188
|
-
"stylelint-no-unsupported-browser-features": "
|
|
188
|
+
"stylelint-no-unsupported-browser-features": "8.1.1",
|
|
189
189
|
"stylelint-require-units": "^2.0.0",
|
|
190
190
|
"stylelint-selector-no-empty": "^1.0.9"
|
|
191
191
|
},
|