File tree Expand file tree Collapse file tree 3 files changed +11
-9
lines changed Expand file tree Collapse file tree 3 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 6969 "autoprefixer" : " ^9.1.5" ,
7070 "chai" : " ^3.5.0" ,
7171 "cross-env" : " ^7.0.3" ,
72- "eslint" : " ^4.19.1" ,
73- "eslint-config-airbnb-base" : " ^13.1.0" ,
74- "eslint-formatter-friendly" : " ^6.0.0" ,
75- "eslint-loader" : " ^2.1.0" ,
76- "eslint-plugin-import" : " ^2.14.0" ,
77- "eslint-plugin-vue" : " ^4.7.1" ,
72+ "eslint" : " ^7.32.0" ,
73+ "eslint-config-airbnb-base" : " ^14.2.1" ,
74+ "eslint-formatter-friendly" : " ^7.0.0" ,
75+ "eslint-plugin-import" : " ^2.24.2" ,
76+ "eslint-plugin-vue" : " ^7.18.0" ,
7877 "focus-visible" : " ^4.1.5" ,
7978 "husky" : " ^0.14.3" ,
8079 "karma" : " ^3.0.0" ,
128127 "extends" : [
129128 " airbnb-base" ,
130129 " plugin:vue/essential"
131- ]
130+ ],
131+ "parserOptions" : {
132+ "ecmaVersion" : 2020
133+ }
132134 },
133135 "eslintIgnore" : [
134136 " build" ,
135137 " dev" ,
136138 " dist" ,
137139 " test/unit/coverage" ,
140+ " test/unit" ,
138141 " scripts"
139142 ]
140143}
Original file line number Diff line number Diff line change 1-
21// Import vue component
32import component from './components/InfiniteLoading.vue' ;
43
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ export const scrollBarStorage = {
108108 * @return {String }
109109 */
110110export function kebabCase ( str ) {
111- return str . replace ( / [ A - Z ] / g, s => `-${ s . toLowerCase ( ) } ` ) ;
111+ return str . replace ( / [ A - Z ] / g, ( s ) => `-${ s . toLowerCase ( ) } ` ) ;
112112}
113113
114114/**
You can’t perform that action at this time.
0 commit comments