@etchteam/eslint-config 1.11.20 → 2.0.1
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/mergify.yml +9 -14
- package/.github/workflows/ci.yml +21 -0
- package/CHANGELOG.md +3 -3
- package/package.json +2 -2
- package/src/index.js +2 -2
package/.github/mergify.yml
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
---
|
|
1
2
|
pull_request_rules:
|
|
2
3
|
- name: Merge dependabot PRs when all checks pass
|
|
3
4
|
conditions:
|
|
@@ -5,6 +6,10 @@ pull_request_rules:
|
|
|
5
6
|
- author~=^dependabot(|-preview)\[bot\]$
|
|
6
7
|
- check-success=SonarCloud Code Analysis
|
|
7
8
|
- check-success~=^security/snyk
|
|
9
|
+
- check-success=🧹 Lint (18)
|
|
10
|
+
- check-success=🧹 Lint (20)
|
|
11
|
+
- check-success=🧹 Lint (21)
|
|
12
|
+
- check-success=CodeQL
|
|
8
13
|
- label!=wontfix
|
|
9
14
|
actions:
|
|
10
15
|
review:
|
|
@@ -12,25 +17,15 @@ pull_request_rules:
|
|
|
12
17
|
message: Automatically approving dependabot
|
|
13
18
|
merge:
|
|
14
19
|
method: merge
|
|
15
|
-
- name: Merge Snyk PRs when all checks pass
|
|
16
|
-
conditions:
|
|
17
|
-
- and:
|
|
18
|
-
- title~=^\[Snyk\]
|
|
19
|
-
- head~=^snyk-fix
|
|
20
|
-
- check-success~=^security/snyk
|
|
21
|
-
- check-success=SonarCloud Code Analysis
|
|
22
|
-
- label!=wontfix
|
|
23
|
-
actions:
|
|
24
|
-
review:
|
|
25
|
-
type: APPROVE
|
|
26
|
-
message: Automatically approving snyk
|
|
27
|
-
merge:
|
|
28
|
-
method: merge
|
|
29
20
|
- name: Merge when all checks pass and the PR has been approved
|
|
30
21
|
conditions:
|
|
31
22
|
- and:
|
|
32
23
|
- check-success~=^security/snyk
|
|
33
24
|
- check-success=SonarCloud Code Analysis
|
|
25
|
+
- check-success=🧹 Lint (18)
|
|
26
|
+
- check-success=🧹 Lint (20)
|
|
27
|
+
- check-success=🧹 Lint (21)
|
|
28
|
+
- check-success=CodeQL
|
|
34
29
|
- "#approved-reviews-by>=1"
|
|
35
30
|
- "#changes-requested-reviews-by=0"
|
|
36
31
|
actions:
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
name: 👮 CI
|
|
2
|
+
on: pull_request
|
|
3
|
+
env:
|
|
4
|
+
HUSKY: 0
|
|
5
|
+
permissions:
|
|
6
|
+
contents: read
|
|
7
|
+
jobs:
|
|
8
|
+
lint:
|
|
9
|
+
strategy:
|
|
10
|
+
matrix:
|
|
11
|
+
version: [18, 20, 21]
|
|
12
|
+
name: 🧹 Lint
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@v4
|
|
16
|
+
- uses: actions/setup-node@v4
|
|
17
|
+
with:
|
|
18
|
+
node-version: ${{ matrix.version }}
|
|
19
|
+
cache: npm
|
|
20
|
+
- run: npm ci --no-audit --no-fund --prefer-offline
|
|
21
|
+
- run: npx --no-install eslint .
|
package/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
## [
|
|
1
|
+
## [2.0.1](https://github.com/etchteam/eslint/compare/v2.0.0...v2.0.1) (2024-07-30)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
* bump @typescript-eslint/eslint-plugin from 7.
|
|
7
|
-
* bump @typescript-eslint/parser from 7.
|
|
6
|
+
* bump @typescript-eslint/eslint-plugin from 7.16.0 to 7.18.0 ([fafb871](https://github.com/etchteam/eslint/commit/fafb8716d670c6bfec03dea5f6e6a8cc9660dbcd))
|
|
7
|
+
* bump @typescript-eslint/parser from 7.16.0 to 7.18.0 ([2033b8d](https://github.com/etchteam/eslint/commit/2033b8deae026469d5b687c8577138edd539e0ff))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etchteam/eslint-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "Etch's standard eslint config",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"release": "semantic-release"
|
|
10
10
|
},
|
|
11
11
|
"engines": {
|
|
12
|
-
"node": "^
|
|
12
|
+
"node": "^18 || ^20 || ^21"
|
|
13
13
|
},
|
|
14
14
|
"repository": {
|
|
15
15
|
"type": "git",
|
package/src/index.js
CHANGED
|
@@ -3,12 +3,12 @@ module.exports = {
|
|
|
3
3
|
'next/core-web-vitals',
|
|
4
4
|
'plugin:@typescript-eslint/recommended',
|
|
5
5
|
'plugin:storybook/recommended',
|
|
6
|
-
'plugin:security/recommended',
|
|
6
|
+
'plugin:security/recommended-legacy',
|
|
7
7
|
'plugin:import/recommended',
|
|
8
8
|
'plugin:import/typescript',
|
|
9
9
|
'plugin:prettier/recommended',
|
|
10
10
|
'plugin:jsx-a11y/strict',
|
|
11
|
-
'plugin:json/recommended',
|
|
11
|
+
'plugin:json/recommended-legacy',
|
|
12
12
|
'plugin:you-dont-need-lodash-underscore/compatible',
|
|
13
13
|
'plugin:yml/standard',
|
|
14
14
|
'plugin:yml/prettier',
|