Skip to content

Commit

Permalink
Merge pull request #8 from IT4Change/lint-docu-fixes
Browse files Browse the repository at this point in the history
fix(workflow): lint & docu fixes
  • Loading branch information
ulfgebhardt authored Nov 20, 2023
2 parents 5cc5db2 + 210667e commit 02b3276
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 14 deletions.
28 changes: 17 additions & 11 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,13 @@
"import/no-webpack-loader-syntax": "error",
"import/consistent-type-specifier-style": "error",
"import/exports-last": "off",
"import/extensions": "error",
"import/extensions": [
"error",
"never",
{
"json": "always"
}
],
"import/first": "error",
"import/group-exports": "off",
"import/newline-after-import": "error",
Expand All @@ -88,16 +94,16 @@
"import/no-namespace": "error",
"import/no-unassigned-import": "error",
"import/order": [
"error",
{
"groups": ["builtin", "external", "internal", "parent", "sibling", "index", "object", "type"],
"newlines-between": "always",
"alphabetize": {
"order": "asc", // sort in ascending order. Options: ["ignore", "asc", "desc"]
"caseInsensitive": true // ignore case. Options: [true, false]
},
"distinctGroup": true
}
"error",
{
"groups": ["builtin", "external", "internal", "parent", "sibling", "index", "object", "type"],
"newlines-between": "always",
"alphabetize": {
"order": "asc", // sort in ascending order. Options: ["ignore", "asc", "desc"]
"caseInsensitive": true // ignore case. Options: [true, false]
},
"distinctGroup": true
}
],
"import/prefer-default-export": "off",
// promise
Expand Down
2 changes: 1 addition & 1 deletion .github/file-filters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ frontend-test-build-code: &frontend-test-build-code

frontend-test-build-docs: &frontend-test-build-docs
- '**/*.md'
- '.vuepress/'
- '.vuepress/*'

frontend-test-build-storybook: &frontend-test-build-storybook
- '**/*'
1 change: 1 addition & 0 deletions .vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export default defineUserConfig({
title: 'IT4C Frontend Boilerplate Documentation',
description: 'IT4C Frontend Boilerplate Documentation',
dest: 'build/docs',
base: '/boilerplate-frontend/',
})
4 changes: 2 additions & 2 deletions renderer/i18n.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { createI18n } from 'vue-i18n'

// eslint-disable-next-line import/no-relative-parent-imports
import de from '../src/locales/de'
import de from '../src/locales/de.json'
// import { de as $vuetify } from 'vuetify/locale'
// eslint-disable-next-line import/no-relative-parent-imports
import en from '../src/locales/en'
import en from '../src/locales/en.json'
// import { en as $vuetify } from 'vuetify/locale'

export default createI18n({
Expand Down

0 comments on commit 02b3276

Please sign in to comment.