@aarongoldenthal/stylelint-config-standard 7.0.0 → 8.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.
File without changes
package/README.md CHANGED
@@ -1,11 +1,11 @@
1
1
  # stylelint-config-standard
2
2
 
3
- Custom standard StyleLint configuration for all projects. Includes all referenced configurations and plugins as dependencies so they do not need to be added separately.
3
+ Custom standard StyleLint configuration for all projects. Includes all referenced configurations and plugins as dependencies so they do not need to be added separately.
4
4
 
5
5
  To configure `.stylelintrc.json`:
6
6
 
7
- ```json
7
+ ```json
8
8
  {
9
- "extends": ["@aarongoldenthal/stylelint-config-standard"]
9
+ "extends": ["@aarongoldenthal/stylelint-config-standard"]
10
10
  }
11
11
  ```
package/index.js CHANGED
@@ -4,26 +4,22 @@ module.exports = {
4
4
  extends: 'stylelint-config-standard',
5
5
  overrides: [
6
6
  {
7
- files: [
8
- '**/*.html',
9
- '**/*.handlebars'
10
- ],
7
+ files: ['**/*.html', '**/*.handlebars'],
11
8
  customSyntax: 'postcss-html',
12
9
  rules: {
13
10
  indentation: 'tab'
14
11
  }
15
12
  }
16
13
  ],
17
- plugins: [
18
- 'stylelint-csstree-validator'
19
- ],
14
+ plugins: ['stylelint-csstree-validator'],
20
15
  reportDescriptionlessDisables: true,
21
16
  reportInvalidScopeDisables: true,
22
17
  reportNeedlessDisables: true,
23
18
  rules: {
24
19
  'color-hex-length': 'long',
25
20
  'font-family-name-quotes': 'always-where-recommended',
26
- 'indentation': 4,
21
+ indentation: 4,
22
+ 'selector-not-notation': 'complex',
27
23
  'unit-allowed-list': ['%', 'em', 'fr', 'rem', 's', 'px', 'vh'],
28
24
  'csstree/validator': true
29
25
  }
package/package.json CHANGED
@@ -1,14 +1,17 @@
1
1
  {
2
2
  "name": "@aarongoldenthal/stylelint-config-standard",
3
- "version": "7.0.0",
3
+ "version": "8.0.0",
4
4
  "description": "Standard StyleLint configuration settings",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
- "test": "jest --ci --config jest.config.json",
7
+ "hooks-pre-commit": "npm run lint && npm run prettier-check",
8
+ "hooks-pre-push": "npm audit --audit-level=high && npm test",
9
+ "lint": "npm run lint-js && npm run lint-md",
8
10
  "lint-js": "eslint \"**/*.js\"",
9
11
  "lint-md": "markdownlint **/*.md --ignore node_modules",
10
- "lint": "npm run lint-js && npm run lint-md",
11
- "push": "npm run lint && npm audit --audit-level=high && npm test"
12
+ "prettier-check": "prettier --check --ignore-path=.gitignore .",
13
+ "prettier-fix": "prettier --write --ignore-path=.gitignore .",
14
+ "test": "jest --ci --config jest.config.json"
12
15
  },
13
16
  "repository": {
14
17
  "type": "git",
@@ -28,21 +31,22 @@
28
31
  "bugs": {
29
32
  "url": "https://gitlab.com/gitlab-ci-utils/stylelint-config-standard/issues"
30
33
  },
31
- "homepage": "https://gitlab.com/gitlab-ci-utils/stylelint-config-standard#readme",
34
+ "homepage": "https://gitlab.com/gitlab-ci-utils/stylelint-config-standard",
32
35
  "dependencies": {
33
- "postcss-html": "^1.3.0",
36
+ "postcss-html": "^1.4.1",
34
37
  "stylelint-config-standard": "^25.0.0",
35
38
  "stylelint-csstree-validator": "^2.0.0"
36
39
  },
37
40
  "devDependencies": {
38
- "@aarongoldenthal/eslint-config-standard": "^11.0.0",
39
- "eslint": "^8.8.0",
41
+ "@aarongoldenthal/eslint-config-standard": "^14.0.0",
42
+ "eslint": "^8.13.0",
40
43
  "jest": "^27.5.1",
41
- "jest-junit": "^13.0.0",
42
- "markdownlint-cli": "^0.31.0",
43
- "stylelint": "^14.4.0"
44
+ "jest-junit": "^13.1.0",
45
+ "markdownlint-cli": "^0.31.1",
46
+ "prettier": "^2.6.2",
47
+ "stylelint": "^14.7.1"
44
48
  },
45
49
  "peerDependencies": {
46
- "stylelint": "^14.0.0"
50
+ "stylelint": "^14.7.0"
47
51
  }
48
52
  }