diff --git a/docs/rules/no-restricted-modules.md b/docs/rules/no-restricted-modules.md index 78ce092ba37..7f9c926a1ef 100644 --- a/docs/rules/no-restricted-modules.md +++ b/docs/rules/no-restricted-modules.md @@ -35,10 +35,10 @@ It can also take an object with lists of `paths` and gitignore-style `patterns` You may also specify a custom message for any paths you want to restrict as follows: ```json -"no-restricted-modules": ["error", [{ +"no-restricted-modules": ["error", { "name": "foo-module", "message": "Please use bar-module instead." - }] + } ] ```