mirror of
https://github.com/IT4Change/boilerplate-frontend.git
synced 2025-12-13 07:35:53 +00:00
lint fixes for .json
This commit is contained in:
parent
5cc5db223c
commit
389cb7078d
@ -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
|
||||||
|
|||||||
@ -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