Skip to content
This repository was archived by the owner on Mar 6, 2025. It is now read-only.

Commit eb4cb95

Browse files
committed
fix: add missing/fix incorrect deps
close #144 close #145
1 parent bbf6a8f commit eb4cb95

File tree

13 files changed

+14775
-13292
lines changed

13 files changed

+14775
-13292
lines changed

.codesandbox/ci.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"node": "18",
2+
"node": "20",
33
"installCommand": "codesandbox:install",
44
"packages": [
55
"eslint-plugin-sonar"

.github/workflows/ci.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
- push
55
- pull_request
66

7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.ref }}
9+
cancel-in-progress: true
10+
711
jobs:
812
ci:
913
name: Lint and Test with Node.js ${{ matrix.node }}
@@ -12,21 +16,25 @@ jobs:
1216
node:
1317
- 18
1418
- 20
19+
- 22
1520
runs-on: ubuntu-latest
1621
steps:
1722
- name: Checkout Repo
1823
uses: actions/checkout@v4
1924
with:
2025
submodules: true
2126

27+
- name: Enable Corepack
28+
run: corepack enable
29+
2230
- name: Setup Node.js ${{ matrix.node }}
2331
uses: actions/setup-node@v4
2432
with:
2533
node-version: ${{ matrix.node }}
2634
cache: yarn
2735

2836
- name: Install Dependencies
29-
run: yarn --frozen-lockfile --ignore-engines
37+
run: yarn --immutable
3038

3139
- name: Build, Lint and Test
3240
run: |

.github/workflows/codeql.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
schedule:
1111
- cron: '2 20 * * 4'
1212

13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
1317
jobs:
1418
analyze:
1519
name: Analyze

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,17 @@ jobs:
1717
fetch-depth: 0
1818
submodules: true
1919

20+
- name: Enable Corepack
21+
run: corepack enable
22+
2023
- name: Setup Node.js LTS
2124
uses: actions/setup-node@v4
2225
with:
2326
node-version: lts/*
2427
cache: yarn
2528

2629
- name: Install Dependencies
27-
run: yarn --frozen-lockfile
30+
run: yarn --immutable
2831

2932
# required for committing before releasing
3033
- name: Build

.gitmodules

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[submodule "SonarJS"]
2-
path = SonarJS
3-
url = https://github.com/un-ts/SonarJS.git
2+
path=SonarJS
3+
url=https://github.com/un-ts/SonarJS.git

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.yarn
12
coverage
23
lib
34
node_modules
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports={name:"plugin-prepare-lifecycle",factory:e=>({hooks:{afterAllInstalled(r){if(!r.topLevelWorkspace.manifest.scripts.get("prepare"))return;e("@yarnpkg/shell").execute("yarn prepare")}}})};

.yarnrc.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
nodeLinker: node-modules
2+
3+
plugins:
4+
- checksum: 37b2361b1502b2054e6779788c0e9bdd6a90ce49852a8cad2feda79b0614ec94f06fb6e78951f5f95429c610d7934dd077caa47413a0227378a102c55161616d
5+
path: .yarn/plugins/plugin-prepare-lifecycle.cjs
6+
spec: 'https://github.com/un-es/yarn-plugin-prepare-lifecycle/releases/download/v0.0.1/index.js'

eslint-plugin-sonar/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
```js
1212
// eslint.config.js
1313

14-
import * as sonar from "eslint-plugin-sonar";
14+
import * as sonar from 'eslint-plugin-sonar'
1515

16-
export default [...sonar.configs.flatRecommended];
16+
export default [...sonar.configs.flatRecommended]
1717
```
1818

1919
## 0.14.0

eslint-plugin-sonar/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939
"dependencies": {
4040
"@babel/eslint-parser": "^7.24.5",
4141
"@eslint-community/regexpp": "^4.10.0",
42-
"@typescript-eslint/eslint-plugin": "^6.16.0",
42+
"@typescript-eslint/eslint-plugin": "^7.8.0",
43+
"@typescript-eslint/utils": "^7.8.0",
4344
"builtin-modules": "^3.3.0",
4445
"bytes": "^3.1.2",
4546
"eslint-plugin-jsx-a11y": "^6.8.0",

0 commit comments

Comments
 (0)