Browse Source

config file changes

pull/9/head
Justin Duch 7 months ago
parent
commit
c3923087fa
  1. 2
      .eslintignore
  2. 0
      .eslintrc.cjs
  3. 4
      .prettierignore
  4. 7
      .prettierrc
  5. 7
      package.json
  6. 4
      svelte.config.cjs

2
.eslintignore

@ -1,2 +0,0 @@
build/*
__sapper__/*

0
.eslintrc.js → .eslintrc.cjs

4
.prettierignore

@ -0,0 +1,4 @@
.svelte/**
static/**
build/**
node_modules/**

7
.prettierrc

@ -0,0 +1,7 @@
{
"useTabs": false,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "none",
"printWidth": 100
}

7
package.json

@ -7,14 +7,14 @@
"author": "Justin Duch <justin@duch.me>",
"scripts": {
"export": "svelte-kit build",
"dev": "svelte-kit dev"
"dev": "svelte-kit dev",
"lint": "prettier check . && eslint --ignore-path .gitignore ."
},
"dependencies": {
"feed": "^4.2.2",
"highlight.js": "^10.4.1",
"html-encoder-decoder": "^1.3.9",
"luxon": "^1.26.0",
"prettier-plugin-svelte": "^2.2.0",
"reading-time": "^1.2.0",
"showdown": "^1.9.1"
},
@ -22,7 +22,10 @@
"@sveltejs/adapter-static": "next",
"@sveltejs/kit": "next",
"eslint": "^7.22.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-svelte3": "^3.2.0",
"prettier": "^2.2.1",
"prettier-plugin-svelte": "^2.2.0",
"svelte": "^3.29.0",
"vite": "^2.2.3"
}

4
svelte.config.cjs

@ -3,6 +3,6 @@ const adapter = require('@sveltejs/adapter-static');
module.exports = {
kit: {
target: '#svelte',
adapter: adapter(),
},
adapter: adapter()
}
};
Loading…
Cancel
Save