⬆️ 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:
|
||||
ecmaVersion: 2018
|
||||
|
||||
overrides:
|
||||
- files:
|
||||
- "src/octoprint/static/js/**.js"
|
||||
- "src/octoprint/plugins/**.js"
|
||||
env:
|
||||
browser: true
|
||||
jquery: true
|
||||
es6: true
|
||||
env:
|
||||
browser: true
|
||||
jquery: true
|
||||
es2018: true
|
||||
@@ -61,11 +61,9 @@ repos:
|
||||
hooks:
|
||||
- id: prettier
|
||||
- repo: https://github.com/pre-commit/mirrors-eslint
|
||||
rev: v8.34.0
|
||||
rev: v8.35.0
|
||||
hooks:
|
||||
- id: eslint
|
||||
additional_dependencies:
|
||||
- eslint@7.19.0
|
||||
files: \.js$
|
||||
exclude: ^(src/octoprint/vendor/|tests/static/js/lib|tests/util/_files|docs/|scripts/|translations/)
|
||||
- repo: https://github.com/codespell-project/codespell
|
||||
|
||||
Reference in new issue
Block a user