mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-17 18:51:10 +01:00
allow usage of console for node scripts
This commit is contained in:
@@ -31,7 +31,10 @@ const rules = {
|
|||||||
|
|
||||||
const nodeConfiguration = {
|
const nodeConfiguration = {
|
||||||
extends: ["airbnb-base", "plugin:prettier/recommended"],
|
extends: ["airbnb-base", "plugin:prettier/recommended"],
|
||||||
rules
|
rules: {
|
||||||
|
"no-console": "off",
|
||||||
|
...rules
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const typescriptConfiguration = {
|
const typescriptConfiguration = {
|
||||||
@@ -41,7 +44,7 @@ const typescriptConfiguration = {
|
|||||||
"@typescript-eslint/explicit-function-return-type": "off",
|
"@typescript-eslint/explicit-function-return-type": "off",
|
||||||
"@typescript-eslint/ban-ts-ignore": "warn",
|
"@typescript-eslint/ban-ts-ignore": "warn",
|
||||||
"no-console": "error",
|
"no-console": "error",
|
||||||
"jsx-a11y/href-no-hash": [0],
|
"jsx-a11y/href-no-hash": "off",
|
||||||
...rules
|
...rules
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user