@digigov/cli-lint 0.5.35 → 0.6.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.json +12 -0
- package/CHANGELOG.md +8 -1
- package/eslint.common.js +27 -1
- package/package.json +3 -3
- package/.rush/temp/operation/publint/state.json +0 -3
- package/.rush/temp/package-deps_publint.json +0 -16
- package/cli-lint.build.log +0 -0
package/CHANGELOG.json
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digigov/cli-lint",
|
|
3
3
|
"entries": [
|
|
4
|
+
{
|
|
5
|
+
"version": "0.6.0",
|
|
6
|
+
"tag": "@digigov/cli-lint_v0.6.0",
|
|
7
|
+
"date": "Wed, 21 Jun 2023 11:28:11 GMT",
|
|
8
|
+
"comments": {
|
|
9
|
+
"minor": [
|
|
10
|
+
{
|
|
11
|
+
"comment": "Add rule for import order"
|
|
12
|
+
}
|
|
13
|
+
]
|
|
14
|
+
}
|
|
15
|
+
},
|
|
4
16
|
{
|
|
5
17
|
"version": "0.5.34",
|
|
6
18
|
"tag": "@digigov/cli-lint_v0.5.34",
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
# Change Log - @digigov/cli-lint
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Wed, 21 Jun 2023 11:28:11 GMT and should not be manually modified.
|
|
4
|
+
|
|
5
|
+
## 0.6.0
|
|
6
|
+
Wed, 21 Jun 2023 11:28:11 GMT
|
|
7
|
+
|
|
8
|
+
### Minor changes
|
|
9
|
+
|
|
10
|
+
- Add rule for import order
|
|
4
11
|
|
|
5
12
|
## 0.5.34
|
|
6
13
|
Thu, 02 Feb 2023 16:12:09 GMT
|
package/eslint.common.js
CHANGED
|
@@ -76,13 +76,39 @@ function makeEslintConfig(dir) {
|
|
|
76
76
|
env: {
|
|
77
77
|
browser: true,
|
|
78
78
|
},
|
|
79
|
-
plugins: ['@typescript-eslint'],
|
|
79
|
+
plugins: ['@typescript-eslint', 'import'],
|
|
80
80
|
extends: 'plugin:@typescript-eslint/recommended',
|
|
81
81
|
rules: {
|
|
82
82
|
'react/prop-types': 'off',
|
|
83
83
|
'@typescript-eslint/no-empty-interface': 'off',
|
|
84
84
|
'@typescript-eslint/no-var-requires': 0,
|
|
85
85
|
'react-hooks/exhaustive-deps': 'off',
|
|
86
|
+
'import/order': [
|
|
87
|
+
'error',
|
|
88
|
+
{
|
|
89
|
+
groups: [
|
|
90
|
+
['builtin', 'external'],
|
|
91
|
+
'internal',
|
|
92
|
+
['parent', 'sibling', 'index'],
|
|
93
|
+
],
|
|
94
|
+
pathGroups: [
|
|
95
|
+
{
|
|
96
|
+
pattern: 'react',
|
|
97
|
+
group: 'builtin',
|
|
98
|
+
position: 'before',
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
pattern: '@digigov/**',
|
|
102
|
+
group: 'internal',
|
|
103
|
+
},
|
|
104
|
+
],
|
|
105
|
+
pathGroupsExcludedImportTypes: ['react'],
|
|
106
|
+
alphabetize: {
|
|
107
|
+
order: 'asc',
|
|
108
|
+
caseInsensitive: true,
|
|
109
|
+
},
|
|
110
|
+
},
|
|
111
|
+
],
|
|
86
112
|
},
|
|
87
113
|
});
|
|
88
114
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digigov/cli-lint",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Lint plugin for Digigov CLI",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "GRNET Devs <devs@lists.grnet.gr>",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"publint": "0.1.8"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"@digigov/cli": "0.6.
|
|
37
|
-
"@digigov/cli-build": "0.9.
|
|
36
|
+
"@digigov/cli": "0.6.6",
|
|
37
|
+
"@digigov/cli-build": "0.9.3",
|
|
38
38
|
"prettier": "2.0.2",
|
|
39
39
|
"eslint": "7.24.0"
|
|
40
40
|
},
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"files": {
|
|
3
|
-
"tooling/cli-lint/.rush/temp/shrinkwrap-deps.json": "5bb579562cee1beb4ba5e7e6232faa872f04c120",
|
|
4
|
-
"tooling/cli-lint/.eslintrc.js": "9021f38d6d5d1d3a2eb5e20507d799c0c1d8f528",
|
|
5
|
-
"tooling/cli-lint/CHANGELOG.json": "58946e7f9fbea9c05224bd49c434c35e44746a0c",
|
|
6
|
-
"tooling/cli-lint/CHANGELOG.md": "3a4821782efca5834415dcc314d2a8458c29cdff",
|
|
7
|
-
"tooling/cli-lint/eslint.common.js": "d7e0700b66953cb0a9f46dd6d38b35e415bbcb9f",
|
|
8
|
-
"tooling/cli-lint/eslint.config.js": "ace1bbe87a9e4ed55134d2354c466060b441f9e2",
|
|
9
|
-
"tooling/cli-lint/eslintrc.js": "3cb496db7b35d18d27fec953e7a6b637789986bc",
|
|
10
|
-
"tooling/cli-lint/index.js": "d4997c34e9634f2f9d49629a3b8e7a4187efca66",
|
|
11
|
-
"tooling/cli-lint/package.json": "1cf1532be8f7ff5f7f5a35829b368b5913cc9003",
|
|
12
|
-
"tooling/cli-lint/prettier.config.js": "7796b248642ee21b308769f8fcce91f7244d7d82",
|
|
13
|
-
"tooling/cli-lint/prettierrc.js": "d9719421e650d19e0a9d359b9a4f72861ac7f792"
|
|
14
|
-
},
|
|
15
|
-
"arguments": "publint "
|
|
16
|
-
}
|
package/cli-lint.build.log
DELETED
|
File without changes
|