Skip to content

Commit

Permalink
Update eslint version and its configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
samchon committed Aug 14, 2024
1 parent 779e362 commit 092d68e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ module.exports = {
{
files: ["src/**/*.ts", "test/**/*.ts"],
rules: {
"@typescript-eslint/consistent-type-definitions": "off",
"@typescript-eslint/consistent-type-definitions": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-empty-interface": "off",
Expand All @@ -21,6 +20,8 @@ module.exports = {
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-floating-promises": "error",
"@typescript-eslint/no-require-imports": "off",
"@typescript-eslint/no-empty-object-type": "off",
},
},
],
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"test": "rimraf prisma/migrations && node bin/test",
"------------------------BUILDS------------------------": "",
"build": "npm run build:prisma && npm run build:sdk && npm run build:main && npm run build:test",
"build:api": "rimraf packages/api/lib && nestia sdk && tsc -p packages/api/tsconfig.json && rollup -c packages/api/rollup.config.js",
"build:api": "rimraf packages/api/lib && nestia all && tsc -p packages/api/tsconfig.json && rollup -c packages/api/rollup.config.js",
"build:main": "rimraf lib && tsc",
"build:prisma": "prisma generate --schema=prisma/schema.prisma",
"build:sdk": "rimraf src/api/functional && nestia sdk",
Expand All @@ -23,7 +23,7 @@
"webpack:start": "node dist/server",
"webpack:test": "npm run webpack && rimraf prisma/migrations && node bin/test/webpack.js",
"------------------------DEPLOYS------------------------": "",
"package:api": "npm run build:swagger && npm run build:api && cd packages/api && npm publish --access public",
"package:api": "npm run build:api && cd packages/api && npm publish --access public",
"start": "node lib/executable/server",
"start:swagger": "ts-node src/executable/swagger.ts",
"schema": "ts-node src/executable/schema"
Expand Down Expand Up @@ -53,14 +53,14 @@
"@types/node": "^20.11.22",
"@types/swagger-ui-express": "^4.1.6",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"@typescript-eslint/eslint-plugin": "^8.1.0",
"@typescript-eslint/parser": "^8.1.0",
"chalk": "^4.1.2",
"cli": "^1.0.1",
"cli-progress": "^3.12.0",
"commander": "10.0.0",
"copy-webpack-plugin": "^12.0.2",
"eslint-plugin-deprecation": "^2.0.0",
"eslint-plugin-deprecation": "^3.0.0",
"inquirer": "^8.2.5",
"nestia": "^5.7.0",
"prettier": "^3.2.5",
Expand Down

0 comments on commit 092d68e

Please sign in to comment.