Indent tabs - linter
-
Hey,
How can one change default enforced space indenting to tabs instead of spaces ?
Thank you
-
Answering my own questione:
Added this into a .eslintrc.js file
‘no-unused-vars’: [‘off’]Cheers
-
Sorry it should have been:
‘no-tabs’: [‘off’]
-
Set the proper rule in
eslint.rc
to follow this.I believe
"indent": [2, "tab"]
, but don’t quote me on it.Scott
-
Search for the right ESLint rules here: http://eslint.org/docs/rules/