.eslintrc.jsの設定(Airbnb)でインデントのアラートが出まくる。でもインデントはTABにしたい。
日本語はおろか、英語でも結構探した
"rules": { "indent": [2, "tab", { "SwitchCase": 1, "VariableDeclarator": 1 }], "no-tabs": 0, "react/prop-types": 0, "react/jsx-indent": [2, "tab"], "react/jsx-indent-props": [2, "tab"], }
VScodeの設定も。全然反映されなかったり、よくわからんね。。。
{ "editor.detectIndentation": false, "editor.renderWhitespace": "all", "editor.tabSize": 2, "editor.insertSpaces": false, "editor.renderWhitespace": "all", "window.zoomLevel": -1, "extensions.ignoreRecommendations": false, "emmet.syntaxProfiles": { "javascript": "jsx" }, }