Skip to content

Commit

Permalink
fix: some lint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
rubiin committed Nov 18, 2023
1 parent aa5eab4 commit 4cd0526
Show file tree
Hide file tree
Showing 68 changed files with 1,498 additions and 1,551 deletions.
15 changes: 4 additions & 11 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
const rubiin = require('@rubiin/eslint-config').default

module.exports = rubiin({
stylistic: true, // enable stylistic rules
stylistic: {
semi: true,
}, // enable stylistic rules
yaml: true, // enable yaml rules,
jsonc : true, // enable jsonc rules
markdown: true, // enable markdown rules
gitignore: true, // enable gitignore rules
typescript: {
tsconfigPath: "tsconfig.json", // path to tsconfig.json
},
gitignore: true, // enable gitignore rules,
},
{
files: ['**/*.ts'],
Expand All @@ -20,12 +19,6 @@ module.exports = rubiin({
"ts/no-unsafe-assignment": "off", // optimize this
"ts/no-unsafe-member-access": "off", // optimize this
"unicorn/prefer-top-level-await": "off",
"ts/no-misused-promises": [
"error",
{
checksVoidReturn: false,
},
],
"unicorn/prevent-abbreviations": [
"error",
{
Expand Down
32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,18 @@
"test:e2e": "jest --config ./test/jest-e2e.json --runInBand --forceExit"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.450.0",
"@aws-sdk/client-ses": "^3.450.0",
"@aws-sdk/client-s3": "^3.454.0",
"@aws-sdk/client-ses": "^3.454.0",
"@casl/ability": "^6.5.0",
"@golevelup/nestjs-rabbitmq": "^4.0.0",
"@golevelup/nestjs-stripe": "^0.6.3",
"@golevelup/nestjs-webhooks": "^0.2.16",
"@ladjs/consolidate": "^1.0.3",
"@mikro-orm/core": "^5.9.3",
"@mikro-orm/migrations": "^5.9.3",
"@mikro-orm/core": "^5.9.4",
"@mikro-orm/migrations": "^5.9.4",
"@mikro-orm/nestjs": "^5.2.2",
"@mikro-orm/postgresql": "^5.9.3",
"@mikro-orm/reflection": "^5.9.3",
"@mikro-orm/postgresql": "^5.9.4",
"@mikro-orm/reflection": "^5.9.4",
"@mikro-orm/sql-highlighter": "^1.0.1",
"@nestjs/axios": "^3.0.1",
"@nestjs/cache-manager": "^2.1.1",
Expand All @@ -75,14 +75,14 @@
"@nestjs/jwt": "^10.2.0",
"@nestjs/mapped-types": "*",
"@nestjs/passport": "^10.0.2",
"@nestjs/platform-express": "^10.2.8",
"@nestjs/platform-socket.io": "^10.2.8",
"@nestjs/platform-express": "^10.2.9",
"@nestjs/platform-socket.io": "^10.2.9",
"@nestjs/schedule": "^4.0.0",
"@nestjs/serve-static": "^4.0.0",
"@nestjs/swagger": "^7.1.15",
"@nestjs/swagger": "^7.1.16",
"@nestjs/terminus": "^10.1.1",
"@nestjs/throttler": "^5.0.1",
"@nestjs/websockets": "^10.2.8",
"@nestjs/websockets": "^10.2.9",
"@paralleldrive/cuid2": "^2.2.2",
"@sentry/hub": "^7.80.1",
"@sentry/node": "^7.80.1",
Expand Down Expand Up @@ -128,7 +128,7 @@
"rxjs": "^7.8.1",
"sharp": "^0.32.6",
"socket.io": "^4.7.2",
"stripe": "^14.4.0",
"stripe": "^14.5.0",
"swagger-stats": "^0.99.7",
"twilio": "4.19.0",
"unprofane": "^1.0.6",
Expand All @@ -138,12 +138,12 @@
"@firebase/app-compat": "^0.2.23",
"@firebase/app-types": "^0.9.0",
"@golevelup/ts-jest": "^0.4.0",
"@mikro-orm/cli": "^5.9.3",
"@mikro-orm/seeder": "^5.9.3",
"@mikro-orm/cli": "^5.9.4",
"@mikro-orm/seeder": "^5.9.4",
"@nestjs/cli": "10.2.1",
"@nestjs/schematics": "10.0.3",
"@nestjs/testing": "10.2.8",
"@rubiin/eslint-config": "^1.9.6",
"@rubiin/eslint-config": "^1.9.12",
"@rubiin/tsconfig": "^1.1.2",
"@sentry/types": "^7.80.1",
"@side/jest-runtime": "^1.1.0",
Expand All @@ -157,7 +157,7 @@
"@types/jest": "^29.5.8",
"@types/mime-types": "^2.1.4",
"@types/multer": "^1.4.10",
"@types/node": "^20.9.0",
"@types/node": "^20.9.1",
"@types/nodemailer": "^6.4.14",
"@types/passport": "^1.0.15",
"@types/passport-facebook": "^3.0.3",
Expand All @@ -171,7 +171,7 @@
"@types/swagger-ui-express": "^4.1.6",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "3.3.0",
"eslint": "^8.53.0",
"eslint": "^8.54.0",
"husky": "^8.0.3",
"jest": "29.7.0",
"lint-staged": "^15.1.0",
Expand Down
Loading

0 comments on commit 4cd0526

Please sign in to comment.