Skip to content

Commit

Permalink
implement additional NZ feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
bpmutter committed Jun 8, 2023
1 parent 631d531 commit 63f7d33
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/_custom-rule-tutorial-code/enforce-foo-bar.js
Expand Up @@ -8,9 +8,9 @@
// The enforce-foo-bar rule definition
module.exports = {
meta: {
type: "fix",
type: "problem",
docs: {
description: "Can only assign 'bar' to `const foo`.",
description: "Enforce that a variable named `foo` can only be assigned a value of 'bar'.",
},
fixable: "code"
},
Expand Down
8 changes: 4 additions & 4 deletions docs/src/extend/custom-rule-tutorial.md
Expand Up @@ -95,9 +95,9 @@ Start by exporting a module with a `meta` object containing the rule's metadata,

module.exports = {
meta: {
type: "fix",
type: "problem",
docs: {
description: "Can only assign 'bar' to `const foo`.",
description: "Enforce that a variable named `foo` can only be assigned a value of 'bar'.",
},
fixable: "code"
},
Expand Down Expand Up @@ -125,9 +125,9 @@ If the `const foo` declaration_is assigned to `"bar"` the rule does nothing. If
// enforce-foo-bar.js
module.exports = {
meta: {
type: "fix",
type: "problem",
docs: {
description: "Can only assign 'bar' to `const foo`.",
description: "Enforce that a variable named `foo` can only be assigned a value of 'bar'.",
},
fixable: "code"
},
Expand Down

0 comments on commit 63f7d33

Please sign in to comment.