turn all eslint errors into warnings for now

This commit is contained in:
f0x 2024-11-06 14:21:01 +01:00
parent 898e2f9f60
commit 7f4d9b689a
3 changed files with 14 additions and 7 deletions

View file

@ -29,7 +29,8 @@ module.exports = [
}
},
plugins: {
"license-header": require("eslint-plugin-license-header")
"license-header": require("eslint-plugin-license-header"),
"only-warn": require("eslint-plugin-only-warn")
},
rules: {
"license-header/header": ["error", __dirname + "/.license-header.js"]

View file

@ -47,7 +47,7 @@
"@babel/preset-typescript": "^7.24.1",
"@browserify/envify": "^6.0.0",
"@browserify/uglifyify": "^6.0.0",
"@f0x52/eslint-config": "^2.0.9",
"@f0x52/eslint-config": "^2.0.11",
"@types/html-to-text": "^9.0.4",
"@types/is-valid-domain": "^0.0.2",
"@types/papaparse": "^5.3.9",
@ -62,6 +62,7 @@
"css-extract": "^2.0.0",
"eslint": "^9.14.0",
"eslint-plugin-license-header": "^0.6.0",
"eslint-plugin-only-warn": "^1.1.0",
"factor-bundle": "^2.5.0",
"icssify": "^2.0.0",
"postcss": "^8.4.18",

View file

@ -1345,10 +1345,10 @@
dependencies:
levn "^0.4.1"
"@f0x52/eslint-config@^2.0.9":
version "2.0.9"
resolved "https://registry.yarnpkg.com/@f0x52/eslint-config/-/eslint-config-2.0.9.tgz#96320799d6c1ecaabd663091a796a765ca075869"
integrity sha512-4XiXUe6wMm5btpMBXpkB90W6aSl4EtuUSmswc9LtsByTvmYQ4+dn0zXoRh2WkWzvZx/VHFIxqu73BMeHHzBDxg==
"@f0x52/eslint-config@^2.0.11":
version "2.0.11"
resolved "https://registry.yarnpkg.com/@f0x52/eslint-config/-/eslint-config-2.0.11.tgz#a8f1cdc057344b6fa61794b7bea437f0b6e269c5"
integrity sha512-QsNeb3uQ/CR5XNKbI98ThchD2vj4IjMh8oEMoFQiB7ae51NCUruSQiE91hq4IvvXGZy4li61loavO4avbm6DJA==
dependencies:
"@eslint/js" "^9.11.0"
"@stylistic/eslint-plugin" "^2.8.0"
@ -3541,6 +3541,11 @@ eslint-plugin-license-header@^0.6.0:
dependencies:
requireindex "^1.2.0"
eslint-plugin-only-warn@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-only-warn/-/eslint-plugin-only-warn-1.1.0.tgz#c6ddc37ddc4e72c121f07be565fcb7b6671fe78a"
integrity sha512-2tktqUAT+Q3hCAU0iSf4xAN1k9zOpjK5WO8104mB0rT/dGhOa09582HN5HlbxNbPRZ0THV7nLGvzugcNOSjzfA==
eslint-scope@^8.2.0:
version "8.2.0"
resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-8.2.0.tgz#377aa6f1cb5dc7592cfd0b7f892fd0cf352ce442"