-
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
93 changed files
with
2,221 additions
and
1,983 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
import rubiin from "@rubiin/eslint-config"; | ||
|
||
export default rubiin({ | ||
stylistic: true, // enable stylistic rules | ||
typescript: { | ||
tsconfigPath: "tsconfig.json", // path to tsconfig.json | ||
}, | ||
}, | ||
{ | ||
rules: { | ||
"ts/no-floating-promises": "off", | ||
"ts/no-extraneous-class": "off", | ||
"ts/unbound-method": "off", | ||
"ts/require-await": "off", // optimize this | ||
"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", | ||
{ | ||
ignore: [ | ||
"\\.e2e*", | ||
"\\.spec*", | ||
"\\.decorator*", | ||
"\\*idx*", | ||
], | ||
allowList: { | ||
ProcessEnv: true, | ||
UUIDParam: true, | ||
}, | ||
}, | ||
], | ||
}, | ||
}, | ||
); |
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.