lint fixes for .json

This commit is contained in:
Ulf Gebhardt 2023-11-21 00:32:01 +01:00
parent 5cc5db223c
commit 389cb7078d
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9
2 changed files with 19 additions and 13 deletions

View File

@ -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",
@ -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

View File

@ -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({