commit 23ade9a98a518077da528d7352787c7117b93e60 parent 6e6cfcf3eb7384f295fc0c3ef6bbe22258e917fa Author: Yongbin Kim <iam@yongbin.kim> Date: Wed, 18 Jan 2023 09:42:09 +0900 lint: ESLint 규칙 추가 Signed-off-by: Yongbin Kim <iam@yongbin.kim> Diffstat:
M | .eslintrc.json | | | 5 | ++++- |
A | .idea/inspectionProfiles/Project_Default.xml | | | 7 | +++++++ |
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/.eslintrc.json b/.eslintrc.json @@ -1,3 +1,6 @@ { - "extends": "next/core-web-vitals" + "extends": "next/core-web-vitals", + "rules": { + "space-before-function-paren": "error" + } } diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,6 @@ +<component name="InspectionProjectProfileManager"> + <profile version="1.0"> + <option name="myName" value="Project Default" /> + <inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" /> + </profile> +</component> +\ No newline at end of file