Skip to content

Commit 2c2ceb4

Browse files
authored
Merge pull request #3 from smastrom/v1.0.0
2 parents 54207df + fbcb420 commit 2c2ceb4

32 files changed

+2162
-1993
lines changed

.eslintignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
demo
2-
tests
3-
content
2+
content
3+
tests

.eslintrc.json

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
{
2-
"env": {
3-
"browser": true,
4-
"es2021": true
5-
},
6-
"extends": [
7-
"eslint:recommended",
8-
"plugin:vue/vue3-essential",
9-
"plugin:@typescript-eslint/recommended"
10-
],
11-
"overrides": [],
12-
"parser": "@typescript-eslint/parser",
13-
"parserOptions": {
14-
"ecmaVersion": "latest",
15-
"sourceType": "module"
16-
},
17-
"plugins": ["vue", "@typescript-eslint"],
18-
"rules": {
19-
"curly": ["error", "all"],
20-
"no-useless-return": "error",
21-
"no-else-return": "error",
22-
"nonblock-statement-body-position": ["error", "below"],
23-
"@typescript-eslint/ban-ts-comment": [
24-
"error",
25-
{
26-
"ts-ignore": "allow-with-description"
27-
}
28-
]
29-
}
2+
"env": {
3+
"browser": true,
4+
"es2021": true
5+
},
6+
"extends": [
7+
"eslint:recommended",
8+
"plugin:vue/vue3-essential",
9+
"plugin:@typescript-eslint/recommended"
10+
],
11+
"overrides": [],
12+
"parser": "@typescript-eslint/parser",
13+
"parserOptions": {
14+
"ecmaVersion": "latest",
15+
"sourceType": "module"
16+
},
17+
"plugins": ["vue", "@typescript-eslint"],
18+
"rules": {
19+
"curly": ["error", "all"],
20+
"no-useless-return": "error",
21+
"no-else-return": "error",
22+
"nonblock-statement-body-position": ["error", "below"],
23+
"@typescript-eslint/ban-ts-comment": [
24+
"error",
25+
{
26+
"ts-ignore": "allow-with-description"
27+
}
28+
]
29+
}
3030
}

.github/workflows/tests.yml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -3,32 +3,32 @@ name: Tests
33
on: [push, pull_request]
44

55
jobs:
6-
cypress-run:
7-
runs-on: ubuntu-latest
8-
steps:
9-
- uses: actions/checkout@v3
10-
- uses: actions/setup-node@v3
11-
with:
12-
node-version: '16.x'
13-
- name: Install dependencies
14-
run: yarn
15-
- name: Install Linux Webkit deps
16-
run: npx playwright install-deps webkit
17-
- name: Cypress Chrome
18-
uses: cypress-io/github-action@v5
19-
with:
20-
install: false
21-
component: true
22-
browser: chrome
23-
- name: Cypress Firefox
24-
uses: cypress-io/github-action@v5
25-
with:
26-
install: false
27-
component: true
28-
browser: firefox
29-
- name: Cypress Webkit
30-
uses: cypress-io/github-action@v5
31-
with:
32-
install: false
33-
component: true
34-
browser: webkit
6+
cypress-run:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
- uses: actions/setup-node@v3
11+
with:
12+
node-version: '16.x'
13+
- name: Install dependencies
14+
run: yarn
15+
- name: Install Linux Webkit deps
16+
run: npx playwright install-deps webkit
17+
- name: Cypress Chrome
18+
uses: cypress-io/github-action@v5
19+
with:
20+
install: false
21+
component: true
22+
browser: chrome
23+
- name: Cypress Firefox
24+
uses: cypress-io/github-action@v5
25+
with:
26+
install: false
27+
component: true
28+
browser: firefox
29+
- name: Cypress Webkit
30+
uses: cypress-io/github-action@v5
31+
with:
32+
install: false
33+
component: true
34+
browser: webkit

.gitignore

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@ pnpm-debug.log*
88

99
.vscode/*
1010
.DS_Store
11+
*.tgz
12+
.eslintcache
13+
14+
cypress/screenshots
15+
1116
node_modules
1217
dist
13-
1418
content
15-
demo/dist
16-
*.tgz
17-
.eslintcache
19+
demo/dist

.prettierrc

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
{
2-
"trailingComma": "es5",
3-
"singleQuote": true,
4-
"printWidth": 100,
5-
"useTabs": true,
6-
"overrides": [
7-
{
8-
"files": "README.md",
9-
"options": {
10-
"printWidth": 80,
11-
"trailingComma": "none",
12-
"useTabs": false,
13-
"semi": false
14-
}
15-
}
16-
]
2+
"trailingComma": "es5",
3+
"singleQuote": true,
4+
"printWidth": 100,
5+
"semi": false,
6+
"tabWidth": 3,
7+
"useTabs": false,
8+
"overrides": [
9+
{
10+
"files": "README.md",
11+
"options": {
12+
"printWidth": 80
13+
}
14+
}
15+
]
1716
}

0 commit comments

Comments
 (0)