Use source loader for email sprite icons
[ProtonMail-WebClient.git] / packages / eslint-config-proton / README.md
blob18abb040e5a7f5ee1b09c2ceb7356cfc123709e2
1 # Proton ESLint config
3 Modern ESLint config for a more civilized age.
5 ## How to use
7 Add the following to the `package.json` dev dependencies.
9 ```json
10 "@proton/eslint-config-proton": "workspace:^",
11 ```
13 Then, use the following `.eslintrc` config.
15 ```js
16 module.exports = {
17     extends: ['@proton/eslint-config-proton'],
18     parser: '@typescript-eslint/parser',
19     parserOptions: {
20         tsconfigRootDir: __dirname,
21         project: './tsconfig.json',
22     },
23     ignorePatterns: ['.eslintrc.js'],
25 ```