From 4341a4b8eebd141d0902279578168033c920c3cc Mon Sep 17 00:00:00 2001 From: kunish Date: Sat, 9 Sep 2023 03:00:04 +0800 Subject: [PATCH] chore: refine eslint config --- .eslintrc.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.eslintrc.yml b/.eslintrc.yml index 2b0352c..397b66c 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -11,12 +11,13 @@ env: plugins: - '@typescript-eslint' - - 'prettier' + - prettier extends: - eslint:recommended - plugin:@typescript-eslint/eslint-recommended - plugin:@typescript-eslint/recommended + - prettier settings: import/resolver: @@ -39,7 +40,7 @@ rules: prev: '*' next: if - blankLine: always - prev: 'if' + prev: if next: '*' - blankLine: always prev: '*'