⬆️ Update eslint version
This commit is contained in:
1 parent
8f7ed765df
commit
084b5bfdd9
2 files changed
+5
-14
No files matched your search
+4
-11
@@ -1,11 +1,4 @@
|
|||||||
parserOptions:
|
env:
|
||||||
ecmaVersion: 2018
|
browser: true
|
||||||
|
jquery: true
|
||||||
overrides:
|
es2018: true
|
||||||
- files:
|
|
||||||
- "src/octoprint/static/js/**.js"
|
|
||||||
- "src/octoprint/plugins/**.js"
|
|
||||||
env:
|
|
||||||
browser: true
|
|
||||||
jquery: true
|
|
||||||
es6: true
|
|
||||||
@@ -61,11 +61,9 @@ repos:
|
|||||||
hooks:
|
hooks:
|
||||||
- id: prettier
|
- id: prettier
|
||||||
- repo: https://github.com/pre-commit/mirrors-eslint
|
- repo: https://github.com/pre-commit/mirrors-eslint
|
||||||
rev: v8.34.0
|
rev: v8.35.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: eslint
|
- id: eslint
|
||||||
additional_dependencies:
|
|
||||||
- eslint@7.19.0
|
|
||||||
files: \.js$
|
files: \.js$
|
||||||
exclude: ^(src/octoprint/vendor/|tests/static/js/lib|tests/util/_files|docs/|scripts/|translations/)
|
exclude: ^(src/octoprint/vendor/|tests/static/js/lib|tests/util/_files|docs/|scripts/|translations/)
|
||||||
- repo: https://github.com/codespell-project/codespell
|
- repo: https://github.com/codespell-project/codespell
|
||||||
|
|||||||
Reference in new issue
Block a user