@digigov/cli-lint 1.0.2 → 1.0.4-fd2cea11

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 CHANGED
@@ -1,6 +1,23 @@
1
1
  {
2
2
  "name": "@digigov/cli-lint",
3
3
  "entries": [
4
+ {
5
+ "version": "1.0.3",
6
+ "tag": "@digigov/cli-lint_v1.0.3",
7
+ "date": "Mon, 29 Jan 2024 17:45:11 GMT",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "comment": "Upgrade @typescript-eslint for TypeScript v5"
12
+ }
13
+ ],
14
+ "dependency": [
15
+ {
16
+ "comment": "Updating dependency \"@digigov/cli-build\" from `1.1.0` to `1.1.1`"
17
+ }
18
+ ]
19
+ }
20
+ },
4
21
  {
5
22
  "version": "1.0.2",
6
23
  "tag": "@digigov/cli-lint_v1.0.2",
package/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  # Change Log - @digigov/cli-lint
2
2
 
3
- This log was last generated on Mon, 29 Jan 2024 10:46:50 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 29 Jan 2024 17:45:11 GMT and should not be manually modified.
4
+
5
+ ## 1.0.3
6
+ Mon, 29 Jan 2024 17:45:11 GMT
7
+
8
+ ### Patches
9
+
10
+ - Upgrade @typescript-eslint for TypeScript v5
4
11
 
5
12
  ## 1.0.2
6
13
  Mon, 29 Jan 2024 10:46:50 GMT
package/eslint.common.js CHANGED
@@ -7,11 +7,7 @@ function makeEslintConfig(dir) {
7
7
  let rules = {};
8
8
  const plugins = [];
9
9
  const settings = {};
10
- const extendsRest = [
11
- 'eslint:recommended',
12
- 'plugin:prettier/recommended',
13
- 'plugin:json/recommended',
14
- ];
10
+ const extendsRest = ['eslint:recommended', 'plugin:json/recommended'];
15
11
  if (project.dependencies.react) {
16
12
  plugins.push('digigov');
17
13
  rules = {
@@ -28,9 +24,7 @@ function makeEslintConfig(dir) {
28
24
  };
29
25
  }
30
26
  if (project.dependencies.jest) {
31
- extendsRest.push(
32
- ...['plugin:jest/recommended', 'plugin:cypress/recommended']
33
- );
27
+ extendsRest.push('plugin:jest/recommended');
34
28
  plugins.push('enzyme');
35
29
  }
36
30
  if (project.src) {
@@ -44,6 +38,7 @@ function makeEslintConfig(dir) {
44
38
  },
45
39
  };
46
40
  }
41
+ extendsRest.push('plugin:prettier/recommended');
47
42
  const config = {
48
43
  env: {
49
44
  node: true,
package/package.json CHANGED
@@ -1,32 +1,30 @@
1
1
  {
2
2
  "name": "@digigov/cli-lint",
3
- "version": "1.0.2",
3
+ "version": "1.0.4-fd2cea11",
4
4
  "description": "Lint plugin for Digigov CLI",
5
5
  "main": "index.js",
6
6
  "author": "GRNET Devs <devs@lists.grnet.gr>",
7
7
  "license": "BSD-2-Clause",
8
8
  "dependencies": {
9
- "@babel/eslint-parser": "7.13.8",
9
+ "@babel/eslint-parser": "7.19.1",
10
10
  "@oclif/command": "1.8.0",
11
- "@typescript-eslint/eslint-plugin": "4.19.0",
12
- "@typescript-eslint/parser": "4.19.0",
13
- "eslint-config-prettier": "6.10.0",
14
- "eslint-import-resolver-babel-module": "5.1.2",
15
- "eslint-plugin-css-modules": "2.11.0",
16
- "eslint-plugin-cypress": "2.8.1",
11
+ "@typescript-eslint/eslint-plugin": "6.19.1",
12
+ "@typescript-eslint/parser": "6.19.1",
13
+ "eslint-config-prettier": "9.1.0",
14
+ "eslint-import-resolver-babel-module": "5.3.2",
15
+ "eslint-plugin-css-modules": "2.12.0",
17
16
  "eslint-plugin-digigov": "1.0.0",
18
17
  "eslint-plugin-enzyme": "0.2.0",
19
- "eslint-plugin-import": "2.20.1",
20
- "eslint-plugin-jest": "24.1.3",
21
- "eslint-plugin-json": "2.0.1",
22
- "eslint-plugin-mdx": "1.6.8",
23
- "eslint-plugin-prettier": "3.1.2",
24
- "eslint-plugin-promise": "4.2.1",
25
- "eslint-plugin-react": "7.18.0",
26
- "eslint-plugin-react-hooks": "4.0.2",
27
- "eslint-plugin-standard": "4.0.1",
18
+ "eslint-plugin-import": "2.29.1",
19
+ "eslint-plugin-jest": "27.6.3",
20
+ "eslint-plugin-json": "3.1.0",
21
+ "eslint-plugin-mdx": "2.3.4",
22
+ "eslint-plugin-prettier": "5.1.3",
23
+ "eslint-plugin-promise": "6.1.1",
24
+ "eslint-plugin-react": "7.33.2",
25
+ "eslint-plugin-react-hooks": "4.6.0",
28
26
  "execa": "5.0.0",
29
- "@rushstack/eslint-patch": "1.0.6",
27
+ "@rushstack/eslint-patch": "1.7.2",
30
28
  "publint": "0.1.8"
31
29
  },
32
30
  "devDependencies": {
@@ -34,9 +32,9 @@
34
32
  },
35
33
  "peerDependencies": {
36
34
  "@digigov/cli": "1.1.0",
37
- "@digigov/cli-build": "1.1.0",
38
- "prettier": "2.0.2",
39
- "eslint": "7.24.0"
35
+ "@digigov/cli-build": "1.1.1",
36
+ "prettier": "3.2.5",
37
+ "eslint": "8.56.0"
40
38
  },
41
39
  "scripts": {
42
40
  "publint": "publint"
@@ -1,16 +0,0 @@
1
- {
2
- "files": {
3
- "tooling/cli-lint/.eslintrc.js": "9021f38d6d5d1d3a2eb5e20507d799c0c1d8f528",
4
- "tooling/cli-lint/CHANGELOG.json": "2f69b6f4adeecb76eec4cdac53235a504f6e8447",
5
- "tooling/cli-lint/CHANGELOG.md": "8a303c0104a77a4774217e7cdc748d7208be00fc",
6
- "tooling/cli-lint/eslint.common.js": "9179f5007edc65c50bcb24a459369d3197d4b117",
7
- "tooling/cli-lint/eslint.config.js": "ace1bbe87a9e4ed55134d2354c466060b441f9e2",
8
- "tooling/cli-lint/eslintrc.js": "3cb496db7b35d18d27fec953e7a6b637789986bc",
9
- "tooling/cli-lint/index.js": "d4997c34e9634f2f9d49629a3b8e7a4187efca66",
10
- "tooling/cli-lint/package.json": "50a08b131fd1e04132074b8b9bf8c7b9556148a2",
11
- "tooling/cli-lint/prettier.config.js": "7796b248642ee21b308769f8fcce91f7244d7d82",
12
- "tooling/cli-lint/prettierrc.js": "d9719421e650d19e0a9d359b9a4f72861ac7f792",
13
- "tooling/cli-lint/.rush/temp/shrinkwrap-deps.json": "8c399ee0e3fa9492060cd3e613b2fce2ed3f9742"
14
- },
15
- "arguments": "publint "
16
- }
@@ -1,3 +0,0 @@
1
- Invoking: publint
2
- @digigov/cli-lint lint results:
3
- All good!