chore: eslint add sonar (#17989)

This commit is contained in:
Joel 2025-04-14 15:28:20 +08:00 • committed by GitHub
commit d80f4c7d3b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
38 changed files with 157 additions and 180 deletions

45
web/pnpm-lock.yaml generated
View file

@ -473,6 +473,9 @@ importers:
eslint-plugin-react-refresh:
specifier: ^0.4.19
version: 0.4.19(eslint@9.24.0(jiti@1.21.7))
eslint-plugin-sonarjs:
specifier: ^3.0.2
version: 3.0.2(eslint@9.24.0(jiti@1.21.7))
eslint-plugin-storybook:
specifier: ^0.11.2
version: 0.11.6(eslint@9.24.0(jiti@1.21.7))(typescript@4.9.5)
@ -3736,6 +3739,10 @@ packages:
buffer@6.0.3:
resolution: {integrity: sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==}
builtin-modules@3.3.0:
resolution: {integrity: sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==}
engines: {node: '>=6'}
builtin-modules@5.0.0:
resolution: {integrity: sha512-bkXY9WsVpY7CvMhKSR6pZilZu9Ln5WDrKVBUXf2S443etkmEO4V58heTecXcUIsNsi4Rx8JUO4NfX1IcQl4deg==}
engines: {node: '>=18.20'}
@ -3747,6 +3754,10 @@ packages:
resolution: {integrity: sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==}
engines: {node: '>=10.16.0'}
bytes@3.1.2:
resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==}
engines: {node: '>= 0.8'}
cac@6.7.14:
resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==}
engines: {node: '>=8'}
@ -4864,6 +4875,11 @@ packages:
peerDependencies:
eslint: '>=8.44.0'
eslint-plugin-sonarjs@3.0.2:
resolution: {integrity: sha512-LxjbfwI7ypENeTmGyKmDyNux3COSkMi7H/6Cal5StSLQ6edf0naP45SZR43OclaNR7WfhVTZdhOn63q3/Y6puQ==}
peerDependencies:
eslint: ^8.0.0 || ^9.0.0
eslint-plugin-storybook@0.11.6:
resolution: {integrity: sha512-3WodYD6Bs9ACqnB+TP2TuLh774c/nacAjxSKOP9bHJ2c8rf+nrhocxjjeAWNmO9IPkFIzTKlcl0vNXI2yYpVOw==}
engines: {node: '>= 18'}
@ -5181,6 +5197,9 @@ packages:
resolution: {integrity: sha512-e5iwyodOHhbMr/yNrc7fDYG4qlbIvI5gajyzPnb5TCwyhjApznQh1BMFou9b30SevY43gCJKXycoCBjMbsuW0Q==}
engines: {node: '>= 0.4'}
functional-red-black-tree@1.0.1:
resolution: {integrity: sha512-dsKNQNdj6xA3T+QlADDA7mOSlX0qiMINjn0cgr+eGHGsbSHzTabcIogz2+p/iqP1Xs6EP/sS2SbqH+brGTbq0g==}
functions-have-names@1.2.3:
resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==}
@ -8115,6 +8134,11 @@ packages:
engines: {node: '>=4.2.0'}
hasBin: true
typescript@5.8.3:
resolution: {integrity: sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==}
engines: {node: '>=14.17'}
hasBin: true
ufo@1.6.1:
resolution: {integrity: sha512-9a4/uxlTWJ4+a5i0ooc1rU7C7YOw3wT+UGqdeNNHWnOF9qcMBgLRS+4IYUqbczewFx4mLEig6gawh7X6mFlEkA==}
@ -12474,6 +12498,8 @@ snapshots:
base64-js: 1.5.1
ieee754: 1.2.1
builtin-modules@3.3.0: {}
builtin-modules@5.0.0: {}
builtin-status-codes@3.0.0: {}
@ -12482,6 +12508,8 @@ snapshots:
dependencies:
streamsearch: 1.1.0
bytes@3.1.2: {}
cac@6.7.14: {}
cacheable-lookup@5.0.4: {}
@ -13904,6 +13932,19 @@ snapshots:
regexp-ast-analysis: 0.7.1
scslre: 0.3.0
eslint-plugin-sonarjs@3.0.2(eslint@9.24.0(jiti@1.21.7)):
dependencies:
'@eslint-community/regexpp': 4.12.1
builtin-modules: 3.3.0
bytes: 3.1.2
eslint: 9.24.0(jiti@1.21.7)
functional-red-black-tree: 1.0.1
jsx-ast-utils: 3.3.5
minimatch: 9.0.5
scslre: 0.3.0
semver: 7.7.1
typescript: 5.8.3
eslint-plugin-storybook@0.11.6(eslint@9.24.0(jiti@1.21.7))(typescript@4.9.5):
dependencies:
'@storybook/csf': 0.1.13
@ -14310,6 +14351,8 @@ snapshots:
hasown: 2.0.2
is-callable: 1.2.7
functional-red-black-tree@1.0.1: {}
functions-have-names@1.2.3: {}
gauge@3.0.2:
@ -18063,6 +18106,8 @@ snapshots:
typescript@4.9.5: {}
typescript@5.8.3: {}
ufo@1.6.1: {}
uglify-js@3.19.3: {}