Skip to content

Commit d4408e3

Browse files
committed
Merge branch 'v2-dev' into dev
# Conflicts: # README.md # package-lock.json # package.json # src/main.js # src/plugin.js
2 parents cc5f29c + 411837f commit d4408e3

File tree

97 files changed

+27326
-27888
lines changed

Some content is hidden

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

97 files changed

+27326
-27888
lines changed

.codeclimate.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
version: 2
2+
exclude_patterns:
3+
- "tests"
4+
- "demo"
5+
plugins:
6+
eslint:
7+
enabled: true
8+
channel: "eslint-7"

.coderabbit.yaml

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
2+
language: en-US
3+
tone_instructions: ''
4+
early_access: true
5+
enable_free_tier: true
6+
reviews:
7+
profile: chill
8+
request_changes_workflow: false
9+
high_level_summary: true
10+
high_level_summary_placeholder: '@coderabbitai summary'
11+
auto_title_placeholder: '@coderabbitai'
12+
review_status: true
13+
poem: false
14+
collapse_walkthrough: true
15+
sequence_diagrams: false
16+
changed_files_summary: true
17+
labeling_instructions: []
18+
path_filters:
19+
- '!App.vue'
20+
path_instructions: []
21+
abort_on_close: true
22+
auto_review:
23+
enabled: true
24+
auto_incremental_review: true
25+
ignore_title_keywords: []
26+
labels: []
27+
drafts: false
28+
base_branches:
29+
- master
30+
- dev
31+
- v2-dev
32+
tools:
33+
shellcheck:
34+
enabled: true
35+
ruff:
36+
enabled: false
37+
markdownlint:
38+
enabled: true
39+
github-checks:
40+
enabled: true
41+
timeout_ms: 90000
42+
languagetool:
43+
enabled: true
44+
enabled_only: false
45+
level: default
46+
enabled_rules: []
47+
disabled_rules: []
48+
enabled_categories: []
49+
disabled_categories: []
50+
biome:
51+
enabled: true
52+
hadolint:
53+
enabled: true
54+
swiftlint:
55+
enabled: false
56+
phpstan:
57+
enabled: false
58+
level: default
59+
golangci-lint:
60+
enabled: false
61+
yamllint:
62+
enabled: true
63+
gitleaks:
64+
enabled: true
65+
checkov:
66+
enabled: false
67+
detekt:
68+
enabled: false
69+
eslint:
70+
enabled: true
71+
rubocop:
72+
enabled: false
73+
buf:
74+
enabled: false
75+
regal:
76+
enabled: false
77+
actionlint:
78+
enabled: true
79+
pmd:
80+
enabled: false
81+
cppcheck:
82+
enabled: false
83+
semgrep:
84+
enabled: true
85+
circleci:
86+
enabled: true
87+
ast-grep:
88+
packages: []
89+
rule_dirs: []
90+
util_dirs: []
91+
essential_rules: true
92+
chat:
93+
auto_reply: true
94+
knowledge_base:
95+
opt_out: false
96+
learnings:
97+
scope: auto
98+
issues:
99+
scope: auto
100+
jira:
101+
project_keys: []
102+
linear:
103+
team_keys: []
104+
pull_requests:
105+
scope: auto

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
App.vue
2+
tests

.eslintrc.js

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,30 @@ module.exports = {
44
node: true,
55
},
66
plugins: ["prettier"],
7-
extends: ["plugin:vue/essential", "@vue/airbnb", "plugin:prettier/recommended"],
7+
extends: ["plugin:vue/vue3-essential", "eslint:recommended", "plugin:prettier/recommended"],
88
rules: {
99
"prettier/prettier": "warn",
10-
"no-console": process.env.NODE_ENV === "production" ? "error" : "off",
11-
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "off",
10+
"no-console": process.env.NODE_ENV === "production" ? "error" : "warn",
11+
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "warn",
1212
"no-underscore-dangle": "off",
1313
"no-plusplus": "off",
1414
"max-len": [2, 120, 8],
1515
"no-restricted-syntax": "off",
1616
"guard-for-in": "off",
1717
"no-case-declarations": "off",
18+
"no-use-before-define": "off",
19+
"vue/multi-word-component-names": 0,
20+
"no-promise-executor-return": 0,
1821
},
22+
overrides: [
23+
{
24+
files: ["**/__tests__/*.{j,t}s?(x)", "**/tests/unit/**/*.spec.{j,t}s?(x)"],
25+
env: {
26+
mocha: true,
27+
},
28+
},
29+
],
1930
parserOptions: {
20-
parser: "babel-eslint",
31+
parser: "@babel/eslint-parser",
2132
},
2233
};

.gitattributes

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
text=auto
2+
3+
*.js eol=lf
4+
*.jsx eol=lf
5+
*.json eol=lf
6+
*.vue eol=lf

.github/workflows/build-test.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Build and test
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- dev
8+
- v2-dev
9+
paths:
10+
- "src/**"
11+
- "!*.md"
12+
pull_request:
13+
branches:
14+
- master
15+
- dev
16+
- v2-dev
17+
paths:
18+
- "src/**"
19+
- "!*.md"
20+
21+
jobs:
22+
build-test:
23+
runs-on: ubuntu-latest
24+
steps:
25+
- uses: actions/checkout@v4
26+
with:
27+
persist-credentials: false
28+
- uses: actions/setup-node@v4
29+
with:
30+
node-version: 20
31+
- name: Install dependencies
32+
run: npm ci
33+
- name: Lint
34+
run: npm run lint
35+
- name: Unit tests
36+
run: npm run test

.husky/commit-msg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npx --no -- commitlint --edit $1

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npm run lint

.travis.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)