Skip to content

Commit

Permalink
fix: ~lint, prettier configs, chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mnenie committed Nov 2, 2024
1 parent 9e3459b commit bd93066
Show file tree
Hide file tree
Showing 16 changed files with 49 additions and 269 deletions.
2 changes: 2 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import pluginVue from 'eslint-plugin-vue';
import vueTsEslintConfig from '@vue/eslint-config-typescript';
import skipFormatting from '@vue/eslint-config-prettier/skip-formatting';
import vitest from '@vitest/eslint-plugin';
import storybook from 'eslint-plugin-storybook';
import antfu from 'eslint-plugin-antfu';

export default [
Expand All @@ -19,6 +20,7 @@ export default [
}
},
...pluginVue.configs['flat/recommended'],
...storybook.configs['flat/recommended'],
...vueTsEslintConfig(),
{
rules: {
Expand Down
14 changes: 12 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
{
"name": "jenda",
"version": "0.0.0",
"license": "MIT",
"description": "Cloud-based task management app",
"author": "Alex Peshkov",
"keywords": [
"jenda",
"tasks",
"kanban",
"agile",
"collaboration"
],
"private": true,
"type": "module",
"scripts": {
Expand All @@ -11,6 +21,7 @@
"build-only": "vite build",
"type-check": "vue-tsc --build --force",
"lint": "eslint . --fix",
"stylelint": "npx stylelint **/*.scss --fix",
"format": "prettier --write src/",
"prepare": "husky",
"storybook": "storybook dev -p 6006",
Expand All @@ -32,7 +43,6 @@
"@vueuse/core": "^10.11.0",
"@vueuse/integrations": "^10.10.0",
"axios": "^1.7.2",
"chart.js": "^4.4.3",
"floating-vue": "^5.2.2",
"lucide-vue-next": "^0.396.0",
"pinia": "^2.1.7",
Expand Down Expand Up @@ -71,7 +81,7 @@
"eslint": "^9.13.0",
"eslint-define-config": "^2.1.0",
"eslint-plugin-antfu": "^2.7.0",
"eslint-plugin-storybook": "^0.8.0",
"eslint-plugin-storybook": "^0.10.2",
"eslint-plugin-vue": "^9.29.0",
"husky": "^9.0.11",
"jsdom": "^24.1.0",
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions src/app/styles/primary/_exceptions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ html.dark {
background-color: var(--zinc-600) !important;
color: var(--zinc-200) !important;
}

.vue-data-ui-fulscreen--off {
circle {
fill: #313131 !important;
Expand Down
20 changes: 18 additions & 2 deletions src/app/styles/primary/_hippie-nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@
background-color: var(--hippie-bg-color);
border-radius: 1rem;
box-shadow:
0 1px 3px 0 rgb(0 0 0 / 0.1),
0 1px 2px -1px rgb(0 0 0 / 0.1);
0 1px 3px 0 rgb(0 0 0 / 10%),
0 1px 2px -1px rgb(0 0 0 / 10%);
}
}

Expand Down Expand Up @@ -118,6 +118,7 @@
> * {
height: 9px;
}

&:hover {
opacity: 1;
}
Expand Down Expand Up @@ -148,6 +149,7 @@
.title {
font-size: 14px;
}

.type-icon {
font-size: 16px;
color: var(--zinc-500);
Expand All @@ -164,6 +166,7 @@
& > span {
color: var(--zinc-600);
}

.type-icon {
color: var(--blue-secondary) !important;
}
Expand Down Expand Up @@ -201,6 +204,7 @@
> * {
height: 8px;
}

&:hover {
opacity: 0.75;
}
Expand Down Expand Up @@ -233,9 +237,11 @@
0% {
transform: scale3d(0.9, 0.9, 0.9);
}

55% {
transform: scale3d(0.98, 0.98, 0.98);
}

100% {
transform: scale3d(1, 1, 1);
}
Expand All @@ -245,9 +251,11 @@
0% {
opacity: 0;
}

50% {
opacity: 0.75;
}

100% {
opacity: 1;
}
Expand Down Expand Up @@ -290,29 +298,37 @@ html.dark {
background-color: var(--zinc-700);
}
}

.hippie-result-item.selected {
background-color: #323232;
}

.hippie-result-item {
color: var(--zinc-300);

.title {
color: var(--zinc-200);
}

.type-icon{
color: var(--zinc-300);
}
}

.search-panel {
.search-panel-icon {
color: var(--zinc-200);
}

.search-panel-input {
color: var(--zinc-200);
}

.clear-btn {
color: var(--zinc-300);
}
}

.no-result {
color: var(--zinc-500);
}
Expand Down
1 change: 0 additions & 1 deletion src/app/styles/primary/_properties.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ $zinc-colors: (
--hippie-hit-active-color: #fff;
--hippie-hit-highlighted-text-color: #42b983;
--hippie-footer-color: hsla(215deg 16% 50% / 70%);

--hippie-spacing-xs: .25rem;
--hippie-spacing-s: .5rem;
--hippie-spacing-m: .75rem;
Expand Down
25 changes: 0 additions & 25 deletions src/features/boards/charts/model/chart.js/charts.data.ts

This file was deleted.

34 changes: 0 additions & 34 deletions src/features/boards/charts/model/chart.js/charts.options.ts

This file was deleted.

2 changes: 0 additions & 2 deletions src/features/boards/charts/model/chart.js/index.ts

This file was deleted.

37 changes: 0 additions & 37 deletions src/features/boards/charts/model/composables/useChart.ts

This file was deleted.

23 changes: 0 additions & 23 deletions src/features/boards/charts/ui/ActivityBoardChart.vue

This file was deleted.

23 changes: 0 additions & 23 deletions src/features/boards/charts/ui/ActivityTaskChart.vue

This file was deleted.

4 changes: 0 additions & 4 deletions src/features/boards/charts/ui/index.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/features/boards/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
export * from './add-board/ui';
export * from './charts/ui';
export * from './filter/ui';
8 changes: 6 additions & 2 deletions .stylelintrc.cjs → stylelint.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module.exports = {
ignoreFiles: ['dist/**/*.css', 'coverage/**/*.css'],
extends: 'stylelint-config-standard-scss',
rules: {
'no-duplicate-selectors': true,
'no-duplicate-selectors': null,
'selector-no-qualifying-type': [
true,
{
Expand All @@ -15,5 +15,9 @@ module.exports = {
'font-weight-notation': 'numeric',
'comment-whitespace-inside': 'always',
'comment-empty-line-before': 'always',
'selector-class-pattern': null,
'no-descending-specificity': null,
'declaration-no-important': null,
'scss/load-no-partial-leading-underscore': null
}
};
};
Loading

0 comments on commit bd93066

Please sign in to comment.