@foray1010/stylelint-config 5.0.5 → 7.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
@@ -3,6 +3,42 @@
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
+ ## [7.0.0](https://github.com/foray1010/common-presets/compare/@foray1010/stylelint-config@6.0.1...@foray1010/stylelint-config@7.0.0) (2022-08-24)
7
+
8
+ ### ⚠ BREAKING CHANGES
9
+
10
+ - **stylelint-config:** drop stylelint 14.10
11
+ - **stylelint-config:** drop stylelint 14.9
12
+
13
+ Co-authored-by: Alex Young <foray1010@users.noreply.github.com>
14
+
15
+ ### Bug Fixes
16
+
17
+ - remove unused ignore patterns ([11d05bf](https://github.com/foray1010/common-presets/commit/11d05bf3e7cb001d1260f885089500e1ddf5fb02))
18
+ - **stylelint-config:** update dependency stylelint-config-standard to v27 ([#502](https://github.com/foray1010/common-presets/issues/502)) ([0eb5cc1](https://github.com/foray1010/common-presets/commit/0eb5cc12f84907d0ee0935f17ffe691f9bafbf9c))
19
+ - **stylelint-config:** update dependency stylelint-config-standard to v28 ([7ce3564](https://github.com/foray1010/common-presets/commit/7ce3564b766cc4c55d19ce8f63234564358ba9da))
20
+
21
+ ## [6.0.1](https://github.com/foray1010/common-presets/compare/@foray1010/stylelint-config@6.0.0...@foray1010/stylelint-config@6.0.1) (2022-06-13)
22
+
23
+ ### Bug Fixes
24
+
25
+ - should drop node 17 in version range ([0e911fd](https://github.com/foray1010/common-presets/commit/0e911fd737e472d699bfc32d866067ed6ccfa269))
26
+
27
+ ## [6.0.0](https://github.com/foray1010/common-presets/compare/@foray1010/stylelint-config@5.0.5...@foray1010/stylelint-config@6.0.0) (2022-06-13)
28
+
29
+ ### ⚠ BREAKING CHANGES
30
+
31
+ - **deps:** drop stylelint <14.9.0
32
+ - drop node 12 and 17
33
+
34
+ ### Bug Fixes
35
+
36
+ - **deps:** update dependency stylelint-config-standard to v26 ([bd9dd3b](https://github.com/foray1010/common-presets/commit/bd9dd3b4b9635dfee022c26d74d182da4bf8c391))
37
+
38
+ ### Miscellaneous Chores
39
+
40
+ - drop node 12 and 17 ([c43351e](https://github.com/foray1010/common-presets/commit/c43351e0da92209fc3100d9cb1bc129af320fdac))
41
+
6
42
  ### [5.0.5](https://github.com/foray1010/common-presets/compare/@foray1010/stylelint-config@5.0.4...@foray1010/stylelint-config@5.0.5) (2022-04-05)
7
43
 
8
44
  ### Bug Fixes
package/README.md CHANGED
@@ -20,11 +20,14 @@ Z for looser rules
20
20
 
21
21
  1. `yarn add -DE prettier stylelint @foray1010/stylelint-config`
22
22
 
23
- 1. Create an `.stylelintrc.yml` in the project root
23
+ 1. Create an `.stylelintrc.cjs` in the project root
24
24
 
25
- ```yml
26
- extends:
27
- - '@foray1010/stylelint-config'
25
+ ```js
26
+ 'use strict'
27
+
28
+ module.exports = {
29
+ extends: ['@foray1010/stylelint-config'],
30
+ }
28
31
  ```
29
32
 
30
33
  1. Use default stylelintignore via npm script
package/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  'use strict'
2
2
 
3
+ /** @type {import('stylelint').Config} */
3
4
  module.exports = {
4
5
  extends: [
5
6
  'stylelint-config-standard',
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": "5.0.5",
4
+ "version": "7.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": {
@@ -16,23 +16,29 @@
16
16
  "*.md",
17
17
  "stylelintignore"
18
18
  ],
19
+ "scripts": {
20
+ "type:check": "tsc"
21
+ },
19
22
  "dependencies": {
20
23
  "stylelint-config-css-modules": "^4.0.0",
21
24
  "stylelint-config-idiomatic-order": "^8.1.0",
22
25
  "stylelint-config-prettier": "^9.0.0",
23
- "stylelint-config-standard": "^25.0.0",
26
+ "stylelint-config-standard": "^28.0.0",
24
27
  "stylelint-no-unsupported-browser-features": "^5.0.0",
25
28
  "stylelint-prettier": "^2.0.0"
26
29
  },
30
+ "devDependencies": {
31
+ "typescript": "4.7.4"
32
+ },
27
33
  "peerDependencies": {
28
- "prettier": ">=2 <3",
29
- "stylelint": ">=14 <15"
34
+ "prettier": "^2.0.0",
35
+ "stylelint": "^14.11.0"
30
36
  },
31
37
  "engines": {
32
- "node": "^12.22.0 || ^14.17.0 || >=16.13.0"
38
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
33
39
  },
34
40
  "publishConfig": {
35
41
  "access": "public"
36
42
  },
37
- "gitHead": "4ef900b508bad3ab5f5c29a904ddd9021af43310"
43
+ "gitHead": "4558b3b10e979f052739e103aef0aad62f3e637b"
38
44
  }
package/stylelintignore CHANGED
@@ -2,4 +2,3 @@ build/
2
2
  coverage/
3
3
  dist/
4
4
  node_modules/
5
- out/
package/tsconfig.json ADDED
@@ -0,0 +1,8 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+ "extends": "@foray1010/tsconfig",
4
+ "compilerOptions": {
5
+ "allowJs": true,
6
+ "checkJs": true
7
+ }
8
+ }