2 title: no-mixed-spaces-and-tabs
5 - https://www.emacswiki.org/emacs/SmartTabs
10 Most code conventions require either tabs or spaces be used for indentation. As such, it's usually an error if a single line of code is indented with both tabs and spaces.
14 This rule disallows mixed spaces and tabs for indentation.
16 Examples of **incorrect** code for this rule:
21 /*eslint no-mixed-spaces-and-tabs: "error"*/
24 // --->..return x + y;
40 Examples of **correct** code for this rule:
45 /*eslint no-mixed-spaces-and-tabs: "error"*/
57 This rule has a string option.
59 * `"smart-tabs"` allows mixed tabs and spaces when the spaces are used for alignment.
63 Examples of **correct** code for this rule with the `"smart-tabs"` option:
68 /*eslint no-mixed-spaces-and-tabs: ["error", "smart-tabs"]*/