-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor: convert eslint config file * deps: bump eslint * deps: remove bluebird * refactor: remove dead code * refactor: remove unused dependencies * refactor: consistent styling
- Loading branch information
1 parent
dcd13dd
commit 1d2db3c
Showing
9 changed files
with
966 additions
and
491 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,37 @@ | ||
{ | ||
"root": true, | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/recommended" | ||
], | ||
"plugins": [ | ||
"@typescript-eslint" | ||
], | ||
"parser": "@typescript-eslint/parser", | ||
"env": { | ||
"node": true, | ||
"es2022": true | ||
}, | ||
"rules": { | ||
"no-control-regex": "off", | ||
"@typescript-eslint/no-var-requires": "off", | ||
"@typescript-eslint/no-explicit-any": "warn" | ||
}, | ||
"ignorePatterns": ["src/sauce.config.mjs"], | ||
"overrides": [ | ||
{ | ||
"files": ["tests/**/*.js"], | ||
"plugins": ["jest"], | ||
"env": { | ||
"jest": true | ||
}, | ||
"rules": { | ||
"jest/no-disabled-tests": "warn", | ||
"jest/no-focused-tests": "error", | ||
"jest/no-identical-title": "error", | ||
"jest/prefer-to-have-length": "warn", | ||
"jest/valid-expect": "error" | ||
} | ||
} | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.