webstudio/server/.eslintrc.cjs

32 lines
719 B
JavaScript
Raw Normal View History

module.exports = {
root: true,
parser: "@typescript-eslint/parser",
env: {
node: true,
},
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
],
settings: {
react: {
version: "detect",
},
},
rules: {
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-unused-vars": [
2024-12-01 16:12:08 +00:00
"warn",
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_"
}
],
},
ignorePatterns: ["**/generated/*"],
};