间接输入干货

点击【All actions on save】

保留之后,试试 Command+Option+L 是不是依据ESLint文件配置格式化代码了。