diff options
| author | seth <[email protected]> | 2023-05-20 02:32:33 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-05-20 02:32:33 -0400 |
| commit | 63c4f174c849a41eb0c2b5fc7470151dd1f0277c (patch) | |
| tree | c7bd858968011af86cf0475dd97754e78216c937 | |
| parent | ca06db6a1ff46672f4a9da29f15e89f161b10fe8 (diff) | |
move eslint/postcss configs to package.json
| -rw-r--r-- | .eslintrc.json | 11 | ||||
| -rw-r--r-- | package.json | 28 | ||||
| -rw-r--r-- | pnpm-lock.yaml | 13 | ||||
| -rw-r--r-- | postcss.config.cjs | 7 |
4 files changed, 40 insertions, 19 deletions
diff --git a/.eslintrc.json b/.eslintrc.json deleted file mode 100644 index eb253c3..0000000 --- a/.eslintrc.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "extends": ["eslint:recommended", "plugin:prettier/recommended"], - "env": { - "es6": true, - "node": true - }, - "rules": { - "prettier/prettier": "error" - }, - "plugins": ["prettier"] -} 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": {} + } } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a026589..262bc25 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4,6 +4,9 @@ devDependencies: "@astrojs/tailwind": specifier: ^3.1.2 version: 3.1.2([email protected])([email protected]) + "@astrojs/ts-plugin": + specifier: ^1.0.6 + version: 1.0.6 "@catppuccin/tailwindcss": specifier: ^0.1.1 version: 0.1.1 @@ -164,6 +167,16 @@ packages: - supports-color dev: true + /@astrojs/[email protected]: + resolution: + { + integrity: sha512-1fx9Dtfowklhphva/PeijdDoYvUBPYwkCk7dqk04xAjwmv6tWrrsU8xZMfQ1JWUtT2RnciaSagggP6w0PFb1Ig==, + } + dependencies: + "@astrojs/compiler": 1.4.2 + "@jridgewell/trace-mapping": 0.3.18 + dev: true + /@astrojs/[email protected]: resolution: { diff --git a/postcss.config.cjs b/postcss.config.cjs deleted file mode 100644 index 7648842..0000000 --- a/postcss.config.cjs +++ /dev/null @@ -1,7 +0,0 @@ -module.exports = { - plugins: { - "postcss-import": {}, - tailwindcss: {}, - autoprefixer: {}, - }, -}; |
