Skip to content

Open source personal finance application

chore: refactor

ilkome3037a82258e7
diff --git a/nuxt.config.js b/nuxt.config.js
index d6930d7a..8080545b 100644
--- a/nuxt.config.js
+++ b/nuxt.config.js
@@ -75,7 +75,7 @@ export default defineNuxtConfig({
// Color mode
colorMode: {
classSuffix: '',
- preference: 'dark' // default value of $colorMode.preference
+ preference: 'dark'
},
// Nuxt.js modules
@@ -109,7 +109,6 @@ export default defineNuxtConfig({
]
},
- // Nuxt-i18n module configuration (https://i18n.nuxtjs.org)
i18n: {
locales: [{
code: 'en',
@@ -132,7 +131,6 @@ export default defineNuxtConfig({
langDir: 'locales/'
},
- // Manifest
pwa: {
manifest: {
name: 'Finapp',
diff --git a/stylelint.config.js b/stylelint.config.js
deleted file mode 100644
index 3670ba44..00000000
--- a/stylelint.config.js
+++ /dev/null
@@ -1,97 +0,0 @@
-module.exports = {
- extends: [
- 'stylelint-plugin-stylus/standard'
- ],
- plugins: [
- 'stylelint-order'
- ],
-
- rules: {
- indentation: 2,
- 'declaration-block-trailing-semicolon': 'never',
- 'declaration-colon-space-after': 'always',
- 'declaration-colon-space-before': 'never',
- 'function-url-quotes': 'never',
- 'no-duplicate-selectors': true,
- 'rule-empty-line-before': [
- 'always', {
- except: ['first-nested'],
- ignore: ['after-comment', 'inside-block']
- }],
- 'selector-attribute-brackets-space-inside': 'never',
- 'selector-attribute-operator-space-after': 'never',
- 'selector-attribute-operator-space-before': 'never',
- 'selector-attribute-quotes': 'always',
- 'string-quotes': 'single',
- 'stylus/at-rule-empty-line-before': [
- 'always', {
- except: ['blockless-after-same-name-blockless'],
- ignore: ['after-comment', 'inside-block']
- }],
- 'stylus/at-rule-no-unknown': true,
- 'stylus/declaration-colon': 'never',
- 'stylus/number-leading-zero': 'never',
- 'stylus/property-no-unknown': true,
- 'stylus/pythonic': 'always',
- 'stylus/selector-list-comma': 'never',
- 'stylus/selector-type-no-unknown': true,
- 'stylus/semicolon': 'never',
- 'stylus/single-line-comment': 'always',
-
- 'order/order': [
- 'custom-properties',
- 'declarations'
- ],
-
- 'order/properties-order': [
- 'overflow',
- 'z-index',
- 'cursor',
- 'opacity',
- 'position',
- 'top',
- 'left',
- 'right',
- 'bottom',
- 'display',
- 'align-items',
- 'justify-content',
- 'grid-grid-template-columns',
- 'row-gap',
- 'row-column',
- 'width',
- 'height',
- 'max-width',
- 'max-height',
- 'min-height',
- 'min-width',
- 'margin',
- 'margin-top',
- 'margin-right',
- 'margin-bottom',
- 'margin-left',
- 'padding',
- 'padding-top',
- 'padding-right',
- 'padding-bottom',
- 'padding-left',
- 'color',
- 'font-family',
- 'font-size',
- 'font-weight',
- 'line-height',
- 'text-align',
- 'text-transform',
- 'text-decoration',
- 'background',
- 'border',
- 'border-radius',
- 'box-shadow',
- 'transform',
- 'transition',
- 'list-style',
- 'object-fit',
- 'filter'
- ]
- }
-}
diff --git a/tailwind.config.js b/tailwind.config.js
index 29bcfdae..4b16aa44 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -37,10 +37,6 @@ module.exports = {
}
},
- variants: {
- extend: {}
- },
-
plugins: [
plugin(function ({ addVariant }) {
addVariant('hocus', ['.isNotTouchDevice &:hover', '&:active'])
diff --git a/vetur.config.js b/vetur.config.js
deleted file mode 100644
index babd315a..00000000
--- a/vetur.config.js
+++ /dev/null
@@ -1,15 +0,0 @@
-module.exports = {
- settings: {
- 'vetur.useWorkspaceDependencies': true,
- 'vetur.experimental.templateInterpolationService': true
- },
-
- projects: [{
- root: 'finapp',
- package: 'finapp/package.json'
- }],
-
- globalComponents: [
- 'finapp/components/**/*.vue'
- ]
-}