summaryrefslogtreecommitdiffstats
path: root/package-lock.json
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2022-07-22 03:10:22 +0200
committerGitHub <noreply@github.com>2022-07-22 09:10:22 +0800
commitbc17cba83587f2b4015f0df25925817abef5c082 (patch)
tree31ea16d21d92793b9f71e9dd553b43f0ec6326e7 /package-lock.json
parent3df33799c1b8775b4110ed11171a37f6c5ef4ae2 (diff)
downloadgitea-bc17cba83587f2b4015f0df25925817abef5c082.tar.gz
gitea-bc17cba83587f2b4015f0df25925817abef5c082.zip
Add eslint-plugin-sonarjs (#20431)
We had this plugin before but it was removed as it became outdated, now it was updated again, so it's compatible again. Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: 6543 <6543@obermui.de>
Diffstat (limited to 'package-lock.json')
-rw-r--r--package-lock.json20
1 files changed, 20 insertions, 0 deletions
diff --git a/package-lock.json b/package-lock.json
index d2aa3dbe1b..cfd2a6ad2a 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -50,6 +50,7 @@
"eslint": "8.20.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jquery": "1.5.1",
+ "eslint-plugin-sonarjs": "0.13.0",
"eslint-plugin-unicorn": "43.0.2",
"eslint-plugin-vue": "9.2.0",
"jest": "28.1.3",
@@ -5492,6 +5493,18 @@
"eslint": ">=5.4.0"
}
},
+ "node_modules/eslint-plugin-sonarjs": {
+ "version": "0.13.0",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-sonarjs/-/eslint-plugin-sonarjs-0.13.0.tgz",
+ "integrity": "sha512-t3m7ta0EspzDxSOZh3cEOJIJVZgN/TlJYaBGnQlK6W/PZNbWep8q4RQskkJkA7/zwNpX0BaoEOSUUrqaADVoqA==",
+ "dev": true,
+ "engines": {
+ "node": ">=12"
+ },
+ "peerDependencies": {
+ "eslint": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0"
+ }
+ },
"node_modules/eslint-plugin-unicorn": {
"version": "43.0.2",
"resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-43.0.2.tgz",
@@ -16787,6 +16800,13 @@
"dev": true,
"requires": {}
},
+ "eslint-plugin-sonarjs": {
+ "version": "0.13.0",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-sonarjs/-/eslint-plugin-sonarjs-0.13.0.tgz",
+ "integrity": "sha512-t3m7ta0EspzDxSOZh3cEOJIJVZgN/TlJYaBGnQlK6W/PZNbWep8q4RQskkJkA7/zwNpX0BaoEOSUUrqaADVoqA==",
+ "dev": true,
+ "requires": {}
+ },
"eslint-plugin-unicorn": {
"version": "43.0.2",
"resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-43.0.2.tgz",