Skip to content

Commit

Permalink
Merge branch 'v2-dev' into dev
Browse files Browse the repository at this point in the history
# Conflicts:
#	README.md
#	package-lock.json
#	package.json
#	src/main.js
#	src/plugin.js
  • Loading branch information
setaman committed Oct 3, 2024
2 parents cc5f29c + 411837f commit d4408e3
Show file tree
Hide file tree
Showing 97 changed files with 27,326 additions and 27,888 deletions.
8 changes: 8 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
exclude_patterns:
- "tests"
- "demo"
plugins:
eslint:
enabled: true
channel: "eslint-7"
105 changes: 105 additions & 0 deletions .coderabbit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
language: en-US
tone_instructions: ''
early_access: true
enable_free_tier: true
reviews:
profile: chill
request_changes_workflow: false
high_level_summary: true
high_level_summary_placeholder: '@coderabbitai summary'
auto_title_placeholder: '@coderabbitai'
review_status: true
poem: false
collapse_walkthrough: true
sequence_diagrams: false
changed_files_summary: true
labeling_instructions: []
path_filters:
- '!App.vue'
path_instructions: []
abort_on_close: true
auto_review:
enabled: true
auto_incremental_review: true
ignore_title_keywords: []
labels: []
drafts: false
base_branches:
- master
- dev
- v2-dev
tools:
shellcheck:
enabled: true
ruff:
enabled: false
markdownlint:
enabled: true
github-checks:
enabled: true
timeout_ms: 90000
languagetool:
enabled: true
enabled_only: false
level: default
enabled_rules: []
disabled_rules: []
enabled_categories: []
disabled_categories: []
biome:
enabled: true
hadolint:
enabled: true
swiftlint:
enabled: false
phpstan:
enabled: false
level: default
golangci-lint:
enabled: false
yamllint:
enabled: true
gitleaks:
enabled: true
checkov:
enabled: false
detekt:
enabled: false
eslint:
enabled: true
rubocop:
enabled: false
buf:
enabled: false
regal:
enabled: false
actionlint:
enabled: true
pmd:
enabled: false
cppcheck:
enabled: false
semgrep:
enabled: true
circleci:
enabled: true
ast-grep:
packages: []
rule_dirs: []
util_dirs: []
essential_rules: true
chat:
auto_reply: true
knowledge_base:
opt_out: false
learnings:
scope: auto
issues:
scope: auto
jira:
project_keys: []
linear:
team_keys: []
pull_requests:
scope: auto
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
App.vue
tests
19 changes: 15 additions & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,30 @@ module.exports = {
node: true,
},
plugins: ["prettier"],
extends: ["plugin:vue/essential", "@vue/airbnb", "plugin:prettier/recommended"],
extends: ["plugin:vue/vue3-essential", "eslint:recommended", "plugin:prettier/recommended"],
rules: {
"prettier/prettier": "warn",
"no-console": process.env.NODE_ENV === "production" ? "error" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "off",
"no-console": process.env.NODE_ENV === "production" ? "error" : "warn",
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "warn",
"no-underscore-dangle": "off",
"no-plusplus": "off",
"max-len": [2, 120, 8],
"no-restricted-syntax": "off",
"guard-for-in": "off",
"no-case-declarations": "off",
"no-use-before-define": "off",
"vue/multi-word-component-names": 0,
"no-promise-executor-return": 0,
},
overrides: [
{
files: ["**/__tests__/*.{j,t}s?(x)", "**/tests/unit/**/*.spec.{j,t}s?(x)"],
env: {
mocha: true,
},
},
],
parserOptions: {
parser: "babel-eslint",
parser: "@babel/eslint-parser",
},
};
6 changes: 6 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
text=auto

*.js eol=lf
*.jsx eol=lf
*.json eol=lf
*.vue eol=lf
36 changes: 36 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Build and test

on:
push:
branches:
- master
- dev
- v2-dev
paths:
- "src/**"
- "!*.md"
pull_request:
branches:
- master
- dev
- v2-dev
paths:
- "src/**"
- "!*.md"

jobs:
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Unit tests
run: npm run test
1 change: 1 addition & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx --no -- commitlint --edit $1
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm run lint
22 changes: 0 additions & 22 deletions .travis.yml

This file was deleted.

Loading

0 comments on commit d4408e3

Please sign in to comment.