eslint-config-simplesense 1.2.0 → 2.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
@@ -1,4 +1,13 @@
1
1
  Changelog
2
+ ## [2.0.0](https://github.com/simplesenseio/eslint-config-simplesense/compare/1.2.0...2.0.0) (2021-12-01)
3
+
4
+
5
+ ### ⚠ BREAKING CHANGES
6
+
7
+ * **npm:** Compatible with eslint version 8
8
+
9
+ * **npm:** update dependencies ([1b5b299](https://github.com/simplesenseio/eslint-config-simplesense/commit/1b5b2999429a60802443cd10ccf593cc2023dfcf)), closes [SI-1201171801561261](https://app.asana.com/0/0/1201171801561261)
10
+
2
11
  ## [1.2.0](https://github.com/simplesenseio/eslint-config-simplesense/compare/1.1.2...1.2.0) (2021-11-08)
3
12
 
4
13
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-simplesense",
3
- "version": "1.2.0",
3
+ "version": "2.0.0",
4
4
  "description": "ESLint Config for SimpleSense Styles",
5
5
  "keywords": [
6
6
  "eslint",
@@ -41,29 +41,38 @@
41
41
  "index.js",
42
42
  "plugins/*.js"
43
43
  ],
44
+ "moduleNameMapper": {
45
+ "eslint/use-at-your-own-risk": "eslint/lib/unsupported-api"
46
+ },
47
+ "setupFiles": [
48
+ "<rootDir>/test/setup/global-functions.js"
49
+ ],
44
50
  "verbose": true
45
51
  },
46
52
  "dependencies": {
47
53
  "eslint-plugin-array-func": "^3.1.7",
48
54
  "eslint-plugin-eslint-comments": "^3.2.0",
49
- "eslint-plugin-import": "^2.25.2",
55
+ "eslint-plugin-import": "^2.25.3",
50
56
  "eslint-plugin-no-use-extend-native": "^0.5.0",
51
57
  "eslint-plugin-node": "^11.1.0",
52
58
  "eslint-plugin-optimize-regex": "^1.2.1",
53
- "eslint-plugin-regexp": "^1.5.0",
59
+ "eslint-plugin-regexp": "^1.5.1",
54
60
  "eslint-plugin-security": "^1.4.0",
55
- "eslint-plugin-sonarjs": "^0.10.0",
56
- "eslint-plugin-unicorn": "^38.0.0",
57
- "eslint-plugin-vue": "^8.0.3",
58
- "eslint-plugin-yml": "^0.10.1"
61
+ "eslint-plugin-sonarjs": "^0.11.0",
62
+ "eslint-plugin-unicorn": "^39.0.0",
63
+ "eslint-plugin-vue": "^8.1.1",
64
+ "eslint-plugin-yml": "^0.12.0"
59
65
  },
60
66
  "devDependencies": {
61
67
  "@vuepress/plugin-pwa": "^1.8.2",
62
- "eslint": "^7.32.0",
68
+ "eslint": "^8.3.0",
63
69
  "hash-sum": "^2.0.0",
64
- "jest": "^27.3.1",
65
- "sort-package-json": "^1.52.0",
70
+ "jest": "^27.4.3",
71
+ "sort-package-json": "^1.53.1",
66
72
  "vuepress": "^1.8.2",
67
73
  "vuepress-theme-default-prefers-color-scheme": "^2.0.0"
74
+ },
75
+ "peerDependencies": {
76
+ "eslint": ">=8.0.0"
68
77
  }
69
78
  }
@@ -43,7 +43,6 @@
43
43
  'unicorn/prefer-string-starts-ends-with': ['error'],
44
44
  'unicorn/prefer-string-trim-start-end': ['error'],
45
45
  'unicorn/prefer-type-error': ['error'],
46
- // not yet released
47
46
  'unicorn/require-array-join-separator': ['error'],
48
47
  'unicorn/require-number-to-fixed-digits-argument': ['error'],
49
48
  'unicorn/throw-new-error': ['error'],