From 63c4f174c849a41eb0c2b5fc7470151dd1f0277c Mon Sep 17 00:00:00 2001 From: seth Date: Sat, 20 May 2023 02:32:33 -0400 Subject: move eslint/postcss configs to package.json --- package.json | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index f0025ed..1ae90a9 100644 --- a/package.json +++ b/package.json @@ -10,9 +10,9 @@ "astro": "astro", "format": "prettier --write --editorconfig ." }, - "dependencies": {}, "devDependencies": { "@astrojs/tailwind": "^3.1.2", + "@astrojs/ts-plugin": "^1.0.6", "@catppuccin/tailwindcss": "^0.1.1", "astro": "^2.4.5", "autoprefixer": "^10.4.14", @@ -25,5 +25,31 @@ "prettier-plugin-astro": "^0.8.1", "sass": "^1.62.1", "tailwindcss": "^3.3.2" + }, + "eslintConfig": { + "extends": [ + "eslint:recommended", + "plugin:prettier/recommended" + ], + "env": { + "es6": true, + "node": true + }, + "rules": { + "prettier/prettier": "error" + }, + "parserOptions": { + "sourceType": "module" + }, + "plugins": [ + "prettier" + ] + }, + "postcss": { + "plugins": { + "postcss-import": {}, + "tailwindcss": {}, + "autoprefixer": {} + } } } -- cgit v1.2.3