ESLint "Unexpected tab character" when "indent" rule set to "tab" ESLint "Unexpected tab character" when "indent" rule set to "tab" javascript javascript

ESLint "Unexpected tab character" when "indent" rule set to "tab"


I answer myself, it was because Airbnb has set the rule no-tabs to 2 or error, I just disabled it.

{    "parser": "babel-eslint",    "extends": "airbnb",    "plugins": [        "react",        "jsx-a11y",        "import"    ],    "rules":{        "indent": [2, "tab"],        "no-tabs": 0    }}