File tree Expand file tree Collapse file tree 3 files changed +9
-28
lines changed
Expand file tree Collapse file tree 3 files changed +9
-28
lines changed Original file line number Diff line number Diff line change 11module . exports = {
2- root : true ,
3- env : {
4- node : true ,
5- } ,
6- extends : [
7- 'plugin:vue/vue3-essential' ,
8- 'eslint:recommended' ,
9- 'plugin:prettier/recommended' ,
10- ] ,
11- parserOptions : {
12- parser : '@babel/eslint-parser' ,
13- } ,
2+ extends : [ "plugin:vue/vue3-recommended" , "eslint:recommended" ] ,
143 rules : {
15- 'no-console' : process . env . NODE_ENV === 'production' ? 'warn' : 'off' ,
16- 'no-debugger' : process . env . NODE_ENV === 'production' ? 'warn' : 'off' ,
17- 'vue/multi-word-component-names' : 'off' ,
4+ "no-console" : process . env . NODE_ENV === "production" ? "warn" : "off" ,
5+ "no-debugger" : process . env . NODE_ENV === "production" ? "warn" : "off" ,
186 } ,
19- overrides : [
20- {
21- files : [
22- '**/__tests__/*.{j,t}s?(x)' ,
23- '**/tests/unit/**/*.spec.{j,t}s?(x)' ,
24- ] ,
25- env : {
26- jest : true ,
27- } ,
28- } ,
29- ] ,
30- }
7+ } ;
Original file line number Diff line number Diff line change @@ -2,5 +2,6 @@ module.exports = {
22 semi : false ,
33 trailingComma : "all" ,
44 singleQuote : true ,
5- tabWidth : 2
5+ printWidth : 100 ,
6+ tabWidth : 2 ,
67} ;
Original file line number Diff line number Diff line change 1414 "scripts" : {
1515 "dev" : " vite" ,
1616 "build" : " vite build" ,
17+ "lint" : " eslint \" src/**/*.{js,vue}\" " ,
1718 "preview" : " vite preview"
1819 },
1920 "dependencies" : {
3031 },
3132 "devDependencies" : {
3233 "@vitejs/plugin-vue" : " ^4.2.3" ,
34+ "eslint" : " ^8.50.0" ,
35+ "eslint-plugin-vue" : " ^9.17.0" ,
3336 "sass" : " ^1.68.0" ,
3437 "vite" : " ^4.4.5"
3538 }
You can’t perform that action at this time.
0 commit comments