Parcourir la source

fix: resolve eslint script issue (#18)

Changes made:
- update eslint script.
- exclude `tailwind.config.js` from linting.
Sat Naing il y a 1 an
Parent
commit
2749b792ad
3 fichiers modifiés avec 229 ajouts et 508 suppressions
  1. 6 1
      .eslintrc.cjs
  2. 1 1
      package.json
  3. 222 506
      pnpm-lock.yaml

+ 6 - 1
.eslintrc.cjs

@@ -6,7 +6,12 @@ module.exports = {
     'plugin:@typescript-eslint/recommended',
     'plugin:react-hooks/recommended',
   ],
-  ignorePatterns: ['dist', '.eslintrc.cjs', 'src/components/ui'],
+  ignorePatterns: [
+    'dist',
+    '.eslintrc.cjs',
+    'src/components/ui',
+    'tailwind.config.js',
+  ],
   parser: '@typescript-eslint/parser',
   plugins: ['react-refresh'],
   rules: {

+ 1 - 1
package.json

@@ -6,7 +6,7 @@
   "scripts": {
     "dev": "vite",
     "build": "tsc && vite build",
-    "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
+    "lint": "eslint .",
     "preview": "vite preview",
     "format:check": "prettier --check .",
     "format": "prettier --write ."

Fichier diff supprimé car celui-ci est trop grand
+ 222 - 506
pnpm-lock.yaml


Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff