ente/apps/auth/.eslintrc.js
Manav Rathi 57ed3e6fd5 Prevent eslint from descending into out/
eslint already ignores node_modules and folders beginning with a dot
https://eslint.org/docs/latest/use/configure/ignore
2024-02-17 13:11:36 +05:30

14 lines
495 B
JavaScript

module.exports = {
// 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
// packaged as a submodule.
root: true,
extends: ['@ente/eslint-config'],
parser: '@typescript-eslint/parser',
parserOptions: {
tsconfigRootDir: __dirname,
project: './tsconfig.json',
},
ignorePatterns: ['.eslintrc.js', 'out'],
};