@anolilab/stylelint-config 11.1.1 → 12.0.0
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
CHANGED
|
@@ -1,3 +1,34 @@
|
|
|
1
|
+
## @anolilab/stylelint-config [12.0.0](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/stylelint-config@11.1.2...@anolilab/stylelint-config@12.0.0) (2026-10-21)
|
|
2
|
+
|
|
3
|
+
### ⚠ BREAKING CHANGES
|
|
4
|
+
|
|
5
|
+
* **oxlint-config:** run the JS-plugin and native rules eslint-config enables (#1245)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **oxlint-config:** run the JS-plugin and native rules eslint-config enables ([#1245](https://github.com/anolilab/javascript-style-guide/issues/1245)) ([ca63d08](https://github.com/anolilab/javascript-style-guide/commit/ca63d084e0b1d8a569a045dd79ec48eb13ea6ee7))
|
|
10
|
+
|
|
11
|
+
### Miscellaneous Chores
|
|
12
|
+
|
|
13
|
+
* **deps:** combine open Renovate updates (13 PRs) ([#1230](https://github.com/anolilab/javascript-style-guide/issues/1230)) ([7e07dea](https://github.com/anolilab/javascript-style-guide/commit/7e07dea0861739aa8cc1d52c5987a2e13baeeaec))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Dependencies
|
|
17
|
+
|
|
18
|
+
* **browserslist-config-anolilab:** upgraded to 10.0.0
|
|
19
|
+
* **@anolilab/eslint-config:** upgraded to 31.0.0
|
|
20
|
+
* **@anolilab/prettier-config:** upgraded to 11.0.0
|
|
21
|
+
* **postcss:** 8.5.29 → 8.5.31
|
|
22
|
+
|
|
23
|
+
## @anolilab/stylelint-config [11.1.2](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/stylelint-config@11.1.1...@anolilab/stylelint-config@11.1.2) (2026-10-12)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Dependencies
|
|
27
|
+
|
|
28
|
+
* **@anolilab/eslint-config:** upgraded to 30.0.5
|
|
29
|
+
* **stylelint-no-unsupported-browser-features:** 8.1.1 → 8.1.2
|
|
30
|
+
* **postcss:** 8.5.25 → 8.5.29
|
|
31
|
+
|
|
1
32
|
## @anolilab/stylelint-config [11.1.1](https://github.com/anolilab/javascript-style-guide/compare/%40anolilab%2Fstylelint-config%4011.1.0...%40anolilab%2Fstylelint-config%4011.1.1) (2026-08-10)
|
|
2
33
|
|
|
3
34
|
|
package/dist/bin.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{existsSync as
|
|
2
|
+
import{existsSync as c}from"node:fs";import{readFile as y,writeFile as a}from"node:fs/promises";import{join as l}from"node:path";import{exit as s}from"node:process";const e=".stylelintrc",f=async(t,n)=>{const o=[e,`${e}.js`,`${e}.cjs`,`${e}.json`,`${e}.yaml`,`${e}.yml`,"stylelint.config.js","stylelint.config.cjs"];for(const r of o)if(c(l(t,r))){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 i=l(t,".stylelintrc.js");await a(i,`${n?"export default":"module.exports ="} {
|
|
3
3
|
"extends": [
|
|
4
4
|
"@anolilab/stylelint-config",
|
|
5
5
|
]
|
|
6
6
|
};
|
|
7
7
|
|
|
8
|
-
`,"utf8")},g=async
|
|
8
|
+
`,"utf8")},g=async t=>{const n=l(t,".stylelintignore");if(c(n))return;await a(n,`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
|
-
`,"utf8")};(async()=>{const
|
|
18
|
-
`);try{await
|
|
17
|
+
`,"utf8")};(async()=>{const t=process.cwd(),n=l(t,"package.json");c(n)||(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 o=JSON.parse(await y(n,"utf8"));console.log("Configuring @anolilab/stylelint-config",t,`
|
|
18
|
+
`);try{await f(t,typeof o=="object"&&o!==null&&"type"in o&&o.type==="module"),await g(t),console.log("😎 Everything went well, have fun!"),s(0)}catch(i){console.log("😬 something went wrong:"),console.error(i),s(1)}})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const s=require("node:process"),o=require("browserslist-config-anolilab"),t=r=>r&&typeof r=="object"&&"default"in r?r.default:r,e=t(o),n={plugins:["stylelint-no-unsupported-browser-features"],rules:{"plugin/no-unsupported-browser-features":[!0,{browsers:s.env.NODE_ENV==="production"?e.production:e.modernBrowsers,severity:"warning"}]}};module.exports=n;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{env as
|
|
1
|
+
import{env as o}from"node:process";import r from"browserslist-config-anolilab";const t={plugins:["stylelint-no-unsupported-browser-features"],rules:{"plugin/no-unsupported-browser-features":[!0,{browsers:o.NODE_ENV==="production"?r.production:r.modernBrowsers,severity:"warning"}]}};export{t as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const t={plugins:["stylelint-require-units"],rules:{"matterialize/stylelint-require-units":!0}};module.exports=t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const t={plugins:["stylelint-selector-no-empty"],rules:{"plugin/stylelint-selector-no-empty":!0}};module.exports=t;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anolilab/stylelint-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "12.0.0",
|
|
4
4
|
"description": "Stylelint shareable config for the Anolilab stylesheet guide.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"css",
|
|
@@ -182,17 +182,17 @@
|
|
|
182
182
|
"index.mjs"
|
|
183
183
|
],
|
|
184
184
|
"dependencies": {
|
|
185
|
-
"browserslist-config-anolilab": "
|
|
185
|
+
"browserslist-config-anolilab": "10.0.0",
|
|
186
186
|
"stylelint-config-clean-order": "10.0.0",
|
|
187
187
|
"stylelint-config-standard": "40.0.0",
|
|
188
188
|
"stylelint-declaration-block-no-ignored-properties": "3.0.0",
|
|
189
189
|
"stylelint-high-performance-animation": "2.0.0",
|
|
190
|
-
"stylelint-no-unsupported-browser-features": "8.1.
|
|
190
|
+
"stylelint-no-unsupported-browser-features": "8.1.2",
|
|
191
191
|
"stylelint-require-units": "^2.0.0",
|
|
192
192
|
"stylelint-selector-no-empty": "^1.0.9"
|
|
193
193
|
},
|
|
194
194
|
"peerDependencies": {
|
|
195
|
-
"postcss": "8.5.
|
|
195
|
+
"postcss": "8.5.31",
|
|
196
196
|
"stylelint": "^15.11.0 || 16.x || 17.x"
|
|
197
197
|
},
|
|
198
198
|
"engines": {
|