Skip to content

Commit

Permalink
Docs: typo: "eslint-disable-line" not "eslint disable-line" (#6019)
Browse files Browse the repository at this point in the history
  • Loading branch information
willxy authored and alberto committed Apr 30, 2016
1 parent 2f15354 commit ade6a9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/global-require.md
Expand Up @@ -86,4 +86,4 @@ var x = require("x"),

## When Not To Use It

If you have a module that must be initialized with information that comes from the file-system or if a module is only used in very rare situations and will cause significant overhead to load it may make sense to disable the rule. If you need to `require()` an optional dependency inside of a `try`/`catch`, you can disable this rule for just that dependency using the `// eslint disable-line global-require` comment.
If you have a module that must be initialized with information that comes from the file-system or if a module is only used in very rare situations and will cause significant overhead to load it may make sense to disable the rule. If you need to `require()` an optional dependency inside of a `try`/`catch`, you can disable this rule for just that dependency using the `// eslint-disable-line global-require` comment.

0 comments on commit ade6a9b

Please sign in to comment.