Skip to content

Commit

Permalink
chore: Update eslint.config.js and package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
rubiin committed Nov 23, 2023
1 parent d8b59dc commit fd74a47
Show file tree
Hide file tree
Showing 3 changed files with 391 additions and 378 deletions.
3 changes: 3 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ module.exports = rubiin({
jsonc: true, // enable jsonc rules
markdown: true, // enable markdown rules
gitignore: true, // enable gitignore rules,
typescript: {
tsconfigPath: "./tsconfig.json",
}, // enable typescript rules
overrides: {
typescript:
{
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
},
"scripts": {
"build": "nest build",
"lint": "ESLINT_USE_FLAT_CONFIG=true eslint '{src,test}/**/*.ts' --cache",
"lint": "ESLINT_USE_FLAT_CONFIG=true eslint '{src,test}/**/*.ts' --cache --debug",
"lint:fix": "ESLINT_USE_FLAT_CONFIG=true eslint '{src,test}/**/*.ts' --cache --fix",
"orm": "npx mikro-orm",
"sample": "cd env; npx sample-env --env .env.dev",
Expand Down Expand Up @@ -98,7 +98,7 @@
"date-fns": "^2.30.0",
"date-fns-tz": "^2.0.0",
"eta": "^3.1.1",
"firebase-admin": "^11.11.0",
"firebase-admin": "^11.11.1",
"helmet": "^7.1.0",
"helper-fns": "^2.6.38",
"ioredis": "^5.3.2",
Expand Down Expand Up @@ -143,7 +143,7 @@
"@nestjs/cli": "10.2.1",
"@nestjs/schematics": "10.0.3",
"@nestjs/testing": "10.2.8",
"@rubiin/eslint-config": "^1.9.15",
"@rubiin/eslint-config": "^1.9.16",
"@rubiin/tsconfig": "^1.1.2",
"@sentry/types": "^7.81.1",
"@side/jest-runtime": "^1.1.0",
Expand Down Expand Up @@ -178,7 +178,7 @@
"run-script-webpack-plugin": "^0.2.0",
"sample-env": "^2.0.6",
"supertest": "6.3.3",
"testcontainers": "^10.2.2",
"testcontainers": "^10.3.0",
"ts-loader": "9.5.0",
"ts-node": "10.9.1",
"tsconfig-paths": "4.2.0",
Expand Down
Loading

0 comments on commit fd74a47

Please sign in to comment.