Skip to content
Prev Previous commit
Next Next commit
chore: upgrade eslint
  • Loading branch information
nVitius committed Sep 24, 2021
commit 32b95bb28a2c349abe42485d731f37c7de6fd09b
17 changes: 10 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,11 @@
"autoprefixer": "^9.1.5",
"chai": "^3.5.0",
"cross-env": "^7.0.3",
"eslint": "^4.19.1",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-formatter-friendly": "^6.0.0",
"eslint-loader": "^2.1.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-vue": "^4.7.1",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-formatter-friendly": "^7.0.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-vue": "^7.18.0",
"focus-visible": "^4.1.5",
"husky": "^0.14.3",
"karma": "^3.0.0",
Expand Down Expand Up @@ -128,13 +127,17 @@
"extends": [
"airbnb-base",
"plugin:vue/essential"
]
],
"parserOptions": {
"ecmaVersion": 2020
}
},
"eslintIgnore": [
"build",
"dev",
"dist",
"test/unit/coverage",
"test/unit",
"scripts"
]
}
1 change: 0 additions & 1 deletion src/entry.esm.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

// Import vue component
import component from './components/InfiniteLoading.vue';

Expand Down
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export const scrollBarStorage = {
* @return {String}
*/
export function kebabCase(str) {
return str.replace(/[A-Z]/g, s => `-${s.toLowerCase()}`);
return str.replace(/[A-Z]/g, (s) => `-${s.toLowerCase()}`);
}

/**
Expand Down