Skip to content

Commit f02acbc

Browse files
committed
1 parent 4026908 commit f02acbc

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.eslintrc.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
env:
22
browser: true
3+
es6: true
34

45
# See https://github.com/OCA/odoo-community.org/issues/37#issuecomment-470686449
56
parserOptions:
6-
ecmaVersion: 2017
7+
ecmaVersion: 2022
78
sourceType: module
89

910
# Globals available in Odoo that shouldn't produce errorings

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ repos:
3434
args:
3535
- --plugin=@prettier/plugin-xml
3636
- repo: https://github.com/pre-commit/mirrors-eslint
37-
rev: v7.32.0
37+
rev: v8.24.0
3838
hooks:
3939
- id: eslint
4040
verbose: true

0 commit comments

Comments
 (0)