Skip to content

Commit 1b37be5

Browse files
renovate[bot]renovate-botjacobmllr95
authored
chore(deps): update devdependency eslint-config-standard to v16 (#5979)
* chore(deps): update devdependency eslint-config-standard to v16 * chore(lint): fix errors Co-authored-by: Renovate Bot <[email protected]> Co-authored-by: Jacob Müller <[email protected]>
1 parent f2207f9 commit 1b37be5

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
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
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118
"cross-env": "^7.0.2",
119119
"eslint": "^7.12.1",
120120
"eslint-config-prettier": "^6.15.0",
121-
"eslint-config-standard": "^15.0.1",
121+
"eslint-config-standard": "^16.0.0",
122122
"eslint-config-vue": "^2.0.2",
123123
"eslint-plugin-import": "^2.22.1",
124124
"eslint-plugin-jest": "^24.1.0",

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

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5530,10 +5530,10 @@ eslint-config-prettier@^6.15.0:
55305530
dependencies:
55315531
get-stdin "^6.0.0"
55325532

5533-
eslint-config-standard@^15.0.1:
5534-
version "15.0.1"
5535-
resolved "https://registry.yarnpkg.com/eslint-config-standard/-/eslint-config-standard-15.0.1.tgz#1262eafaba66f4f03fdf3cf655a28aa8b40868b7"
5536-
integrity sha512-UGorkix49kBium7Y124o2U9Qy7Lpa+nO0FsaqQSIPeno5hGNxZtSBJbqJX6gtpYfDFWCtqCAN9wyK+oDd9jT7Q==
5533+
eslint-config-standard@^16.0.0:
5534+
version "16.0.0"
5535+
resolved "https://registry.yarnpkg.com/eslint-config-standard/-/eslint-config-standard-16.0.0.tgz#5f21e9b8be8be28c096e592e1137769d33c5cd92"
5536+
integrity sha512-kMCehB9yXIG+LNsu9uXfm06o6Pt63TFAOzn9tUOzw4r/hFIxHhNR1Xomxy+B5zMrXhqyfHVEcmanzttEjGei9w==
55375537

55385538
eslint-config-vue@^2.0.2:
55395539
version "2.0.2"

0 commit comments

Comments
 (0)