Change eslint settings to error instead of warn (#3128)

This commit is contained in:
Oscar Hinton 2022-07-22 11:15:10 +02:00 committed by GitHub
parent 90c91e0a7d
commit d99acd818b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@
],
"rules": {
"@typescript-eslint/no-explicit-any": "off", // TODO: This should be re-enabled
"@typescript-eslint/no-unused-vars": ["warn", { "args": "none" }],
"@typescript-eslint/no-unused-vars": ["error", { "args": "none" }],
"@typescript-eslint/explicit-member-accessibility": [
"error",
{
@ -27,7 +27,7 @@
"allowedNames": ["self"]
}
],
"no-console": "warn",
"no-console": "error",
"import/no-unresolved": "off", // TODO: Look into turning off once each package is an actual package.
"import/order": [
"error",

View File

@ -14,7 +14,7 @@
"homepage": "https://bitwarden.com",
"scripts": {
"prepare": "husky install",
"lint": "eslint . && prettier --check .",
"lint": "eslint . || prettier --check .",
"lint:fix": "eslint . --fix",
"prettier": "prettier --write .",
"test": "jest",