Skip to content

Commit

Permalink
Merge branch 'main' into feat/sensor
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarosabu authored Oct 28, 2024
2 parents 00530a3 + 2f906e2 commit 5629170
Show file tree
Hide file tree
Showing 9 changed files with 477 additions and 490 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @alvarosabu
32 changes: 0 additions & 32 deletions .github/workflows/actions/pnpm/action.yml

This file was deleted.

38 changes: 0 additions & 38 deletions .github/workflows/pkg.pr.new.yml

This file was deleted.

3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ dist-ssr

# Editor directories and files
.vscode/*
!.vscode/settings.json
!.vscode/extensions.json
.idea
.DS_Store
Expand All @@ -26,4 +27,4 @@ stats.html
docs/.vitepress/dist/
docs/.vitepress/cache/
docs/.vitepress/.temp/
docs/components.d.ts
docs/components.d.ts
8 changes: 0 additions & 8 deletions .husky/install.mjs

This file was deleted.

25 changes: 0 additions & 25 deletions .husky/pre-commit

This file was deleted.

54 changes: 54 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
// Enable the ESlint flat config support
"eslint.useFlatConfig": true,
"eslint.format.enable": true,

// Disable the default formatter, use eslint instead
"prettier.enable": false,
"editor.formatOnSave": false,

// Auto fix
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit",
"source.organizeImports": "never"
},

// Silent the stylistic rules in you IDE, but still auto fix them
"eslint.rules.customizations": [
{ "rule": "style/*", "severity": "off" },
{ "rule": "format/*", "severity": "off" },
{ "rule": "*-indent", "severity": "off" },
{ "rule": "*-spacing", "severity": "off" },
{ "rule": "*-spaces", "severity": "off" },
{ "rule": "*-order", "severity": "off" },
{ "rule": "*-dangle", "severity": "off" },
{ "rule": "*-newline", "severity": "off" },
{ "rule": "*quotes", "severity": "off" },
{ "rule": "*semi", "severity": "off" }
],

// Enable eslint for all supported languages
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"vue",
"html",
"markdown",
"json",
"jsonc",
"yaml",
"toml",
"yml"
],

// Default formatter configuration
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"[jsonc]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"[vue]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
}
}
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@
"lint:fix": "eslint . --fix",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs",
"prepare": "husky"
"docs:preview": "vitepress preview docs"
},
"peerDependencies": {
"@tresjs/core": ">=4.0.0",
Expand All @@ -77,7 +76,6 @@
"dts": "^0.1.1",
"eslint": "^9.10.0",
"eslint-plugin-vue": "^9.28.0",
"husky": "^9.1.5",
"kolorist": "^1.8.0",
"pathe": "^1.1.2",
"release-it": "^17.6.0",
Expand Down
Loading

0 comments on commit 5629170

Please sign in to comment.