Skip to content

chore(deps): update devdependency eslint-config-standard to v16 #5979

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/components/contributors.vue
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export default {
cb(this.processOcNodes(response.nodes || []), null)
} else {
// We just return an empty node list rather than spew an error
// eslint-disable-next-line standard/no-callback-literal
// eslint-disable-next-line node/no-callback-literal
cb([], xhr.statusText)
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
"cross-env": "^7.0.2",
"eslint": "^7.12.1",
"eslint-config-prettier": "^6.15.0",
"eslint-config-standard": "^15.0.1",
"eslint-config-standard": "^16.0.0",
"eslint-config-vue": "^2.0.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.0",
Expand Down
2 changes: 1 addition & 1 deletion src/components/form-group/form-group.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const LEGEND_INTERACTIVE_ELEMENTS = ['input', 'select', 'textarea', 'label', 'bu

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

// BFormGroup prop generator for lazy generation of props
const generateProps = () => {
Expand Down
2 changes: 1 addition & 1 deletion src/components/modal/helpers/bv-modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ const plugin = Vue => {

// Private utility method to open a user defined message box and returns a promise.
// Not to be used directly by consumers, as this method may change calling syntax
const makeMsgBox = ($parent, content, options = {}, resolver) => {
const makeMsgBox = ($parent, content, options = {}, resolver = null) => {
if (
!content ||
warnNoPromiseSupport(PROP_NAME) ||
Expand Down
2 changes: 1 addition & 1 deletion src/components/table/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2234,7 +2234,7 @@ function myProvider() {

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

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

```js
function myProvider(ctx, callback) {
Expand Down
2 changes: 1 addition & 1 deletion src/utils/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const isLink = props => !!(props.href || props.to)

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

export const computeTag = ({ to, disabled, routerComponentName } = {}, thisOrParent) => {
export const computeTag = ({ to, disabled, routerComponentName }, thisOrParent) => {
const hasRouter = !!thisOrParent.$router
if (!hasRouter || (hasRouter && (disabled || !to))) {
return ANCHOR_TAG
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5530,10 +5530,10 @@ eslint-config-prettier@^6.15.0:
dependencies:
get-stdin "^6.0.0"

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

eslint-config-vue@^2.0.2:
version "2.0.2"
Expand Down