提交 8382314c 编写于 作者: G Garrett Johnson

add eslint root, single quotes rule

上级 f62c3df3
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
"test": "test" "test": "test"
}, },
"eslintConfig": { "eslintConfig": {
"root": true,
"parser": "@typescript-eslint/parser", "parser": "@typescript-eslint/parser",
"extends": "mdcs", "extends": "mdcs",
"plugins": [ "plugins": [
...@@ -44,6 +45,10 @@ ...@@ -44,6 +45,10 @@
"SwitchCase": 1 "SwitchCase": 1
} }
], ],
"quotes": [
"error",
"single"
],
"prefer-const": [ "prefer-const": [
"error", "error",
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册