-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathgatsby-config.js
More file actions
52 lines (52 loc) · 1.31 KB
/
gatsby-config.js
File metadata and controls
52 lines (52 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
module.exports = {
siteMetadata: {
title: `Ani's Gallery`,
description: "A Gatsby web application hosted at www.ani.gallery",
author: `Daniel Kolev`,
siteUrl: `https://ani.gallery/`,
},
plugins: [
`gatsby-plugin-resolve-src`,
`gatsby-plugin-react-helmet`,
`gatsby-plugin-image`,
`gatsby-plugin-sass`,
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
`gatsby-plugin-netlify`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `gatsby-starter-default`,
short_name: `starter`,
start_url: `/`,
background_color: `#663399`,
theme_color: `#663399`,
display: `minimal-ui`,
icon: `src/favicon.png`,
},
},
{
resolve: "gatsby-plugin-prettier-eslint",
options: {
prettier: {
patterns: [
// the pattern "**/*.{js,jsx,ts,tsx}" is not used because we will rely on `eslint --fix`
"**/*.{css,scss,less}",
"**/*.{json,json5}",
"**/*.{graphql}",
"**/*.{md,mdx}",
"**/*.{html}",
"**/*.{yaml,yml}",
],
},
eslint: {
patterns: "**/*.{js,jsx,ts,tsx}",
customOptions: {
fix: true,
cache: true,
},
},
},
},
],
};