i18n: Upgrade translations from crowdin (253f51dd). (docs)
[ProtonMail-WebClient.git] / packages / ai-assistant / .eslintrc.js
blob9f0794ef8b4f3363af05860a7388e8114e501c66
1 module.exports = {
2     extends: ['@proton/eslint-config-proton'],
3     parser: '@typescript-eslint/parser',
4     parserOptions: {
5         tsconfigRootDir: __dirname,
6         project: './tsconfig.json',
7     },
8     ignorePatterns: ['.eslintrc.js', 'vite.config.ts'],
9     rules: {
10         'no-restricted-syntax': [
11             'error',
12             {
13                 selector: 'Literal[value=/localhost/]',
14                 message: "Usage of 'localhost' string is not allowed.",
15             },
16         ],
17     },