eslint-config-conventions 1.1.2 → 2.0.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/.github/workflows/lint.yml +2 -2
- package/.github/workflows/release.yml +2 -2
- package/.github/workflows/test.yml +2 -2
- package/README.md +5 -5
- package/package.json +11 -11
|
@@ -10,10 +10,10 @@ jobs:
|
|
|
10
10
|
lint:
|
|
11
11
|
runs-on: 'ubuntu-latest'
|
|
12
12
|
steps:
|
|
13
|
-
- uses: 'actions/checkout@
|
|
13
|
+
- uses: 'actions/checkout@v3.0.0'
|
|
14
14
|
|
|
15
15
|
- name: 'Use Node.js'
|
|
16
|
-
uses: 'actions/setup-node@
|
|
16
|
+
uses: 'actions/setup-node@v3.1.0'
|
|
17
17
|
with:
|
|
18
18
|
node-version: 'lts/*'
|
|
19
19
|
cache: 'npm'
|
|
@@ -8,13 +8,13 @@ jobs:
|
|
|
8
8
|
release:
|
|
9
9
|
runs-on: 'ubuntu-latest'
|
|
10
10
|
steps:
|
|
11
|
-
- uses: 'actions/checkout@
|
|
11
|
+
- uses: 'actions/checkout@v3.0.0'
|
|
12
12
|
with:
|
|
13
13
|
fetch-depth: 0
|
|
14
14
|
persist-credentials: false
|
|
15
15
|
|
|
16
16
|
- name: 'Use Node.js'
|
|
17
|
-
uses: 'actions/setup-node@
|
|
17
|
+
uses: 'actions/setup-node@v3.1.0'
|
|
18
18
|
with:
|
|
19
19
|
node-version: 'lts/*'
|
|
20
20
|
cache: 'npm'
|
|
@@ -10,10 +10,10 @@ jobs:
|
|
|
10
10
|
test:
|
|
11
11
|
runs-on: 'ubuntu-latest'
|
|
12
12
|
steps:
|
|
13
|
-
- uses: 'actions/checkout@
|
|
13
|
+
- uses: 'actions/checkout@v3.0.0'
|
|
14
14
|
|
|
15
15
|
- name: 'Use Node.js'
|
|
16
|
-
uses: 'actions/setup-node@
|
|
16
|
+
uses: 'actions/setup-node@v3.1.0'
|
|
17
17
|
with:
|
|
18
18
|
node-version: 'lts/*'
|
|
19
19
|
cache: 'npm'
|
package/README.md
CHANGED
|
@@ -41,9 +41,9 @@ Here is an example, but use it only for reference, because your decisions regard
|
|
|
41
41
|
```sh
|
|
42
42
|
npm install --save-dev \
|
|
43
43
|
eslint@^8.9.0 \
|
|
44
|
-
eslint-plugin-import@^2.
|
|
44
|
+
eslint-plugin-import@^2.26.0 \
|
|
45
45
|
eslint-plugin-promise@^6.0.0 \
|
|
46
|
-
eslint-plugin-unicorn@^
|
|
46
|
+
eslint-plugin-unicorn@^42.0.0 \
|
|
47
47
|
eslint-config-conventions@latest
|
|
48
48
|
```
|
|
49
49
|
|
|
@@ -62,9 +62,9 @@ If you want to use **TypeScript**, you also need to install:
|
|
|
62
62
|
|
|
63
63
|
```sh
|
|
64
64
|
npm install --save-dev \
|
|
65
|
-
typescript@^4.
|
|
66
|
-
@typescript-eslint/eslint-plugin@^5.
|
|
67
|
-
@typescript-eslint/parser@^5.
|
|
65
|
+
typescript@^4.6.0 \
|
|
66
|
+
@typescript-eslint/eslint-plugin@^5.18.0 \
|
|
67
|
+
@typescript-eslint/parser@^5.18.0
|
|
68
68
|
```
|
|
69
69
|
|
|
70
70
|
Dependencies are:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-conventions",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"public": true,
|
|
5
5
|
"description": "ESLint shareable config to enforce strict conventions and good code quality.",
|
|
6
6
|
"author": "Divlo <contact@divlo.fr>",
|
|
@@ -42,29 +42,29 @@
|
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"eslint": "^8.9.0",
|
|
45
|
-
"eslint-plugin-import": "^2.
|
|
45
|
+
"eslint-plugin-import": "^2.26.0",
|
|
46
46
|
"eslint-plugin-promise": "^6.0.0",
|
|
47
|
-
"eslint-plugin-unicorn": "^
|
|
47
|
+
"eslint-plugin-unicorn": "^42.0.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@commitlint/cli": "16.2.3",
|
|
51
51
|
"@commitlint/config-conventional": "16.2.1",
|
|
52
52
|
"@types/eslint": "8.4.1",
|
|
53
53
|
"@types/tap": "15.0.6",
|
|
54
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
55
|
-
"@typescript-eslint/parser": "5.
|
|
54
|
+
"@typescript-eslint/eslint-plugin": "5.18.0",
|
|
55
|
+
"@typescript-eslint/parser": "5.18.0",
|
|
56
56
|
"editorconfig-checker": "4.0.2",
|
|
57
|
-
"eslint": "8.
|
|
58
|
-
"eslint-plugin-import": "2.
|
|
57
|
+
"eslint": "8.12.0",
|
|
58
|
+
"eslint-plugin-import": "2.26.0",
|
|
59
59
|
"eslint-plugin-promise": "6.0.0",
|
|
60
|
-
"eslint-plugin-unicorn": "
|
|
60
|
+
"eslint-plugin-unicorn": "42.0.0",
|
|
61
61
|
"husky": "7.0.4",
|
|
62
62
|
"lint-staged": "12.3.7",
|
|
63
63
|
"markdownlint-cli": "0.31.1",
|
|
64
64
|
"pinst": "3.0.0",
|
|
65
|
-
"prettier": "2.6.
|
|
65
|
+
"prettier": "2.6.2",
|
|
66
66
|
"semantic-release": "19.0.2",
|
|
67
|
-
"tap": "16.0.
|
|
68
|
-
"typescript": "4.6.
|
|
67
|
+
"tap": "16.0.1",
|
|
68
|
+
"typescript": "4.6.3"
|
|
69
69
|
}
|
|
70
70
|
}
|