@digigov/cli-lint 1.0.3 → 1.0.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.json CHANGED
@@ -1,6 +1,18 @@
1
1
  {
2
2
  "name": "@digigov/cli-lint",
3
3
  "entries": [
4
+ {
5
+ "version": "1.0.4",
6
+ "tag": "@digigov/cli-lint_v1.0.4",
7
+ "date": "Fri, 16 Feb 2024 09:57:32 GMT",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "comment": "Remove cypress plugin & upgrade all other plugins"
12
+ }
13
+ ]
14
+ }
15
+ },
4
16
  {
5
17
  "version": "1.0.3",
6
18
  "tag": "@digigov/cli-lint_v1.0.3",
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 17:45:11 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 16 Feb 2024 09:57:32 GMT and should not be manually modified.
4
+
5
+ ## 1.0.4
6
+ Fri, 16 Feb 2024 09:57:32 GMT
7
+
8
+ ### Patches
9
+
10
+ - Remove cypress plugin & upgrade all other plugins
4
11
 
5
12
  ## 1.0.3
6
13
  Mon, 29 Jan 2024 17:45:11 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.3",
3
+ "version": "1.0.4",
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
11
  "@typescript-eslint/eslint-plugin": "6.19.1",
12
12
  "@typescript-eslint/parser": "6.19.1",
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",
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": {
@@ -35,8 +33,8 @@
35
33
  "peerDependencies": {
36
34
  "@digigov/cli": "1.1.0",
37
35
  "@digigov/cli-build": "1.1.1",
38
- "prettier": "2.0.2",
39
- "eslint": "7.24.0"
36
+ "prettier": "3.2.5",
37
+ "eslint": "8.56.0"
40
38
  },
41
39
  "scripts": {
42
40
  "publint": "publint"