From 319a48bbc3baec295991c06ebe1481c18af6ad4e Mon Sep 17 00:00:00 2001 From: Luis Godinez Date: Fri, 16 Aug 2024 18:49:19 -0700 Subject: [PATCH] Update linter and Ts config. --- eslint.config.js | 2 +- tsconfig.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index 01bb828..e67a8ed 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -7,7 +7,7 @@ export default [ files: ['**/*.ts'], languageOptions: { parser: tsParser, - ecmaVersion: 2018, + ecmaVersion: 2022, sourceType: 'module', }, plugins: { diff --git a/tsconfig.json b/tsconfig.json index 7a3dba9..07838be 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -18,7 +18,8 @@ }, "include": [ "homebridge-ui", - "src" + "src", + "eslint.config.js" ], "exclude": [ "node_modules",