-
-
Notifications
You must be signed in to change notification settings - Fork 46
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,877 additions
and
1,281 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,46 @@ | ||
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", | ||
"style/quotes": "off", | ||
"style/semi-style": ["error", "last"], | ||
"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.