diff options
| author | Joe Carstairs <jcarstairs@scottlogic.com> | 2023-08-02 19:06:38 +0100 |
|---|---|---|
| committer | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-03 08:05:11 +0100 |
| commit | d7009367147fb8b841b9717c5807d04240292cdd (patch) | |
| tree | e9bb3fc634b4adab97a57d6d1dc0f20c1c830f57 /.eslintrc.json | |
| parent | 75629128bba7f5a83b0e8714685f8e481c7cae2f (diff) | |
Move code quality tools to root directory
Diffstat (limited to '.eslintrc.json')
| -rw-r--r-- | .eslintrc.json | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..6e3410d --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,28 @@ +{ + "env": { + "browser": true, + "es2021": true + }, + "extends": [ + "eslint:recommended", + "plugin:astro/recommended", + "plugin:@typescript-eslint/recommended" + ], + "overrides": [ + { + "files": ["*.astro"], + "parser": "astro-eslint-parser", + "parserOptions": { + "parser": "@typescript-eslint/parser", + "extraFileExtensions": [".astro"] + } + } + ], + "parser": "@typescript-eslint/parser", + "parserOptions": { + "ecmaVersion": "latest", + "sourceType": "module" + }, + "plugins": ["@typescript-eslint"], + "rules": {} +} |
