Skip to content

Commit 5454a57

Browse files
author
Sami Kolari
committed
initial 2.0 commit
1 parent 50896e7 commit 5454a57

File tree

259 files changed

+50618
-34692
lines changed

Some content is hidden

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

259 files changed

+50618
-34692
lines changed

Diff for: .editorconfig

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
root = true
2-
3-
[*]
4-
charset = utf-8
1+
[*.{js,jsx,ts,tsx,vue}]
52
indent_style = space
63
indent_size = 2
7-
end_of_line = lf
8-
insert_final_newline = true
94
trim_trailing_whitespace = true
5+
insert_final_newline = true

Diff for: .eslintrc.js

+13-20
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,20 @@
1-
// https://eslint.org/docs/user-guide/configuring
2-
31
module.exports = {
42
root: true,
5-
parser: 'babel-eslint',
6-
parserOptions: {
7-
sourceType: 'module'
8-
},
93
env: {
10-
browser: true,
4+
node: true
115
},
12-
// https://github.com/standard/standard/blob/master/docs/RULES-en.md
13-
extends: 'standard',
14-
// required to lint *.vue files
15-
plugins: [
16-
'html'
6+
extends: [
7+
'plugin:vue/vue3-essential',
8+
'@vue/standard'
179
],
18-
// add your custom rules here
19-
'rules': {
20-
// allow paren-less arrow functions
21-
'arrow-parens': 0,
22-
// allow async-await
23-
'generator-star-spacing': 0,
24-
// allow debugger during development
25-
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0
10+
parserOptions: {
11+
parser: 'babel-eslint'
12+
},
13+
rules: {
14+
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
15+
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
16+
'vue/no-multiple-template-root': 'off',
17+
'no-unused-vars': 'warn',
18+
'space-before-function-paren': ['warn', 'never']
2619
}
2720
}

Diff for: .gitignore

+13-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,23 @@
11
.DS_Store
2-
/dist/
2+
node_modules
3+
/dist
4+
5+
6+
# local env files
7+
.env.local
8+
.env.*.local
9+
10+
# Log files
311
npm-debug.log*
412
yarn-debug.log*
513
yarn-error.log*
6-
/test/unit/coverage/
7-
node_modules/
14+
pnpm-debug.log*
15+
16+
# Editor directories and files
817
.idea
918
.vscode
1019
*.suo
1120
*.ntvs*
1221
*.njsproj
1322
*.sln
14-
public
23+
*.sw?

Diff for: babel.config.js

+5
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+
}

Diff for: .babelrc renamed to old assets/.babelrc

File renamed without changes.

Diff for: old assets/.browserslistrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
> 1%
2+
last 2 versions
3+
not dead

Diff for: old assets/.editorconfig

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true

Diff for: .eslintignore renamed to old assets/.eslintignore

File renamed without changes.

Diff for: old assets/.eslintrc.js

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
// https://eslint.org/docs/user-guide/configuring
2+
3+
module.exports = {
4+
root: true,
5+
parser: 'babel-eslint',
6+
parserOptions: {
7+
sourceType: 'module'
8+
},
9+
env: {
10+
browser: true,
11+
},
12+
// https://github.com/standard/standard/blob/master/docs/RULES-en.md
13+
extends: 'standard',
14+
// required to lint *.vue files
15+
plugins: [
16+
'html'
17+
],
18+
// add your custom rules here
19+
'rules': {
20+
// allow paren-less arrow functions
21+
'arrow-parens': 0,
22+
// allow async-await
23+
'generator-star-spacing': 0,
24+
// allow debugger during development
25+
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0
26+
}
27+
}

Diff for: old assets/.gitignore

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
.DS_Store
2+
/dist/
3+
npm-debug.log*
4+
yarn-debug.log*
5+
yarn-error.log*
6+
/test/unit/coverage/
7+
node_modules/
8+
.idea
9+
.vscode
10+
*.suo
11+
*.ntvs*
12+
*.njsproj
13+
*.sln
14+
public

Diff for: .postcssrc.js renamed to old assets/.postcssrc.js

File renamed without changes.

Diff for: LICENSE renamed to old assets/LICENSE

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Diff for: index.html renamed to old assets/index.html

File renamed without changes.

0 commit comments

Comments
 (0)