Ok so this is relatively easy to do and is achievable by adding the following to your eslint config:
// Indent with 4 spaces
"indent": ["error", 4],
// Indent JSX with 4 spaces
"react/jsx-indent": ["error", 4],
// Indent props with 4 spaces
"react/jsx-indent-props": ["error", 4],
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…