-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(eslint): import plugin back (#1334)
- Loading branch information
1 parent
484df35
commit 77238c0
Showing
110 changed files
with
5,065 additions
and
4,939 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,11 @@ | ||
const { OFF } = require("../eslint.constants"); | ||
|
||
const ESLINT_FACTORIES_CONFIG = Object.freeze({ | ||
name: "factories", | ||
files: ["*.factory.ts"], | ||
/* | ||
* rules: { | ||
* "import/max-dependencies": [ | ||
* eRROR, { | ||
* max: 30, | ||
* ignoreTypeImports: true, | ||
* }, | ||
* ], | ||
* }, | ||
*/ | ||
files: ["**/*.factory.ts"], | ||
rules: { | ||
"import/max-dependencies": OFF, | ||
}, | ||
}); | ||
|
||
module.exports = ESLINT_FACTORIES_CONFIG; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
const { ERROR } = require("../eslint.constants"); | ||
|
||
const ESLINT_MODULE_CONFIG = Object.freeze({ | ||
name: "modules", | ||
files: ["**/*.module.ts"], | ||
rules: { | ||
"import/max-dependencies": [ERROR, { max: 30 }], | ||
}, | ||
}); | ||
|
||
module.exports = ESLINT_MODULE_CONFIG; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
const { ERROR } = require("../eslint.constants"); | ||
|
||
const ESLINT_SCHEMAS_CONFIG = Object.freeze({ | ||
name: "schemas", | ||
files: ["**/*.schema.ts"], | ||
rules: {}, | ||
// rules: {"import/max-dependencies": [ERROR, { max: 30 }],}, | ||
rules: { "import/max-dependencies": [ERROR, { max: 30 }] }, | ||
}); | ||
|
||
module.exports = ESLINT_SCHEMAS_CONFIG; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...es/game/dto/base/decorators/additional-cards/additional-cards-for-actor-size.decorator.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...es/game/dto/base/decorators/additional-cards/additional-cards-for-thief-size.decorator.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
src/modules/game/dto/create-game-feedback/create-game-feedback.dto.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...reate-game/create-game-options/create-roles-game-options/create-actor-game-options.dto.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...reate-game/create-game-options/create-roles-game-options/create-roles-game-options.dto.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...reate-game/create-game-options/create-roles-game-options/create-thief-game-options.dto.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...te-game/create-game-options/create-roles-game-options/create-werewolf-game-options.dto.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.