Skip to content

Commit 143821c

Browse files
committed
release: v2.0.0-alpha.0
1 parent 868bd4c commit 143821c

20 files changed

+1953
-13242
lines changed

.editorconfig

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
[*]
7+
indent_style = space
8+
indent_size = 2
9+
end_of_line = lf
10+
charset = utf-8
11+
trim_trailing_whitespace = false
12+
insert_final_newline = false

.eslintignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/dist/**
2+
/docs/**
3+
.eslintrc.js

.eslintrc.js

+18-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,22 @@
11
module.exports = {
2-
'extends': [
3-
'plugin:vue/essential',
4-
'eslint:recommended'
2+
parser: '@typescript-eslint/parser', // Specifies the ESLint parser
3+
parserOptions: {
4+
ecmaVersion: 2020, // Allows for the parsing of modern ECMAScript features
5+
sourceType: 'module', // Allows for the use of imports
6+
extraFileExtensions: ['.vue'],
7+
ecmaFeatures: {
8+
jsx: true,
9+
},
10+
},
11+
extends: [
12+
'plugin:@typescript-eslint/recommended', // Uses the recommended rules from the @typescript-eslint/eslint-plugin
13+
'plugin:prettier/recommended', // Enables eslint-plugin-prettier and eslint-config-prettier. This will display prettier errors as ESLint errors. Make sure this is always the last configuration in the extends array.
14+
'eslint:recommended',
15+
'plugin:vue/vue3-recommended',
516
],
17+
// plugins: ['@typescript-eslint'],
618
rules: {
7-
'vue/return-in-computed-property': 'off',
8-
'no-undef': 'off'
9-
}
19+
// Place to specify ESLint rules. Can be used to overwrite rules specified from the extended configs
20+
// e.g. "@typescript-eslint/explicit-function-return-type": "off",
21+
},
1022
}

.gitattributes

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Enforce Unix newlines
2+
* text=auto eol=lf

.prettierignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
build/

.prettierrc.js

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module.exports = {
2+
semi: false,
3+
trailingComma: "all",
4+
singleQuote: true,
5+
printWidth: 100,
6+
tabWidth: 2
7+
};

.vscode/settings.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"editor.defaultFormatter": "esbenp.prettier-vscode"
3+
}

babel.config copy.js

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// babel.config.js
2+
module.exports = function (api) {
3+
api.cache(true)
4+
5+
const presets = [
6+
['@babel/preset-env', { targets: { node: 'current' } }],
7+
'@babel/preset-typescript',
8+
]
9+
const plugins = []
10+
11+
return {
12+
presets,
13+
plugins,
14+
}
15+
}

0 commit comments

Comments
 (0)