mirror of
https://github.com/ente-io/ente.git
synced 2025-08-08 07:28:26 +00:00
Fix lint for web
Copy overrides from desktop
This commit is contained in:
parent
abee517f8c
commit
7056e04c02
@ -10,4 +10,20 @@ module.exports = {
|
||||
parserOptions: { project: true },
|
||||
parser: "@typescript-eslint/parser",
|
||||
ignorePatterns: [".eslintrc.js"],
|
||||
rules: {
|
||||
/* Allow numbers to be used in template literals */
|
||||
"@typescript-eslint/restrict-template-expressions": [
|
||||
"error",
|
||||
{
|
||||
allowNumber: true,
|
||||
},
|
||||
],
|
||||
/* Allow void expressions as the entire body of an arrow function */
|
||||
"@typescript-eslint/no-confusing-void-expression": [
|
||||
"error",
|
||||
{
|
||||
ignoreArrowShorthand: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user