eslint-config-simplesense 2.3.1 → 2.3.4

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,34 @@
1
1
  Changelog
2
+ ### [2.3.4](https://github.com/simplesenseio/eslint-config-simplesense/compare/2.3.3...2.3.4) (2022-02-22)
3
+
4
+
5
+ ### Code Refactoring
6
+
7
+ * turns off sonarjs/prefer-single-boolean-return because we disagree ([04514da](https://github.com/simplesenseio/eslint-config-simplesense/commit/04514dac659dfaeca93e0a2d3aee1364bc9ff0ac))
8
+
9
+ ### [2.3.3](https://github.com/simplesenseio/eslint-config-simplesense/compare/2.3.2...2.3.3) (2022-02-22)
10
+
11
+
12
+ ### Builds
13
+
14
+ * **deps:** bump follow-redirects from 1.14.7 to 1.14.8 ([93aa5a3](https://github.com/simplesenseio/eslint-config-simplesense/commit/93aa5a3772b7ae5e612de64c207004db361d17ed))
15
+ * **deps:** bump url-parse from 1.5.4 to 1.5.7 ([2b9cde3](https://github.com/simplesenseio/eslint-config-simplesense/commit/2b9cde3742b22361a32038a8b42c4ae5453ca1eb))
16
+ * npm bump follow-redirects from 1.14.7 to 1.14.8 ([8e0ce35](https://github.com/simplesenseio/eslint-config-simplesense/commit/8e0ce3533c5767066c927a230c93b98a24866b20))
17
+ * npm bump url-parse from 1.5.4 to 1.5.7 ([70e7bc7](https://github.com/simplesenseio/eslint-config-simplesense/commit/70e7bc70a3525cc39ab9ceda955eb5e351839381))
18
+ * update npm dependencies ([6938082](https://github.com/simplesenseio/eslint-config-simplesense/commit/693808269bfe4097c2633974a8fd80df560e79fc))
19
+
20
+ ### [2.3.2](https://github.com/simplesenseio/eslint-config-simplesense/compare/2.3.1...2.3.2) (2022-02-12)
21
+
22
+
23
+ ### Code Refactoring
24
+
25
+ * configures import/no-unassigned-import to allow unassigned css and sass imports ([9b4db07](https://github.com/simplesenseio/eslint-config-simplesense/commit/9b4db07060fff807e1c29ee980d0db1b3e78657b))
26
+
27
+
28
+ ### Builds
29
+
30
+ * update npm dependencies ([f67a101](https://github.com/simplesenseio/eslint-config-simplesense/commit/f67a101e6757f66e8f54416807d9b8dac771090c))
31
+
2
32
  ### [2.3.1](https://github.com/simplesenseio/eslint-config-simplesense/compare/2.3.0...2.3.1) (2022-01-23)
3
33
 
4
34
  ## [2.3.0](https://github.com/simplesenseio/eslint-config-simplesense/compare/2.2.0...2.3.0) (2022-01-04)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-simplesense",
3
- "version": "2.3.1",
3
+ "version": "2.3.4",
4
4
  "description": "ESLint Config for SimpleSense Styles",
5
5
  "keywords": [
6
6
  "eslint",
@@ -62,17 +62,17 @@
62
62
  "eslint-plugin-optimize-regex": "^1.2.1",
63
63
  "eslint-plugin-regexp": "^1.5.1",
64
64
  "eslint-plugin-security": "^1.4.0",
65
- "eslint-plugin-sonarjs": "^0.11.0",
66
- "eslint-plugin-unicorn": "^40.1.0",
67
- "eslint-plugin-vue": "^8.3.0",
68
- "eslint-plugin-yml": "^0.12.0"
65
+ "eslint-plugin-sonarjs": "^0.12.0",
66
+ "eslint-plugin-unicorn": "^41.0.0",
67
+ "eslint-plugin-vue": "^8.5.0",
68
+ "eslint-plugin-yml": "^0.14.0"
69
69
  },
70
70
  "devDependencies": {
71
71
  "@vuepress/plugin-pwa": "^1.9.7",
72
- "eslint": "^8.7.0",
72
+ "eslint": "^8.9.0",
73
73
  "hash-sum": "^2.0.0",
74
- "jest": "^27.4.7",
75
- "sort-package-json": "^1.53.1",
74
+ "jest": "^27.5.1",
75
+ "sort-package-json": "^1.54.0",
76
76
  "vuepress": "^1.9.7",
77
77
  "vuepress-theme-default-prefers-color-scheme": "^2.0.0"
78
78
  },
package/plugins/import.js CHANGED
@@ -18,7 +18,15 @@
18
18
  'import/no-named-as-default-member': ['error'],
19
19
  'import/no-named-default': ['error'],
20
20
  'import/no-self-import': ['error'],
21
- 'import/no-unassigned-import': ['error'],
21
+ 'import/no-unassigned-import': [
22
+ 'error', {
23
+ allow: [
24
+ '**/*.css',
25
+ '**/*.sass',
26
+ '**/*.scss',
27
+ ],
28
+ },
29
+ ],
22
30
  'import/no-useless-path-segments': [ 'error', { commonjs: true }],
23
31
  'import/order': [
24
32
  'error', {
@@ -6,5 +6,6 @@
6
6
  // this rule does has a lot of false positives
7
7
  'sonarjs/no-duplicate-string': ['off'],
8
8
  'sonarjs/no-nested-template-literals': ['off'],
9
+ 'sonarjs/prefer-single-boolean-return': ['off'],
9
10
  };
10
11
  })();