Skip to content

Commit

Permalink
fix: updated eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
kouts committed Aug 17, 2024
1 parent 60ea9d1 commit c0462da
Show file tree
Hide file tree
Showing 16 changed files with 419 additions and 411 deletions.
6 changes: 0 additions & 6 deletions commitlint.config.cjs

This file was deleted.

6 changes: 6 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export default {
extends: ['@commitlint/config-conventional'],
rules: {
'body-max-line-length': [1, 'always', 200],
},
}
6 changes: 3 additions & 3 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default [
// Disable multi-word-component-names for pages and layouts
files: ['src/views/**/*.vue', 'src/layouts/**/*.vue'],
rules: {
'vue/multi-word-component-names': 'off'
}
}
'vue/multi-word-component-names': 'off',
},
},
]
3 changes: 0 additions & 3 deletions lint-staged.config.cjs

This file was deleted.

3 changes: 3 additions & 0 deletions lint-staged.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default {
'*.{vue,ts,js}': ['npm run lint-fix'],
}
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "0.0.0-semantic-release",
"license": "MIT",
"repository": "https://github.com/kouts/vue3-ts-vite-starter-template",
"packageManager": "pnpm@9.6.0",
"packageManager": "pnpm@9.7.1",
"type": "module",
"scripts": {
"preinstall": "npx only-allow pnpm",
Expand All @@ -19,37 +19,37 @@
"prepare": "husky"
},
"dependencies": {
"pinia": "^2.2.0",
"vue": "^3.4.35",
"vue-router": "^4.4.2"
"pinia": "^2.2.2",
"vue": "^3.4.38",
"vue-router": "^4.4.3"
},
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/cli": "^19.4.0",
"@commitlint/config-conventional": "^19.2.2",
"@fullhuman/postcss-purgecss": "^6.0.0",
"@fullhuman/vue-cli-plugin-purgecss": "^6.0.0",
"@kouts/eslint-config": "^1.0.0",
"@kouts/eslint-config": "^1.2.0",
"@types/jsdom": "^21.1.7",
"@types/node": "^22.1.0",
"@types/node": "^22.4.0",
"@vitejs/plugin-vue": "^5.1.2",
"@vitest/coverage-v8": "^2.0.5",
"@vue/compiler-sfc": "^3.4.35",
"@vue/compiler-sfc": "^3.4.38",
"@vue/test-utils": "^2.4.6",
"autoprefixer": "^10.4.20",
"eslint": "^9.8.0",
"eslint": "^9.9.0",
"husky": "^9.1.4",
"jsdom": "^24.1.1",
"lint-staged": "^15.2.8",
"lint-staged": "^15.2.9",
"prettier": "^3.3.3",
"prettier-plugin-tailwindcss": "^0.6.5",
"prettier-plugin-tailwindcss": "^0.6.6",
"sass": "^1.77.8",
"tailwindcss": "^3.4.7",
"tailwindcss": "^3.4.10",
"typescript": "^5.5.4",
"vite": "^5.3.5",
"vite": "^5.4.1",
"vitest": "^2.0.5",
"vue-tsc": "^2.0.29"
},
"resolutions": {
"@typescript-eslint/utils": "^8.0.0"
"@typescript-eslint/utils": "^8.1.0"
}
}
Loading

0 comments on commit c0462da

Please sign in to comment.