@yomukizrj/eslint-config-basic
v1.0.3
Published
eslint基础配置
Downloads
9
Readme
eslint基础配置
javaScript语法拓展
| packageName | - | | ---------------------------------------------------------------------------- | --------------------------------- | | eslint-plugin-promise | javaScript Promise 语法规范 | | eslint-plugin-import | javaScript import/export 语法规范 | | eslint-plugin-n | Node.js 规范 |
dependencies
| packageName | - |
| -------------------------------------------------------------------------------------------- | ---------------------------------------- |
| eslint-plugin-eslint-comments | eslint指令注释规范 |
| eslint-plugin-html | lint & fix html文件
中的inline scripts |
| eslint-plugin-markdown | markdown文件
插件 |
| eslint-plugin-jsonc | json,jsonc,json5 files |
| eslint-plugin-yml | rules for YAML |
vscode配置
{
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"eslint.validate": [
"javascript",
"html",
"vue",
"typescript",
"markdown",
"json",
"yaml",
"jsonc"
],
"eslint.probe": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"html",
"vue",
"markdown",
"json",
"jsonc",
"yaml"
]
}