Skip to content

Commit 2d9c10d

Browse files
sunflatmugi-unohidakatsuya
committed
Add config files
Co-authored-by: mugi-uno <mugi.uno@gmail.com> Co-authored-by: Katsuya HIDAKA <hidakatsuya@gmail.com>
1 parent ef9a85a commit 2d9c10d

12 files changed

Lines changed: 22338 additions & 0 deletions

section_report/.editorconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[*.{js,jsx,ts,tsx,vue}]
2+
indent_style = space
3+
indent_size = 2
4+
trim_trailing_whitespace = true
5+
insert_final_newline = true

section_report/.eslint-todo.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"rules": {
3+
"@typescript-eslint/no-non-null-assertion": "off",
4+
"@typescript-eslint/no-explicit-any": "off"
5+
}
6+
}

section_report/.eslintrc.json

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"root": true,
3+
"env": {
4+
"node": true
5+
},
6+
"extends": [
7+
"plugin:vue/recommended",
8+
"@vue/standard",
9+
"@vue/typescript/recommended",
10+
".eslint-todo.json"
11+
],
12+
"parserOptions": {
13+
"ecmaVersion": 2020
14+
},
15+
"overrides": [
16+
{
17+
"files": [
18+
"**/__tests__/*.{j,t}s?(x)",
19+
"**/tests/unit/**/*.spec.{j,t}s?(x)"
20+
],
21+
"env": {
22+
"jest": true
23+
}
24+
}
25+
],
26+
"rules": {
27+
"semi": ["error", "always"],
28+
"import/order": ["error", {
29+
"alphabetize": {
30+
"order": "asc"
31+
}
32+
}],
33+
"vue/component-name-in-template-casing": "error",
34+
"vue/component-tags-order": ["error", {
35+
"order": ["template", "script", "style"]
36+
}],
37+
"@typescript-eslint/no-unused-vars": ["error", {
38+
"vars": "all",
39+
"args": "all",
40+
"ignoreRestSiblings": true,
41+
"argsIgnorePattern": "^_"
42+
}]
43+
}
44+
}

section_report/.gitignore

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/node_modules
2+
/dist
3+
4+
# local env files
5+
/.env.local
6+
/.env.*.local
7+
8+
# Log files
9+
/npm-debug.log*
10+
/yarn-debug.log*
11+
/yarn-error.log*
12+
13+
# Electron-builder output
14+
/dist_electron

section_report/.vuerc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"useTaobaoRegistry": false
3+
}

section_report/babel.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
presets: [
3+
'@vue/cli-plugin-babel/preset'
4+
]
5+
};

section_report/jest.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
preset: '@vue/cli-plugin-unit-jest/presets/typescript-and-babel'
3+
};

section_report/jsconfig.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"compilerOptions": {
3+
"target": "es6",
4+
"baseUrl": "./",
5+
"paths": {
6+
"@": ["./src/*"]
7+
}
8+
},
9+
"exclude": [
10+
"node_modules"
11+
],
12+
"include": [
13+
"src/**/*"
14+
]
15+
}

0 commit comments

Comments
 (0)