@aarongoldenthal/stylelint-config-standard 3.0.1 → 6.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.
Files changed (3) hide show
  1. package/index.js +17 -1
  2. package/package.json +12 -30
  3. package/CHANGELOG.md +0 -49
package/index.js CHANGED
@@ -2,12 +2,28 @@
2
2
 
3
3
  module.exports = {
4
4
  extends: 'stylelint-config-standard',
5
+ overrides: [
6
+ {
7
+ files: [
8
+ '**/*.html',
9
+ '**/*.handlebars'
10
+ ],
11
+ customSyntax: 'postcss-html',
12
+ rules: {
13
+ indentation: 'tab'
14
+ }
15
+ }
16
+ ],
17
+ plugins: [
18
+ 'stylelint-csstree-validator'
19
+ ],
5
20
  reportDescriptionlessDisables: true,
6
21
  reportInvalidScopeDisables: true,
7
22
  reportNeedlessDisables: true,
8
23
  rules: {
9
24
  'color-hex-length': 'long',
10
25
  'indentation': 4,
11
- 'unit-allowed-list': ['%', 'em', 'fr', 'rem', 's', 'px', 'vh']
26
+ 'unit-allowed-list': ['%', 'em', 'fr', 'rem', 's', 'px', 'vh'],
27
+ 'csstree/validator': true
12
28
  }
13
29
  };
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@aarongoldenthal/stylelint-config-standard",
3
- "version": "3.0.1",
3
+ "version": "6.0.0",
4
4
  "description": "Standard StyleLint configuration settings",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
- "test": "jest --ci",
7
+ "test": "jest --ci --config jest.config.json",
8
8
  "lint-js": "eslint \"**/*.js\"",
9
9
  "lint-md": "markdownlint **/*.md --ignore node_modules",
10
10
  "lint": "npm run lint-js && npm run lint-md",
@@ -30,37 +30,19 @@
30
30
  },
31
31
  "homepage": "https://gitlab.com/gitlab-ci-utils/stylelint-config-standard#readme",
32
32
  "dependencies": {
33
- "stylelint-config-standard": "^22.0.0"
33
+ "postcss-html": "^1.3.0",
34
+ "stylelint-config-standard": "^24.0.0",
35
+ "stylelint-csstree-validator": "^2.0.0"
34
36
  },
35
37
  "devDependencies": {
36
- "@aarongoldenthal/eslint-config-standard": "^9.1.0",
37
- "eslint": "^7.32.0",
38
- "jest": "^27.1.0",
39
- "jest-junit": "^12.2.0",
40
- "markdownlint-cli": "^0.28.1",
41
- "stylelint": "^13.13.1"
38
+ "@aarongoldenthal/eslint-config-standard": "^10.0.2",
39
+ "eslint": "^8.4.1",
40
+ "jest": "^27.4.5",
41
+ "jest-junit": "^13.0.0",
42
+ "markdownlint-cli": "^0.30.0",
43
+ "stylelint": "^14.1.0"
42
44
  },
43
45
  "peerDependencies": {
44
- "stylelint": "^13.10.0"
45
- },
46
- "jest": {
47
- "collectCoverage": true,
48
- "collectCoverageFrom": [
49
- "**/*.js",
50
- "!**/coverage/**"
51
- ],
52
- "reporters": [
53
- "default",
54
- [
55
- "jest-junit",
56
- {
57
- "suiteNameTemplate": "{filename}",
58
- "classNameTemplate": "{classname}",
59
- "titleTemplate": "{title}"
60
- }
61
- ]
62
- ],
63
- "verbose": true,
64
- "testEnvironment": "node"
46
+ "stylelint": "^14.0.0"
65
47
  }
66
48
  }
package/CHANGELOG.md DELETED
@@ -1,49 +0,0 @@
1
- # Changelog
2
-
3
- ## v3.0.1 (2021-08-29)
4
-
5
- ### Fixed
6
-
7
- - Updated to latest dependencies
8
-
9
- ### Miscellaneous
10
-
11
- - Integrate [renovate](https://docs.renovatebot.com/) for automatic dependency updates (#31)
12
-
13
- ## v3.0.0 (2021-05-31)
14
-
15
- ### Changed
16
-
17
- - BREAKING: Deprecated support for Node 10 and 15 since end-of-life. Compatible with all current and LTS releases (`^12.20.0 || ^14.15.0 || >=16.0.0`). (#4)
18
-
19
- ### Fixed
20
-
21
- - Updated to latest dependencies
22
-
23
- ## v2.0.1 (2021-05-09)
24
-
25
- ### Fixed
26
-
27
- - Updated to latest dependencies, including resolving vulnerabilities
28
-
29
- ### Miscellaneous
30
-
31
- - Optimize published package to only include the minimum required files (#3)
32
-
33
- ## v2.0.0 (2021-03-13)
34
-
35
- ### Changed
36
-
37
- - BREAKING: Updated to `stylelint-config-standard` v21.0.0
38
-
39
- ### Fixed
40
-
41
- - Updated to latest dependencies, including resolving vulnerabilities
42
-
43
- ### Miscellaneous
44
-
45
- - Updated pipeline to use standard NPM package collection (#2)
46
-
47
- ## v1.0.0 (2021-02-15)
48
-
49
- Initial release