Commit add5b03f authored by René Rösner's avatar René Rösner
Browse files

FIX: Eslint multiline config(planning#428)

parent 9bdfa419
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"plugin:vue/essential",
"standard"
"env": {
"browser": true,
"es2021": true
},
"extends": [
"plugin:vue/essential",
"standard"
],
"parserOptions": {
"ecmaVersion": "latest",
"parser": "@typescript-eslint/parser",
"sourceType": "module"
},
"plugins": [
"vue",
"@typescript-eslint"
],
"rules": {
"indent": [
"error",
4
],
"parserOptions": {
"ecmaVersion": "latest",
"parser": "@typescript-eslint/parser",
"sourceType": "module"
},
"plugins": [
"vue",
"@typescript-eslint"
"space-before-function-paren": [
"error",
{
"anonymous": "always",
"named": "never",
"asyncArrow": "always"
}
],
"rules": {
"indent": [
"error",
4
],
"space-before-function-paren": [
"error",
{
"anonymous": "always",
"named": "never",
"asyncArrow": "always"
}
],
"eqeqeq": 0,
"array-callback-return": 0,
"id-length": [
"error",
{
"min": 4,
"exceptions": [
"alt",
"App",
"id",
"img",
"key",
"src",
"tag"
]
}
],
"comma-dangle": "off",
"@typescript-eslint/comma-dangle": [
"error",
{
"arrays": "never",
"objects": "always-multiline",
"imports": "never",
"exports": "never",
"functions": "never"
}
"eqeqeq": 0,
"array-callback-return": 0,
"id-length": [
"error",
{
"min": 4,
"exceptions": [
"alt",
"App",
"id",
"img",
"key",
"src",
"tag"
]
}
}
\ No newline at end of file
}
],
"comma-dangle": "off",
"@typescript-eslint/comma-dangle": [
"error",
{
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "never",
"exports": "never",
"functions": "never"
}
]
}
}
......@@ -23,10 +23,10 @@ export function Layout({ children }) {
<FooterColumn title={'Rechtliches'} links={[
{ label: 'Impressum', href: 'https://www.fitko.de/impressum' },
{ label: 'Datenschutz', href: 'https://www.fitko.de/datenschutz' },
{ label: 'Barrierefreiheit', href: 'https://www.fitko.de/barrierefreiheitserklaerung' }
{ label: 'Barrierefreiheit', href: 'https://www.fitko.de/barrierefreiheitserklaerung' },
]} />
<FooterColumn title={''} links={[
{ label: '', href: '/' }
{ label: '', href: '/' },
]} />
</Footer>
</>
......
......@@ -44,7 +44,6 @@ export async function fetchServices(): Promise<Entry<any>[]> {
content_type: 'service',
})
if (services.items) return services.items
console.log('Error getting Entries for services.')
}
export async function fetchService(slug): Promise<Entry<any>> {
......
......@@ -4,6 +4,5 @@ const conf = {
basePath: `${process.env.NEXT_PUBLIC_BASE_PATH ? process.env.NEXT_PUBLIC_BASE_PATH : ''}`,
trailingSlash: !process.env.TRAILING_SLASH || process.env.TRAILING_SLASH !== 'off'
}
console.log('conf: ', conf)
module.exports = conf
......@@ -27,7 +27,7 @@ export default function NotFound() {
title: 'Blog',
description: 'Read our latest news and articles',
icon: IconRss,
}
},
]
return (
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment