mirror of
https://github.com/IT4Change/boilerplate-frontend.git
synced 2025-12-13 07:35:53 +00:00
Merge pull request #8 from IT4Change/lint-docu-fixes
fix(workflow): lint & docu fixes
This commit is contained in:
commit
02b3276519
@ -77,7 +77,13 @@
|
|||||||
"import/no-webpack-loader-syntax": "error",
|
"import/no-webpack-loader-syntax": "error",
|
||||||
"import/consistent-type-specifier-style": "error",
|
"import/consistent-type-specifier-style": "error",
|
||||||
"import/exports-last": "off",
|
"import/exports-last": "off",
|
||||||
"import/extensions": "error",
|
"import/extensions": [
|
||||||
|
"error",
|
||||||
|
"never",
|
||||||
|
{
|
||||||
|
"json": "always"
|
||||||
|
}
|
||||||
|
],
|
||||||
"import/first": "error",
|
"import/first": "error",
|
||||||
"import/group-exports": "off",
|
"import/group-exports": "off",
|
||||||
"import/newline-after-import": "error",
|
"import/newline-after-import": "error",
|
||||||
@ -88,16 +94,16 @@
|
|||||||
"import/no-namespace": "error",
|
"import/no-namespace": "error",
|
||||||
"import/no-unassigned-import": "error",
|
"import/no-unassigned-import": "error",
|
||||||
"import/order": [
|
"import/order": [
|
||||||
"error",
|
"error",
|
||||||
{
|
{
|
||||||
"groups": ["builtin", "external", "internal", "parent", "sibling", "index", "object", "type"],
|
"groups": ["builtin", "external", "internal", "parent", "sibling", "index", "object", "type"],
|
||||||
"newlines-between": "always",
|
"newlines-between": "always",
|
||||||
"alphabetize": {
|
"alphabetize": {
|
||||||
"order": "asc", // sort in ascending order. Options: ["ignore", "asc", "desc"]
|
"order": "asc", // sort in ascending order. Options: ["ignore", "asc", "desc"]
|
||||||
"caseInsensitive": true // ignore case. Options: [true, false]
|
"caseInsensitive": true // ignore case. Options: [true, false]
|
||||||
},
|
},
|
||||||
"distinctGroup": true
|
"distinctGroup": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"import/prefer-default-export": "off",
|
"import/prefer-default-export": "off",
|
||||||
// promise
|
// promise
|
||||||
|
|||||||
2
.github/file-filters.yml
vendored
2
.github/file-filters.yml
vendored
@ -11,7 +11,7 @@ frontend-test-build-code: &frontend-test-build-code
|
|||||||
|
|
||||||
frontend-test-build-docs: &frontend-test-build-docs
|
frontend-test-build-docs: &frontend-test-build-docs
|
||||||
- '**/*.md'
|
- '**/*.md'
|
||||||
- '.vuepress/'
|
- '.vuepress/*'
|
||||||
|
|
||||||
frontend-test-build-storybook: &frontend-test-build-storybook
|
frontend-test-build-storybook: &frontend-test-build-storybook
|
||||||
- '**/*'
|
- '**/*'
|
||||||
@ -4,4 +4,5 @@ export default defineUserConfig({
|
|||||||
title: 'IT4C Frontend Boilerplate Documentation',
|
title: 'IT4C Frontend Boilerplate Documentation',
|
||||||
description: 'IT4C Frontend Boilerplate Documentation',
|
description: 'IT4C Frontend Boilerplate Documentation',
|
||||||
dest: 'build/docs',
|
dest: 'build/docs',
|
||||||
|
base: '/boilerplate-frontend/',
|
||||||
})
|
})
|
||||||
|
|||||||
@ -1,10 +1,10 @@
|
|||||||
import { createI18n } from 'vue-i18n'
|
import { createI18n } from 'vue-i18n'
|
||||||
|
|
||||||
// eslint-disable-next-line import/no-relative-parent-imports
|
// 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'
|
// import { de as $vuetify } from 'vuetify/locale'
|
||||||
// eslint-disable-next-line import/no-relative-parent-imports
|
// 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'
|
// import { en as $vuetify } from 'vuetify/locale'
|
||||||
|
|
||||||
export default createI18n({
|
export default createI18n({
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user