.eslintrc.js 488 B

12345678910111213
  1. module.exports = {
  2. // When root is set to true, ESLint will stop looking for configuration files in parent directories.
  3. // This is required here to ensure desktop picks the right eslint config, where this app is
  4. // packaged as a submodule.
  5. root: true,
  6. extends: ["@ente/eslint-config"],
  7. parser: "@typescript-eslint/parser",
  8. parserOptions: {
  9. tsconfigRootDir: __dirname,
  10. project: "./tsconfig.json",
  11. },
  12. ignorePatterns: [".eslintrc.js"],
  13. };