chore: lint demo
This commit is contained in:
parent
64bdba6afd
commit
948930d228
2 changed files with 2 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
export default async (fastify) => {
|
export default async (fastify) => {
|
||||||
fastify.get('/', async function (request, reply) {
|
fastify.get('/', async function (request, reply) {
|
||||||
|
console.log({ request, reply })
|
||||||
return 'This is the API Index'
|
return 'This is the API Index'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ export default [
|
||||||
eslintPluginPrettierRecommended,
|
eslintPluginPrettierRecommended,
|
||||||
includeIgnoreFile(gitignorePath),
|
includeIgnoreFile(gitignorePath),
|
||||||
{
|
{
|
||||||
ignores: ['site/*', 'templates/**', '**/public/*', 'demo/*'],
|
ignores: ['site/*', 'templates/**', '**/public/*'],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
rules: {
|
rules: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue