Skip to content

Commit

Permalink
Docs: Correct a term in max-len.md (fixes #6637) (#6641)
Browse files Browse the repository at this point in the history
  • Loading branch information
vsemozhetbyt authored and alberto committed Jul 10, 2016
1 parent baeb313 commit b837c92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/max-len.md
Expand Up @@ -10,7 +10,7 @@ var foo = { "bar": "This is a bar.", "baz": { "qux": "This is a qux" }, "difficu

This rule enforces a maximum line length to increase code readability and maintainability.

**Note:** This rule calculates the length of a line via code points, not characters. That means if you use a double-byte character in your code, it will count as 2 code points instead of 1, and 2 will be used to calculate line length. This is a technical limitation of JavaScript that is made easier with ES2015, and we will look to update this when ES2015 is available in Node.js.
**Note:** This rule calculates the length of a line via code units, not characters. That means if you use a double-byte character in your code, it will count as 2 code units instead of 1, and 2 will be used to calculate line length. This is a technical limitation of JavaScript that is made easier with ES2015, and we will look to update this when ES2015 is available in Node.js.

## Options

Expand Down

0 comments on commit b837c92

Please sign in to comment.