2023-04-23 21:47:42 +00:00
|
|
|
module.exports = {
|
2023-05-29 04:43:02 +00:00
|
|
|
// When root is set to true, ESLint will stop looking for configuration files in parent directories.
|
|
|
|
// This is required here to ensure desktop picks the right eslint config, where this app is
|
2023-05-29 04:44:06 +00:00
|
|
|
// packaged as a submodule.
|
2023-05-29 04:43:02 +00:00
|
|
|
root: true,
|
2024-02-24 08:18:57 +00:00
|
|
|
extends: ["@ente/eslint-config"],
|
|
|
|
parser: "@typescript-eslint/parser",
|
2023-05-28 23:52:57 +00:00
|
|
|
parserOptions: {
|
|
|
|
tsconfigRootDir: __dirname,
|
2024-02-24 08:18:57 +00:00
|
|
|
project: "./tsconfig.json",
|
2023-05-28 23:52:57 +00:00
|
|
|
},
|
2024-02-24 08:18:57 +00:00
|
|
|
ignorePatterns: [".eslintrc.js", "out", "thirdparty", "public"],
|
2023-04-29 15:16:40 +00:00
|
|
|
};
|