Bump packages to fix linter
This commit is contained in:
parent
ed9506bbaf
commit
0a11e3fdd9
6063 changed files with 378752 additions and 306784 deletions
8
node_modules/eslint/lib/rules/no-restricted-properties.js
generated
vendored
8
node_modules/eslint/lib/rules/no-restricted-properties.js
generated
vendored
|
|
@ -11,13 +11,13 @@ const astUtils = require("./utils/ast-utils");
|
|||
// Rule Definition
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
/** @type {import('../shared/types').Rule} */
|
||||
module.exports = {
|
||||
meta: {
|
||||
type: "suggestion",
|
||||
|
||||
docs: {
|
||||
description: "disallow certain properties on certain objects",
|
||||
category: "Best Practices",
|
||||
description: "Disallow certain properties on certain objects",
|
||||
recommended: false,
|
||||
url: "https://eslint.org/docs/rules/no-restricted-properties"
|
||||
},
|
||||
|
|
@ -64,9 +64,9 @@ module.exports = {
|
|||
},
|
||||
|
||||
messages: {
|
||||
// eslint-disable-next-line eslint-plugin/report-message-format
|
||||
// eslint-disable-next-line eslint-plugin/report-message-format -- Custom message might not end in a period
|
||||
restrictedObjectProperty: "'{{objectName}}.{{propertyName}}' is restricted from being used.{{message}}",
|
||||
// eslint-disable-next-line eslint-plugin/report-message-format
|
||||
// eslint-disable-next-line eslint-plugin/report-message-format -- Custom message might not end in a period
|
||||
restrictedProperty: "'{{propertyName}}' is restricted from being used.{{message}}"
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue