Skip to content

Commit 940d111

Browse files
author
郑培鑫
committed
feat: init
0 parents  commit 940d111

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+8233
-0
lines changed

.commitlintrc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": ["@commitlint/config-conventional"]
3+
}

.eslintignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
dist
2+
public
3+
node_modules
4+
5+
commitlint.config.js

.eslintrc.cjs

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
/* eslint-env node */
2+
require('@rushstack/eslint-patch/modern-module-resolution');
3+
4+
module.exports = {
5+
root: true,
6+
extends: [
7+
'plugin:vue/vue3-essential',
8+
'eslint:recommended',
9+
'@vue/eslint-config-typescript',
10+
'@vue/eslint-config-prettier/skip-formatting',
11+
'@vue/eslint-config-prettier',
12+
],
13+
overrides: [
14+
{
15+
files: [
16+
'cypress/e2e/**/*.{cy,spec}.{js,ts,jsx,tsx}',
17+
'cypress/support/**/*.{js,ts,jsx,tsx}',
18+
],
19+
extends: ['plugin:cypress/recommended'],
20+
},
21+
],
22+
parserOptions: {
23+
ecmaVersion: 'latest',
24+
},
25+
rules: {
26+
'vue/multi-word-component-names': 0,
27+
},
28+
};

.gitignore

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
.DS_Store
12+
dist
13+
dist-ssr
14+
coverage
15+
*.local
16+
17+
/cypress/videos/
18+
/cypress/screenshots/
19+
20+
# Editor directories and files
21+
.idea
22+
*.suo
23+
*.ntvs*
24+
*.njsproj
25+
*.sln
26+
*.sw?
27+
28+
*.tsbuildinfo

.husky/commit-msg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npx commitlint --edit $1

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npx lint-staged

.prettierignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
dist
2+
public
3+
node_modules
4+
5+
commitlint.config.js

.prettierrc.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"$schema": "https://json.schemastore.org/prettierrc",
3+
"tabWidth": 2,
4+
"semi": true,
5+
"printWidth": 80,
6+
"singleQuote": true,
7+
"quoteProps": "consistent",
8+
"htmlWhitespaceSensitivity": "strict",
9+
"vueIndentScriptAndStyle": true,
10+
"trailingComma": "es5"
11+
}

.stylelintignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
dist
2+
public
3+
node_modules
4+
5+
commitlint.config.js

.stylelintrc.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": [
3+
"stylelint-config-standard-less",
4+
"stylelint-config-recommended-vue"
5+
]
6+
}

0 commit comments

Comments
 (0)