diff --git a/docs/rules/no-tabs.md b/docs/rules/no-tabs.md index 0829a2c692a..fd738041b8d 100644 --- a/docs/rules/no-tabs.md +++ b/docs/rules/no-tabs.md @@ -1,10 +1,10 @@ -# Disallow tabs in file (no-tabs) +# disallow all tabs (no-tabs) -some style guides don't allow the use of tab characters anywhere. So they would want to disallow tab anywhere inside a file including comments. +Some style guides don't allow the use of tab characters at all, including within comments. ## Rule Details -This rule looks for tabs inside the file. It can abe anywhere inside code or comments or anything. +This rule looks for tabs anywhere inside a file: code, comments or anything else. Examples of **incorrect** code for this rule: diff --git a/lib/rules/no-tabs.js b/lib/rules/no-tabs.js index d57ac324c1d..da73c1a22ba 100644 --- a/lib/rules/no-tabs.js +++ b/lib/rules/no-tabs.js @@ -17,7 +17,7 @@ const regex = /\t/; module.exports = { meta: { docs: { - description: "disallow tabs in file", + description: "disallow all tabs", category: "Stylistic Issues", recommended: false },