-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5d45dfd
commit 76f546f
Showing
9 changed files
with
6,496 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
module.exports = { | ||
extends: [require.resolve('@umijs/fabric/dist/eslint')], | ||
|
||
// in antd-design-pro | ||
globals: { | ||
ANT_DESIGN_PRO_ONLY_DO_NOT_USE_IN_YOUR_PRODUCTION: true, | ||
page: true | ||
}, | ||
|
||
rules: { | ||
// your rules | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.DS_Store | ||
node_modules | ||
dist | ||
*.log | ||
explorations | ||
.idea | ||
*.local | ||
.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
docs/.vitepress/dist/ | ||
packages/vite/dist/ | ||
packages/*/CHANGELOG.md | ||
LICENSE.md | ||
.prettierignore | ||
yarn.lock | ||
.gitignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
const fabric = require('@umijs/fabric') | ||
|
||
module.exports = { | ||
...fabric.prettier | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"semi": false, | ||
"tabWidth": 2, | ||
"singleQuote": true, | ||
"printWidth": 80, | ||
"trailingComma": "none", | ||
"overrides": [ | ||
{ | ||
"files": ["*.json5"], | ||
"options": { | ||
"singleQuote": false, | ||
"quoteProps": "preserve" | ||
} | ||
}, | ||
{ | ||
"files": ["*.yml"], | ||
"options": { | ||
"singleQuote": false | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module.exports = { | ||
extends: [require.resolve('@umijs/fabric/dist/stylelint')], | ||
rules: { | ||
// your rules | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# web-devtools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
{ | ||
"name": "web-devtools", | ||
"private": true, | ||
"version": "1.0.0", | ||
"engines": { | ||
"node": ">=12.0.0" | ||
}, | ||
"description": "", | ||
"workspaces": [ | ||
"packages/*" | ||
], | ||
"scripts": { | ||
"format": "prettier --write .", | ||
"lint": "eslint packages/*/{src,types}/**" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/wen-haoming/web-devtools.git" | ||
}, | ||
"keywords": [], | ||
"author": "", | ||
"license": "ISC", | ||
"bugs": { | ||
"url": "https://github.com/wen-haoming/web-devtools/issues" | ||
}, | ||
"gitHooks": { | ||
"pre-commit": "lint-staged --concurrent false", | ||
"commit-msg": "fabric verify-commit" | ||
}, | ||
"lint-staged": { | ||
"*": [ | ||
"prettier --write" | ||
], | ||
"packages/*/{src,types}/**/*.ts": [ | ||
"eslint --ext .ts" | ||
], | ||
"packages/**/*.d.ts": [ | ||
"eslint --ext .ts" | ||
] | ||
}, | ||
"homepage": "https://github.com/wen-haoming/web-devtools#readme", | ||
"devDependencies": { | ||
"@umijs/fabric": "2.6.2", | ||
"lint-staged": "^11.1.1", | ||
"typescript": "^4.3.5", | ||
"yorkie": "^2.0.0", | ||
"npm-run-all": "^4.1.5", | ||
"@typescript-eslint/eslint-plugin": "^4.28.5", | ||
"@typescript-eslint/parser": "^4.28.5", | ||
"cross-env": "^7.0.3", | ||
"eslint": "^7.32.0", | ||
"prettier": "2.3.2", | ||
"chokidar": "^3.5.1" | ||
} | ||
} |