More eslint tweaks

This commit is contained in:
David Carley
2022-09-05 09:33:27 +00:00
parent e4eabb1687
commit 4977aadb2c

View File

@@ -10,6 +10,7 @@ parser: "@typescript-eslint/parser"
parserOptions:
ecmaVersion: latest
sourceType: module
tsconfigRootDir: ./src/svelte-components
plugins:
- "@typescript-eslint"
globals:
@@ -77,7 +78,15 @@ rules:
- error
prefer-template:
- error
object-curly-spacing:
- error
- always
array-bracket-spacing:
- error
- always
template-curly-spacing:
- error
require-await:
- error
space-infix-ops:
- error