Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit 2cc74f4

Browse files
committed
formatting fixes
1 parent d12fdbc commit 2cc74f4

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![WebDevStudios. Your Success is Our Mission.](https://nextjsdevstart.wpengine.com/wp-content/uploads/2021/09/WDS-GitHub-Banner.webp)](https://webdevstudios.com/contact/)
44

5-
**A headless starter for WordPress powered by Next.js**
5+
A headless starter for WordPress powered by Next.js
66

77
- Next.js Demo: <https://nextjs-wordpress-starter.vercel.app/>
88
- Storybook: <https://webdevstudios.github.io/nextjs-wordpress-starter/storybook/>

components/documentation/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
This directory was intendend to store sharable website documentation, which is included in Storybook.
1+
# This directory was intendend to store sharable website documentation, which is included in Storybook
22

33
![screenshot](https://dl.dropbox.com/s/rn0rew9insoxx5u/Screen%20Shot%202021-03-04%20at%2008.24.03.png?dl=0)

lefthook-frontend.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pre-commit:
1111
run: npx stylelint {staged_files} --fix
1212
lintjavascript:
1313
glob: '*.{js,ts,tsx}'
14-
run: next lint {staged_files} --fix
14+
run: npx eslint {staged_files} --fix
1515
lintmarkdown:
1616
glob: '*.{md}'
1717
run: npx markdownlint-cli {staged_files} --fix

next.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ module.exports = withBundleAnalyzer({
66
trailingSlash: true,
77
swcMinify: true,
88
images: {
9-
domains: process.env.NEXT_PUBLIC_IMAGE_DOMAINS.split(', '),
9+
domains: process.env.NEXT_PUBLIC_IMAGE_DOMAINS
10+
? process.env.NEXT_PUBLIC_IMAGE_DOMAINS.split(', ')
11+
: '',
1012
formats: ['image/avif', 'image/webp']
1113
}
1214
})

0 commit comments

Comments
 (0)