Skip to content
This repository has been archived by the owner on Oct 29, 2022. It is now read-only.

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
yamanoku committed Aug 30, 2019
1 parent 7f646c8 commit 7c23152
Showing 1 changed file with 33 additions and 33 deletions.
66 changes: 33 additions & 33 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,68 +1,68 @@
import { Configuration } from "@nuxt/types";
import { Configuration } from '@nuxt/types'

const nuxtConfig: Configuration = {
mode: "universal",
mode: 'universal',
head: {
title: "READING...",
title: 'READING...',
htmlAttrs: {
lang: "ja"
lang: 'ja'
},
meta: [
{ charset: "utf-8" },
{ name: "viewport", content: "width=device-width, initial-scale=1" },
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{
hid: "description",
name: "description",
content: "@yamanoku Reading News List"
hid: 'description',
name: 'description',
content: '@yamanoku Reading News List'
},
{
hid: "og:image",
name: "og:image",
content: "https://yamanoku.net/reading/icon.png"
hid: 'og:image',
name: 'og:image',
content: 'https://yamanoku.net/reading/icon.png'
}
],
link: [{ rel: "icon", type: "image/x-icon", href: "/favicon.ico" }]
link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }]
},
css: ["modern-normalize"],
css: ['modern-normalize'],
build: {
extend(config, ctx) {
extend (config, ctx) {
if (ctx.isDev && ctx.isClient) {
if (!config.module) return;
if (!config.module) { return }
config.module.rules.push({
enforce: "pre",
enforce: 'pre',
test: /\.(js|vue)$/,
loader: "eslint-loader",
loader: 'eslint-loader',
exclude: /(node_modules)/
});
})
}
},
quiet: false
},
buildModules: [
[
"@nuxt/typescript-build",
'@nuxt/typescript-build',
{
typeCheck: true,
ignoreNotFoundWarnings: true
}
]
],
plugins: ["~/plugins/vue-paginate"],
modules: ["@nuxtjs/pwa"],
plugins: ['~/plugins/vue-paginate'],
modules: ['@nuxtjs/pwa'],
workbox: {
dev: true
},
manifest: {
name: "READING...",
short_name: "READING...",
title: "READING...",
"og:title": "READING...",
description: "@yamanoku Reading News List",
"og:description": "@yamanoku Reading News List",
lang: "en",
theme_color: "#f9f9f9",
background_color: "#f9f9f9"
name: 'READING...',
short_name: 'READING...',
title: 'READING...',
'og:title': 'READING...',
description: '@yamanoku Reading News List',
'og:description': '@yamanoku Reading News List',
lang: 'en',
theme_color: '#f9f9f9',
background_color: '#f9f9f9'
}
};
}

module.exports = nuxtConfig;
module.exports = nuxtConfig

0 comments on commit 7c23152

Please sign in to comment.