@naturalcycles/dev-lib 12.16.1 → 12.16.5

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.
@@ -371,5 +371,6 @@ module.exports = {
371
371
  '@typescript-eslint/no-unsafe-argument': 0, // prevents "legit" use of `any`
372
372
  'unicorn/prefer-export-from': 0, // breaks auto-imports in IntelliJ Idea
373
373
  'unicorn/no-await-expression-member': 0, // some cases are better as-is
374
+ 'unicorn/prefer-json-parse-buffer': 0, // typescript doesn't allow it
374
375
  },
375
376
  }
@@ -2,8 +2,12 @@ module.exports = {
2
2
  extends: ['stylelint-config-standard-scss', 'stylelint-config-prettier'],
3
3
  rules: {
4
4
  'no-empty-source': null,
5
- 'length-zero-no-unit': true,
6
5
  'color-hex-length': 'short',
6
+ 'length-zero-no-unit': [
7
+ true,
8
+ // keep units in css variables because their absence breaks css calculations
9
+ { ignore: ['custom-properties'] },
10
+ ],
7
11
  // Prettier covers these rules already:
8
12
  // 'color-hex-case': 'lower',
9
13
  // 'number-leading-zero': 'always',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturalcycles/dev-lib",
3
- "version": "12.16.1",
3
+ "version": "12.16.5",
4
4
  "scripts": {
5
5
  "prepare": "husky install",
6
6
  "tsn-debug": "tsn testScript.ts",
@@ -46,9 +46,9 @@
46
46
  "eslint": "^8.0.0",
47
47
  "eslint-config-prettier": "^8.3.0",
48
48
  "eslint-plugin-import": "^2.22.1",
49
- "eslint-plugin-jest": "^25.0.5",
49
+ "eslint-plugin-jest": "^26.0.0",
50
50
  "eslint-plugin-jsdoc": "^37.0.0",
51
- "eslint-plugin-unicorn": "^40.0.0",
51
+ "eslint-plugin-unicorn": "^41.0.0",
52
52
  "eslint-plugin-unused-imports": "^2.0.0",
53
53
  "eslint-plugin-vue": "^8.0.1",
54
54
  "execa": "^5.0.0",