Skip to content

Commit

Permalink
feat: 新增 eslintrc 模板工程
Browse files Browse the repository at this point in the history
  • Loading branch information
wangjs-jacky committed Dec 18, 2023
1 parent 2308b59 commit 6487fec
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/j-eslitrc/.eslintrc.js.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
extends: [require.resolve('@umijs/fabric/dist/eslint')],
rules: {},
};
14 changes: 14 additions & 0 deletions templates/j-eslitrc/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"description": "生成 .eslitrc 配置文件",
"questions": [],
"packageJson": {
"devDependencies": {
"eslint": "~7.32.0",
"@umijs/fabric": "^3.0.0"
}
},
"middleware": [
"middleware_initGit",
"middleware_install"
]
}

0 comments on commit 6487fec

Please sign in to comment.