Skip to content

Commit

Permalink
Docs: Update no-tabs to match existing standards & improve readbility (
Browse files Browse the repository at this point in the history
…#7590)

* Docs: Update no-tabs to match existing standards & improve readbility

* Update no-tabs meta data to reflect docs change
  • Loading branch information
stowball authored and ilyavolodin committed Nov 15, 2016
1 parent 9cbfa0b commit 8302cdb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions 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:

Expand Down
2 changes: 1 addition & 1 deletion lib/rules/no-tabs.js
Expand Up @@ -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
},
Expand Down

0 comments on commit 8302cdb

Please sign in to comment.