zs 1 년 전
부모
커밋
36ee870b3b
2개의 변경된 파일22개의 추가작업 그리고 3개의 파일을 삭제
  1. 21 2
      .eslintrc.cjs
  2. 1 1
      src/views/home/index.vue

+ 21 - 2
.eslintrc.cjs

@@ -3,12 +3,31 @@ require('@rushstack/eslint-patch/modern-module-resolution')
 
 module.exports = {
   root: true,
-  'extends': [
+  extends: [
     'plugin:vue/vue3-essential',
     'eslint:recommended',
-    '@vue/eslint-config-prettier/skip-formatting'
+    '@vue/eslint-config-prettier/skip-formatting',
+    './.eslintrc-auto-import.json'
   ],
   parserOptions: {
     ecmaVersion: 'latest'
+  },
+  rules: {
+    'vue/multi-word-component-names': 0,
+    'max-len': [
+      'warn',
+      {
+        code: 200
+      }
+    ],
+    'prettier/prettier': [
+      'warn',
+      {
+        singleQuote: true,
+        bracketSpacing: true,
+        jsxBracketSameLine: true,
+        printWidth: 200
+      }
+    ]
   }
 }

+ 1 - 1
src/views/home/index.vue

@@ -17,4 +17,4 @@ onMounted(async () => {
   loading.value = false
 })
 </script>
-<style scoped lang="scss"></style>
+<style scoped lang="scss"></style>