Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 235a1e6

Browse files
committed
vite 构建
1 parent 75cf633 commit 235a1e6

39 files changed

+584
-1271
lines changed

‎.eslintignore‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
node_modules
2+
dist
3+
scripts
4+
src/assets

‎.eslintrc.cjs‎

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
module.exports = {
2+
env: {
3+
browser: true,
4+
es2021: true,
5+
node: true,
6+
},
7+
extends: [
8+
"eslint:recommended",
9+
"plugin:react/recommended",
10+
"plugin:@typescript-eslint/recommended",
11+
"plugin:prettier/recommended",
12+
],
13+
overrides: [],
14+
parser: "@typescript-eslint/parser",
15+
parserOptions: {
16+
ecmaVersion: "latest",
17+
sourceType: "module",
18+
project: ["tsconfig.json", "vite.config.ts"],
19+
tsconfigRootDir: __dirname,
20+
},
21+
plugins: ["react", "@typescript-eslint", "react-hooks"],
22+
rules: {
23+
"prefer-const": "warn",
24+
"no-prototype-builtins": "off",
25+
"@typescript-eslint/no-explicit-any": "off",
26+
"@typescript-eslint/ban-ts-comment": "warn",
27+
},
28+
};

‎.eslintrc.json‎

Lines changed: 0 additions & 31 deletions
This file was deleted.

‎.gitignore‎

Lines changed: 18 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -4,61 +4,21 @@ logs
44
npm-debug.log*
55
yarn-debug.log*
66
yarn-error.log*
7-
8-
# Runtime data
9-
pids
10-
*.pid
11-
*.seed
12-
*.pid.lock
13-
14-
# Directory for instrumented libs generated by jscoverage/JSCover
15-
lib-cov
16-
17-
# Coverage directory used by tools like istanbul
18-
coverage
19-
20-
# nyc test coverage
21-
.nyc_output
22-
23-
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
24-
.grunt
25-
26-
# Bower dependency directory (https://bower.io/)
27-
bower_components
28-
29-
# node-waf configuration
30-
.lock-wscript
31-
32-
# Compiled binary addons (http://nodejs.org/api/addons.html)
33-
build/Release
34-
35-
# Dependency directories
36-
node_modules/
37-
jspm_packages/
38-
build/
39-
dll/
40-
# Typescript v1 declaration files
41-
typings/
42-
43-
# Optional npm cache directory
44-
.npm
45-
46-
# Optional eslint cache
47-
.eslintcache
48-
49-
# Optional REPL history
50-
.node_repl_history
51-
52-
# Output of 'npm pack'
53-
*.tgz
54-
55-
# Yarn Integrity file
56-
.yarn-integrity
57-
58-
# dotenv environment variables file
59-
.env
60-
61-
yarn.lock
62-
.vscode/
63-
.idea/
64-
pnpm-lock.yaml
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?

‎.prettierrc.json‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"trailingComma": "es5",
3+
"tabWidth": 2,
4+
"semi": true,
5+
"singleQuote": false
6+
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /