Skip to content

Commit

Permalink
fix: bump all libs and fix one test case
Browse files Browse the repository at this point in the history
  • Loading branch information
darraghoriordan committed Oct 17, 2023
1 parent 2aa768c commit 0a70f77
Show file tree
Hide file tree
Showing 3 changed files with 155 additions and 163 deletions.
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,32 +43,32 @@
"main": "dist/index.js",
"types": "index.d.ts",
"dependencies": {
"@typescript-eslint/scope-manager": "6.7.4",
"@typescript-eslint/utils": "6.7.4",
"@typescript-eslint/scope-manager": "6.8.0",
"@typescript-eslint/utils": "6.8.0",
"eslint-module-utils": "2.8.0",
"reflect-metadata": "0.1.13"
},
"devDependencies": {
"@commitlint/cli": "17.7.2",
"@commitlint/config-conventional": "17.7.0",
"@commitlint/cli": "17.8.0",
"@commitlint/config-conventional": "17.8.0",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/exec": "6.0.3",
"@types/eslint": "8.44.3",
"@types/eslint": "8.44.4",
"@types/jest": "29.5.5",
"@types/node": "20.8.2",
"@typescript-eslint/eslint-plugin": "6.7.4",
"@typescript-eslint/parser": "6.7.4",
"@typescript-eslint/rule-tester": "6.7.4",
"@types/node": "20.8.6",
"@typescript-eslint/eslint-plugin": "6.8.0",
"@typescript-eslint/parser": "6.8.0",
"@typescript-eslint/rule-tester": "6.8.0",
"class-validator": "^0.14",
"eslint": "8.50.0",
"eslint": "8.51.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-prefer-arrow": "1.2.3",
"eslint-plugin-unicorn": "48.0.1",
"husky": "8.0.3",
"jest": "29.7.0",
"jest-create-mock-instance": "2.0.0",
"jest-junit": "16.0.0",
"lint-staged": "14.0.1",
"lint-staged": "15.0.1",
"prettier": "3.0.3",
"semantic-release": "22.0.5",
"ts-jest": "29.1.1",
Expand Down
22 changes: 11 additions & 11 deletions src/rules/noDuplicateDecorators/noDuplicateDecorators.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,30 +14,30 @@ const ruleTester = new RuleTester({
ruleTester.run("no-duplicate-decorators", rule, {
valid: [
{
code: `@DiscoverDecorator()
code: `@Controller()
class MyClass {
@DiscoverDecorator()
@Controller()
myProperty: string;
}`,
},
{
code: `@DiscoverDecorator()
code: `@Controller()
@NotValidated()
@NotValidated()
class MyClass {
@DiscoverDecorator()
@Controller()
myProperty: string;
}`,
},
],
invalid: [
{
code: `@DiscoverDecorator()
@DiscoverDecorator()
code: `@Controller()
@Controller()
class MyClass {
@DiscoverDecorator()
@Controller()
myProperty: string;
}`,
Expand All @@ -49,10 +49,10 @@ ruleTester.run("no-duplicate-decorators", rule, {
},
{
code: `
@DiscoverDecorator()
@Controller()
class MyClass {
@DiscoverDecorator()
@DiscoverDecorator()
@Controller()
@Controller()
myProperty: string;
}`,
Expand All @@ -64,7 +64,7 @@ ruleTester.run("no-duplicate-decorators", rule, {
},
{
code: `
@DiscoverDecorator()
@Controller()
class MyClass {
@Validated()
@Validated()
Expand Down
Loading

0 comments on commit 0a70f77

Please sign in to comment.