-
Notifications
You must be signed in to change notification settings - Fork 2
/
gatsby-config.js
31 lines (31 loc) · 937 Bytes
/
gatsby-config.js
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
module.exports = {
siteMetadata: {
title: 'pnwcams',
},
plugins: [
'gatsby-plugin-sass',
{
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}',
customOptions: {
fix: true,
cache: true,
},
},
},
},
],
};