@foray1010/stylelint-config 11.0.0 → 13.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 +25 -0
- package/README.md +3 -4
- package/{index.cjs → index.mjs} +2 -3
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,31 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [13.0.0](https://github.com/foray1010/common-presets/compare/@foray1010/stylelint-config@12.0.0...@foray1010/stylelint-config@13.0.0) (2023-08-10)
|
|
7
|
+
|
|
8
|
+
### ⚠ BREAKING CHANGES
|
|
9
|
+
|
|
10
|
+
- **deps:** update prettier to v3
|
|
11
|
+
- **stylelint-config:** require stylelint ^15.10.0
|
|
12
|
+
- **stylelint-config:** require stylelint ^15.8.0
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
- **deps:** update prettier to v3 ([4724464](https://github.com/foray1010/common-presets/commit/4724464c1c272df3eb686b168d836a9a696c11a2))
|
|
17
|
+
- **deps:** update stylelint-no-unsupported-browser-features to v7 ([0ae75c5](https://github.com/foray1010/common-presets/commit/0ae75c546ae7c9504c7a6ef7ca9198161fb705bf))
|
|
18
|
+
- **stylelint-config:** update stylelint-config-standard to v34 ([400dcaf](https://github.com/foray1010/common-presets/commit/400dcafabf22e807ab1ee1e4a5b0a4a43053c540))
|
|
19
|
+
- **stylelint-config:** use mjs ([b63fb5b](https://github.com/foray1010/common-presets/commit/b63fb5b8c6cfa7a317143d584f390774f5d4b95b))
|
|
20
|
+
|
|
21
|
+
## [12.0.0](https://github.com/foray1010/common-presets/compare/@foray1010/stylelint-config@11.0.0...@foray1010/stylelint-config@12.0.0) (2023-04-22)
|
|
22
|
+
|
|
23
|
+
### ⚠ BREAKING CHANGES
|
|
24
|
+
|
|
25
|
+
- **deps:** require stylelint `^15.5.0`
|
|
26
|
+
|
|
27
|
+
### Bug Fixes
|
|
28
|
+
|
|
29
|
+
- **deps:** update dependency stylelint-config-standard to v33 ([799d48f](https://github.com/foray1010/common-presets/commit/799d48f6592e4d73b1d4f7b67f6744e1cda7db96))
|
|
30
|
+
|
|
6
31
|
## [11.0.0](https://github.com/foray1010/common-presets/compare/@foray1010/stylelint-config@10.1.1...@foray1010/stylelint-config@11.0.0) (2023-03-23)
|
|
7
32
|
|
|
8
33
|
### ⚠ BREAKING CHANGES
|
package/README.md
CHANGED
|
@@ -20,14 +20,13 @@ Z for looser rules
|
|
|
20
20
|
|
|
21
21
|
1. `yarn add -DE @foray1010/stylelint-config prettier stylelint`
|
|
22
22
|
|
|
23
|
-
1. Create an `.stylelintrc.
|
|
23
|
+
1. Create an `.stylelintrc.mjs` in the project root
|
|
24
24
|
|
|
25
25
|
```js
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
module.exports = {
|
|
26
|
+
const config = {
|
|
29
27
|
extends: ['@foray1010/stylelint-config'],
|
|
30
28
|
}
|
|
29
|
+
export default config
|
|
31
30
|
```
|
|
32
31
|
|
|
33
32
|
1. Use default stylelintignore via npm script
|
package/{index.cjs → index.mjs}
RENAMED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
'use strict'
|
|
2
|
-
|
|
3
1
|
/** @type {import('stylelint').Config} */
|
|
4
|
-
|
|
2
|
+
const stylelintConfig = {
|
|
5
3
|
extends: [
|
|
6
4
|
'stylelint-config-standard',
|
|
7
5
|
'stylelint-config-css-modules',
|
|
@@ -28,3 +26,4 @@ module.exports = {
|
|
|
28
26
|
],
|
|
29
27
|
},
|
|
30
28
|
}
|
|
29
|
+
export default stylelintConfig
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package",
|
|
3
3
|
"name": "@foray1010/stylelint-config",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "13.0.0",
|
|
5
5
|
"homepage": "https://github.com/foray1010/common-presets/tree/master/packages/stylelint-config#readme",
|
|
6
6
|
"bugs": "https://github.com/foray1010/common-presets/issues",
|
|
7
7
|
"repository": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"directory": "packages/stylelint-config"
|
|
11
11
|
},
|
|
12
12
|
"license": "MIT",
|
|
13
|
-
"exports": "./index.
|
|
13
|
+
"exports": "./index.mjs",
|
|
14
14
|
"files": [
|
|
15
15
|
"**/*.{cjs,js,json,mjs}",
|
|
16
16
|
"*.md",
|
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"stylelint-config-concentric-order": "^5.1.0",
|
|
24
24
|
"stylelint-config-css-modules": "^4.2.0",
|
|
25
|
-
"stylelint-config-standard": "^
|
|
26
|
-
"stylelint-no-unsupported-browser-features": "^
|
|
27
|
-
"stylelint-prettier": "^
|
|
25
|
+
"stylelint-config-standard": "^34.0.0",
|
|
26
|
+
"stylelint-no-unsupported-browser-features": "^7.0.0",
|
|
27
|
+
"stylelint-prettier": "^4.0.0"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"prettier": "^
|
|
31
|
-
"stylelint": "^15.
|
|
30
|
+
"prettier": "^3.0.0",
|
|
31
|
+
"stylelint": "^15.10.0"
|
|
32
32
|
},
|
|
33
33
|
"engines": {
|
|
34
34
|
"node": "^16.14.0 || >=18.12.0"
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "53eea83670d83a13b40cf0022f24badccfda681c"
|
|
40
40
|
}
|