How do you disable indent checking on esLint?

前端 未结 3 572
星月不相逢
星月不相逢 2021-02-11 13:04

The indent rule seems impossible to disable; how (in config settings) do I disable this rule? thanks.

3条回答
  •  醉话见心
    2021-02-11 13:20

    Set the rule to "off" in your config like this:

    "rules": {
      "indent": "off"
    }
    

    You can read more in the docs here.

提交回复
热议问题