@darraghor/eslint-plugin-nestjs-typed 5.0.31 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.NonFactoryDecorator = NonFactoryDecorator;
4
- /* eslint-disable @typescript-eslint/ban-types */
5
4
  /* eslint-disable @typescript-eslint/no-explicit-any */
6
5
  /* eslint-disable @typescript-eslint/no-unused-vars */
6
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
7
7
  function NonFactoryDecorator(constructor) {
8
8
  return;
9
9
  }
10
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTm9uRmFjdG9yeURlY29yYXRvci5zdHViLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2ZpeHR1cmVzL05vbkZhY3RvcnlEZWNvcmF0b3Iuc3R1Yi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUdBLGtEQUVDO0FBTEQsaURBQWlEO0FBQ2pELHVEQUF1RDtBQUN2RCxzREFBc0Q7QUFDdEQsU0FBZ0IsbUJBQW1CLENBQUMsV0FBcUI7SUFDckQsT0FBTztBQUNYLENBQUMifQ==
10
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTm9uRmFjdG9yeURlY29yYXRvci5zdHViLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2ZpeHR1cmVzL05vbkZhY3RvcnlEZWNvcmF0b3Iuc3R1Yi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUdBLGtEQUVDO0FBTEQsdURBQXVEO0FBQ3ZELHNEQUFzRDtBQUN0RCxzRUFBc0U7QUFDdEUsU0FBZ0IsbUJBQW1CLENBQUMsV0FBcUI7SUFDckQsT0FBTztBQUNYLENBQUMifQ==
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@darraghor/eslint-plugin-nestjs-typed",
3
- "version": "5.0.31",
3
+ "version": "5.1.0",
4
4
  "description": "Eslint rules for nestjs projects",
5
5
  "scripts": {
6
6
  "clean": "rm -Rf ./dist/",
7
7
  "build:ci": "npm run build",
8
8
  "build": "npm run clean && mkdir ./dist && tsc --project tsconfig.build.json",
9
- "lint": "npx eslint -c .eslintrc.js --ext .ts src --no-error-on-unmatched-pattern --no-ignore",
9
+ "lint": "npx eslint --no-error-on-unmatched-pattern --no-ignore ./src/**/*.ts",
10
10
  "test": "export NODE_OPTIONS=\"--max-old-space-size=8192\" && npx jest --runInBand --colors --reporters=default --no-cache --coverage=false --silent=false -c jest.config.ts",
11
11
  "pre-commit": "npx lint-staged",
12
12
  "prettier": "prettier --write src/*",
@@ -51,11 +51,13 @@
51
51
  "devDependencies": {
52
52
  "@commitlint/cli": "19.6.1",
53
53
  "@commitlint/config-conventional": "19.6.0",
54
+ "@eslint/eslintrc": "^3.2.0",
55
+ "@eslint/js": "^9.17.0",
54
56
  "@semantic-release/changelog": "6.0.3",
55
57
  "@semantic-release/exec": "6.0.3",
56
58
  "@types/eslint": "9.6.1",
57
59
  "@types/jest": "29.5.14",
58
- "@types/node": "20.17.9",
60
+ "@types/node": "20.17.11",
59
61
  "@typescript-eslint/eslint-plugin": "8.19.0",
60
62
  "@typescript-eslint/parser": "8.19.0",
61
63
  "@typescript-eslint/rule-tester": "8.19.0",
@@ -64,6 +66,7 @@
64
66
  "eslint-config-prettier": "9.1.0",
65
67
  "eslint-plugin-prefer-arrow": "1.2.3",
66
68
  "eslint-plugin-unicorn": "56.0.1",
69
+ "globals": "^15.14.0",
67
70
  "husky": "9.1.7",
68
71
  "jest": "29.7.0",
69
72
  "jest-create-mock-instance": "2.0.0",
@@ -89,9 +92,5 @@
89
92
  "lint",
90
93
  "style"
91
94
  ],
92
- "license": "ISC",
93
- "lint-staged": {
94
- "*.ts": "eslint --cache --fix",
95
- "*.{ts,js,css,md}": "prettier --write"
96
- }
95
+ "license": "ISC"
97
96
  }