Skip to content

Commit

Permalink
Format spells at build time
Browse files Browse the repository at this point in the history
  • Loading branch information
Kreozot committed Oct 9, 2022
1 parent 055e9ef commit 516918c
Show file tree
Hide file tree
Showing 9 changed files with 215 additions and 118 deletions.
13 changes: 12 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,16 @@
],
"parserOptions": {
"project": "./tsconfig.json"
}
},
"overrides": [
{
"files": [
"scripts/**/*"
],
"rules": {
"import/no-extraneous-dependencies": "off",
"no-console": "off"
}
}
]
}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,5 @@ yarn-error.log
.pnp.js
# Yarn Integrity file
.yarn-integrity

src/content/spellsFormated.json
7 changes: 7 additions & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ module.exports = {
'gatsby-plugin-typescript-checker',
'gatsby-plugin-resolve-src',
'gatsby-plugin-react-helmet',
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'content',
path: `${__dirname}/src/content`,
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
Expand Down
Loading

0 comments on commit 516918c

Please sign in to comment.