You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
857 B
25 lines
857 B
/**
|
|
* @author Yosuke Ota
|
|
* See LICENSE file in root directory for full license.
|
|
*/
|
|
'use strict'
|
|
const baseRule = require('./no-ref-object-reactivity-loss')
|
|
|
|
module.exports = {
|
|
// eslint-disable-next-line eslint-plugin/require-meta-schema, eslint-plugin/prefer-message-ids, internal/no-invalid-meta, eslint-plugin/require-meta-type -- inherit schema from base rule
|
|
meta: {
|
|
...baseRule.meta,
|
|
// eslint-disable-next-line eslint-plugin/require-meta-docs-description, internal/no-invalid-meta-docs-categories, eslint-plugin/meta-property-ordering
|
|
docs: {
|
|
...baseRule.meta.docs,
|
|
url: 'https://eslint.vuejs.org/rules/no-ref-object-destructure.html'
|
|
},
|
|
deprecated: true,
|
|
replacedBy: ['no-ref-object-reactivity-loss']
|
|
},
|
|
/** @param {RuleContext} context */
|
|
create(context) {
|
|
return baseRule.create(context)
|
|
}
|
|
}
|