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

Deprecia vue-router nos componentes do projeto #404

Merged
merged 6 commits into from
Dec 16, 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
1 change: 0 additions & 1 deletion .github/workflows/release.action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
scope: '@tray-tecnologia'
cache: 'npm'
- run: npm ci
- run: npm run build
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
9 changes: 8 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,14 @@
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"eslint.codeActionsOnSave.rules": [
"eslint.options": {
"fixTypes": [
"problem",
"suggestion",
"layout"
]
},
"eslint.codeActionsOnSave.rules": [
"sort/imports"
],
"typescript.preferences.importModuleSpecifierEnding": "minimal",
Expand Down
10 changes: 8 additions & 2 deletions env.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
/// <reference types="vite/client" />
/// <reference types="youtube" />

declare module 'tom-select/dist/js/tom-select.complete.min.js' {}
declare module 'apexcharts/src/apexcharts.js';
declare module 'youtube-player';

declare module 'youtube' {
import 'youtube';

export type Player = YT.Player;
export type PlayerOptions = YT.PlayerOptions;
export type PlayerEvent = YT.PlayerEvent;
}
13 changes: 12 additions & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default [
rules: {
eqeqeq: 'error',
'@typescript-eslint/naming-convention': [
'error',
'warn',
{
selector: 'default',
format: ['camelCase'],
Expand Down Expand Up @@ -109,6 +109,17 @@ export default [
},
],
'@typescript-eslint/no-empty-object-type': 'off', // Permite interfaces com uso de extends apenas
'no-restricted-imports': [
'warn',
{
paths: [
{
name: 'vue-router',
message: 'Vue Router dependency is deprected and will be removed in next version.',
},
],
},
],
},
},
{
Expand Down
Loading
Loading