diff --git a/.config/dictionary.txt b/.config/dictionary.txt index b6fd2c8de..83f4b38ec 100644 --- a/.config/dictionary.txt +++ b/.config/dictionary.txt @@ -102,6 +102,7 @@ envdir envrc eqeqeq esbenp +eslintcache extest extester fgierlinger diff --git a/.gitignore b/.gitignore index 47ee9351c..78b0231b9 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,4 @@ test/testFixtures/diagnostics/yaml/invalid_yaml.yml packages/ansible-language-server/test/fixtures/diagnostics/invalid_yaml.yml !media/ docs/als/settings.md +.eslintcache diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a4ff36960..649990ed8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -69,14 +69,14 @@ repos: name: eslint entry: npx eslint language: system - verbose: true # do not remove, as this allows warnings to be displayed on GHA args: - --no-warn-ignored - --color - --format=gha - --fix - # - --max-warnings - # - "0" + - --cache + - --max-warnings + - "0" pass_filenames: false files: \.m?[jt]sx?$ # *.js, *.jsx, *.ts and *.tsx types: [file]