mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 06:13:38 +00:00
Change eslint settings to error instead of warn (#3128)
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
],
|
],
|
||||||
"rules": {
|
"rules": {
|
||||||
"@typescript-eslint/no-explicit-any": "off", // TODO: This should be re-enabled
|
"@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": [
|
"@typescript-eslint/explicit-member-accessibility": [
|
||||||
"error",
|
"error",
|
||||||
{
|
{
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
"allowedNames": ["self"]
|
"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/no-unresolved": "off", // TODO: Look into turning off once each package is an actual package.
|
||||||
"import/order": [
|
"import/order": [
|
||||||
"error",
|
"error",
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
"homepage": "https://bitwarden.com",
|
"homepage": "https://bitwarden.com",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepare": "husky install",
|
"prepare": "husky install",
|
||||||
"lint": "eslint . && prettier --check .",
|
"lint": "eslint . || prettier --check .",
|
||||||
"lint:fix": "eslint . --fix",
|
"lint:fix": "eslint . --fix",
|
||||||
"prettier": "prettier --write .",
|
"prettier": "prettier --write .",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
|
|||||||
Reference in New Issue
Block a user