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

.editorconfig

Lines changed: 2 additions & 6 deletions
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

.eslintrc.js

Lines changed: 13 additions & 20 deletions
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
}

.gitignore

Lines changed: 13 additions & 4 deletions
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?

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+
}
File renamed without changes.

old assets/.browserslistrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
> 1%
2+
last 2 versions
3+
not dead

old assets/.editorconfig

Lines changed: 9 additions & 0 deletions
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
File renamed without changes.

old assets/.eslintrc.js

Lines changed: 27 additions & 0 deletions
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+
}

old assets/.gitignore

Lines changed: 14 additions & 0 deletions
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

0 commit comments

Comments
 (0)