From 3b1fe2f9f63c051453d04cf3dca08a76fa21bb7f Mon Sep 17 00:00:00 2001 From: Liam Date: Tue, 15 Nov 2022 03:32:13 +0000 Subject: [PATCH] add more es lint options --- .eslintrc.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index bffb357..db08dec 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,3 +1,6 @@ { - "extends": "next/core-web-vitals" + "extends": ["next/core-web-vitals", "plugin:security/recommended"], + "parserOptions": { + "ecmaVersion": 2022 + } }