Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release 1.1.0 #201

Merged
merged 20 commits into from
Jan 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 1 addition & 33 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,3 @@
{
"parserOptions": {
"parser": "@typescript-eslint/parser"
},
// Make sure prettier is the last config defined in the extends array
// as the order of the configs determine duplicate rules in different configs are handled
// (later configs override previous ones)!
"extends": ["eslint:recommended", "plugin:vue/vue3-recommended", "@vue/typescript/recommended", "prettier"],
"env": {
"es6": true,
"browser": true,
"node": true
},
"plugins": ["@typescript-eslint", "prettier", "import"],
"rules": {
// code quality and code style rules:
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/no-namespace": "off",
"@typescript-eslint/consistent-type-definitions": ["error", "interface"],
"@typescript-eslint/no-empty-function": "off",
// to avoid conflicts, code formatting rules should go in .prettierrc!
"prettier/prettier": "error"
},
"settings": {
"import/parsers": {
"@typescript-eslint/parser": [".ts", ".tsx"]
},
"import/resolver": {
"typescript": {
"alwaysTryTypes": true,
"extensions": [".ts", ".tsx", ".vue"]
}
}
}
"extends": ["./public/.eslintrc.json"]
}
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ repos:
hooks:
- id: prettier
additional_dependencies:
- prettier@2.8.4
- prettier@3.2.3
types_or: [ts, javascript, scss, css, yaml, json, vue]
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.34.0
rev: v8.56.0
hooks:
- id: eslint
additional_dependencies:
- eslint@8.34.0
- eslint@8.56.0
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- eslint-plugin-prettier@4.2.1
- eslint-plugin-prettier@5.1.3
- [email protected]
- '@vue/[email protected]'
- '@vue/[email protected]'
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.json
16 changes: 16 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"plugins": ["@trivago/prettier-plugin-sort-imports"],
"arrowParens": "always",
"printWidth": 120,
"singleQuote": true,
"trailingComma": "es5",
"semi": true,
"importOrder": [
"css$",
"<THIRD_PARTY_MODULES>",
"^@(components|directives|services|models|utils|/)(.*)$",
"<THIRD_PARTY_TS_TYPES>",
"<TS_TYPES>^@(components|directives|services|models|utils|/)(.*)$"
],
"importOrderSortSpecifiers": true
}
13 changes: 0 additions & 13 deletions .prettierrc.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const config: StorybookConfig = {
'@storybook/addon-links',
'@storybook/addon-essentials',
'@storybook/addon-interactions',
'@storybook/addon-mdx-gfm'
'@storybook/addon-mdx-gfm',
],
framework: {
name: '@storybook/vue3-vite',
Expand Down
2 changes: 1 addition & 1 deletion .storybook/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import VueI18nPlugin from '@intlify/unplugin-vue-i18n/vite';
import vue from '@vitejs/plugin-vue';
import { resolve } from 'path';
import { defineConfig } from 'vite';
import VueI18nPlugin from '@intlify/unplugin-vue-i18n/vite';

// https://vitejs.dev/config/
export default defineConfig({
Expand Down
4 changes: 2 additions & 2 deletions cypress/e2e/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"isolatedModules": false,
"target": "es5",
"lib": ["es5", "dom"],
"types": ["cypress"]
}
"types": ["cypress"],
},
}
Loading