Skip to content

Commit 15d4d98

Browse files
committed
chore(lint): fix errors
1 parent 06ff6af commit 15d4d98

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

docs/components/contributors.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ export default {
129129
cb(this.processOcNodes(response.nodes || []), null)
130130
} else {
131131
// We just return an empty node list rather than spew an error
132-
// eslint-disable-next-line standard/no-callback-literal
132+
// eslint-disable-next-line node/no-callback-literal
133133
cb([], xhr.statusText)
134134
}
135135
}

src/components/form-group/form-group.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const LEGEND_INTERACTIVE_ELEMENTS = ['input', 'select', 'textarea', 'label', 'bu
3939

4040
// Memoize this function to return cached values to
4141
// save time in computed functions
42-
const makePropName = memoize((breakpoint = '', prefix) => `${prefix}${upperFirst(breakpoint)}`)
42+
const makePropName = memoize((breakpoint = '', prefix = '') => `${prefix}${upperFirst(breakpoint)}`)
4343

4444
// BFormGroup prop generator for lazy generation of props
4545
const generateProps = () => {

src/components/modal/helpers/bv-modal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ const plugin = Vue => {
159159

160160
// Private utility method to open a user defined message box and returns a promise.
161161
// Not to be used directly by consumers, as this method may change calling syntax
162-
const makeMsgBox = ($parent, content, options = {}, resolver) => {
162+
const makeMsgBox = ($parent, content, options = {}, resolver = null) => {
163163
if (
164164
!content ||
165165
warnNoPromiseSupport(PROP_NAME) ||

src/components/table/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2234,7 +2234,7 @@ function myProvider() {
22342234

22352235
**Example: Using callback to return data (asynchronous):**
22362236

2237-
<!-- eslint-disable no-unused-vars, standard/no-callback-literal -->
2237+
<!-- eslint-disable no-unused-vars, node/no-callback-literal -->
22382238

22392239
```js
22402240
function myProvider(ctx, callback) {

src/utils/router.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export const isLink = props => !!(props.href || props.to)
8787

8888
export const isRouterLink = tag => !!(tag && !isTag(tag, 'a'))
8989

90-
export const computeTag = ({ to, disabled, routerComponentName } = {}, thisOrParent) => {
90+
export const computeTag = ({ to, disabled, routerComponentName }, thisOrParent) => {
9191
const hasRouter = !!thisOrParent.$router
9292
if (!hasRouter || (hasRouter && (disabled || !to))) {
9393
return ANCHOR_TAG

0 commit comments

Comments
 (0)