More eslint tweaks

This commit is contained in:
David Carley
2022-09-07 17:51:16 +00:00
parent 051e712b53
commit f91dc1d756
26 changed files with 312 additions and 301 deletions

View File

@@ -20,7 +20,12 @@ globals:
Clusterize: readonly
SockJS: readonly
ignorePatterns:
- "**/dist/**/*"
- /src/svelte-components/dist
- /src/static
- /build
- /dist
- /rpi-share
- /src/py/bbctrl/http
rules:
indent:
- off
@@ -45,6 +50,7 @@ rules:
- argsIgnorePattern: _.*
no-unused-vars:
- error
- argsIgnorePattern: _.*
no-trailing-spaces:
- error
key-spacing:
@@ -94,3 +100,8 @@ rules:
- error
space-infix-ops:
- error
space-before-function-paren:
- error
- anonymous: never
named: never
asyncArrow: always