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
637 B
25 lines
637 B
'use strict'
|
|
|
|
const baseRule = require('./valid-model-definition')
|
|
|
|
module.exports = {
|
|
// eslint-disable-next-line eslint-plugin/prefer-message-ids
|
|
meta: {
|
|
...baseRule.meta,
|
|
// eslint-disable-next-line eslint-plugin/meta-property-ordering
|
|
type: baseRule.meta.type,
|
|
docs: {
|
|
description: baseRule.meta.docs.description,
|
|
categories: undefined,
|
|
url: 'https://eslint.vuejs.org/rules/no-invalid-model-keys.html'
|
|
},
|
|
deprecated: true,
|
|
replacedBy: ['valid-model-definition'],
|
|
schema: []
|
|
},
|
|
/** @param {RuleContext} context */
|
|
create(context) {
|
|
return baseRule.create(context)
|
|
}
|
|
}
|