-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
1,921 additions
and
1,324 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,44 @@ | ||
import rubiin from "@rubiin/eslint-config"; | ||
|
||
export default rubiin({ | ||
stylistic: true, // enable stylistic rules | ||
typescript: { | ||
tsconfigPath: "tsconfig.json", // path to tsconfig.json | ||
}, | ||
}, | ||
{ | ||
rules: { | ||
"unicorn/prefer-module": "off", | ||
"ts/no-floating-promises": "off", | ||
"ts/no-extraneous-class": "off", | ||
"ts/unbound-method": "off", | ||
"no-useless-constructor": "off", // optimize this | ||
"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", | ||
"max-nested-callbacks": "off", // rxjs is nested | ||
"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.