Fix eslint error

pull/2163/head
Jérémy Rialland 2022-06-02 19:06:03 +02:00 committed by Johan Girod
parent 695a88f273
commit 5af2dfa9c0
4 changed files with 17 additions and 21 deletions

View File

@ -1,4 +1,5 @@
node_modules
dist
storybook-static
*.yaml.d.ts
*.yaml.d.ts
vitest.config.ts

View File

@ -46,12 +46,7 @@ module.exports = {
ecmaFeatures: { jsx: true },
// eslint-disable-next-line no-undef
tsconfigRootDir: __dirname,
project: [
'./api/tsconfig.json',
'./site/tsconfig.json',
'./modele-social/tsconfig.json',
'./exoneration-covid/tsconfig.json',
],
project: ['./**/tsconfig.json'],
},
extends: [
'eslint:recommended',

View File

@ -42,7 +42,7 @@
"eslint-config-standard": "^17.0.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-mocha": "^10.0.4",
"eslint-plugin-mocha": "^10.0.5",
"eslint-plugin-n": "^15.2.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.30.0",

View File

@ -11833,15 +11833,15 @@ __metadata:
languageName: node
linkType: hard
"eslint-plugin-mocha@npm:^10.0.4":
version: 10.0.4
resolution: "eslint-plugin-mocha@npm:10.0.4"
"eslint-plugin-mocha@npm:^10.0.5":
version: 10.0.5
resolution: "eslint-plugin-mocha@npm:10.0.5"
dependencies:
eslint-utils: ^3.0.0
ramda: ^0.28.0
rambda: ^7.1.0
peerDependencies:
eslint: ">=7.0.0"
checksum: f175eb94b1e238ece54bf46fa36389758591131397ec96db149d6d4046d7f25476f70c7de68499a72ae94f8d8303d592264a4ce6446f31bc891abd953324c94f
checksum: b49f9f64056db355ca43d4fa7d68047434c10c2b1e2ee41eb14f69e0acf60fa3c57c300900cc67fc2e84dbf134792de04553ce6e792037b911e3606512c6431f
languageName: node
linkType: hard
@ -18382,6 +18382,13 @@ __metadata:
languageName: node
linkType: hard
"rambda@npm:^7.1.0":
version: 7.1.4
resolution: "rambda@npm:7.1.4"
checksum: 05683dcb1bc76504beabb83a8b39488738ba744e12eda43ea29a00b28e61d2be923b9310c575aa5a70c25bf2195de070aa8351b78b6ebc212ceb455ef8544cdb
languageName: node
linkType: hard
"ramda@npm:^0.21.0":
version: 0.21.0
resolution: "ramda@npm:0.21.0"
@ -18396,13 +18403,6 @@ __metadata:
languageName: node
linkType: hard
"ramda@npm:^0.28.0":
version: 0.28.0
resolution: "ramda@npm:0.28.0"
checksum: 44ea6e5010bba70151b6a92d8114a91915e8b5a16105cce65fae58c9d7386b812c429645e35f21141d7087568550ce383bc10ee1a65cdec951f4b69ea457e6a4
languageName: node
linkType: hard
"randexp@npm:0.4.6":
version: 0.4.6
resolution: "randexp@npm:0.4.6"
@ -19671,7 +19671,7 @@ __metadata:
eslint-config-standard: ^17.0.0
eslint-plugin-cypress: ^2.12.1
eslint-plugin-import: ^2.26.0
eslint-plugin-mocha: ^10.0.4
eslint-plugin-mocha: ^10.0.5
eslint-plugin-n: ^15.2.0
eslint-plugin-promise: ^6.0.0
eslint-plugin-react: ^7.30.0