0.0.29 • Published 3 months ago
@vp-tw/eslint-config v0.0.29
@vp-tw/eslint-config
ViPro's ESLint configuration.
- Built on top of antfu/eslint-config.
- Integrates with:
- Fine-tuned to provide an opinionated, optimal DX. Please copy the VSCode settings from eslint-config.code-workspace.
Check here to preview the ESLint inspection.
Installation
pnpm i -D eslint @antfu/eslint-config @vp-tw/eslint-config
Usage
Simlar to antfu/eslint-config but with additional options:
// eslint.config.ts
import { fileURLToPath } from "node:url";
import { includeIgnoreFile } from "@eslint/compat";
import { vdustr } from "@vp-tw/eslint-config";
import path from "pathe";
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const prettierignorePath = path.resolve(__dirname, ".prettierignore");
export default vdustr(
{
// By default, we disable `stylistic` and use `prettier` instead.
// stylistic: true,
storybook: true,
mdx: true,
},
includeIgnoreFile(prettierignorePath),
);
Release
pnpm -w v:patch # or
pnpm -w v:minor # or
pnpm -w v:major
pnpm -r publish
License
MIT © ViPro vdustr@gmail.com (http://vdustr.dev)
0.0.27
3 months ago
0.0.28
3 months ago
0.0.29
3 months ago
0.0.26
4 months ago
0.0.25
4 months ago
0.0.24
4 months ago
0.0.23
4 months ago
0.0.22
5 months ago
0.0.21
5 months ago
0.0.20
5 months ago
0.0.19
5 months ago
0.0.18
5 months ago
0.0.17
5 months ago
0.0.16
5 months ago
0.0.15
5 months ago
0.0.14
5 months ago
0.0.13
5 months ago
0.0.12
5 months ago
0.0.11
5 months ago
0.0.10
5 months ago
0.0.9
5 months ago
0.0.8
5 months ago
0.0.7
5 months ago
0.0.6
5 months ago
0.0.5
5 months ago
0.0.4
5 months ago
0.0.3
5 months ago
0.0.2
5 months ago
0.0.1
5 months ago