eslint-config-simplesense 2.3.1 → 2.3.2
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 +12 -0
- package/package.json +6 -6
- package/plugins/import.js +9 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
Changelog
|
|
2
|
+
### [2.3.2](https://github.com/simplesenseio/eslint-config-simplesense/compare/2.3.1...2.3.2) (2022-02-12)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Code Refactoring
|
|
6
|
+
|
|
7
|
+
* configures import/no-unassigned-import to allow unassigned css and sass imports ([9b4db07](https://github.com/simplesenseio/eslint-config-simplesense/commit/9b4db07060fff807e1c29ee980d0db1b3e78657b))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Builds
|
|
11
|
+
|
|
12
|
+
* update npm dependencies ([f67a101](https://github.com/simplesenseio/eslint-config-simplesense/commit/f67a101e6757f66e8f54416807d9b8dac771090c))
|
|
13
|
+
|
|
2
14
|
### [2.3.1](https://github.com/simplesenseio/eslint-config-simplesense/compare/2.3.0...2.3.1) (2022-01-23)
|
|
3
15
|
|
|
4
16
|
## [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.
|
|
3
|
+
"version": "2.3.2",
|
|
4
4
|
"description": "ESLint Config for SimpleSense Styles",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -64,15 +64,15 @@
|
|
|
64
64
|
"eslint-plugin-security": "^1.4.0",
|
|
65
65
|
"eslint-plugin-sonarjs": "^0.11.0",
|
|
66
66
|
"eslint-plugin-unicorn": "^40.1.0",
|
|
67
|
-
"eslint-plugin-vue": "^8.
|
|
68
|
-
"eslint-plugin-yml": "^0.
|
|
67
|
+
"eslint-plugin-vue": "^8.4.1",
|
|
68
|
+
"eslint-plugin-yml": "^0.13.0"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@vuepress/plugin-pwa": "^1.9.7",
|
|
72
|
-
"eslint": "^8.
|
|
72
|
+
"eslint": "^8.9.0",
|
|
73
73
|
"hash-sum": "^2.0.0",
|
|
74
|
-
"jest": "^27.
|
|
75
|
-
"sort-package-json": "^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': [
|
|
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', {
|