标准json 将JavaScript标准样式输出格式设置为JSON数组! 安装 # use the CLI npm install --global standard-json # or use programatically npm install --save standard-json CLI用法 standard | standard-json # exit code will be 1 if any errors are found standard --verbose | standard-json # the ruleId attribute will be filled in