0.0.1 • Published 12 months ago
eslint-plugin-demo-typescript v0.0.1
Writing a custom ESLint plugin with TypeScript code
This repo is based on the "Writing a custom ESLint plugin with Typescript" Medium article written by Adam Thompson .
Why this repo?
I was expecting to find a link to a repo with the full code explained in Adam's article but I could not find it.
It will be a quick way to browse the full code on its own and possibly to enhance it by fixing issues.
Getting started
Install
pnpm i
Build
pnpm build
Test
pnpm test
NB: In order to use, the RuleTester
from @typescript-eslint/rule-tester
, we must:
- Have a
tsconfig.json
with:
More info can be found on{ "compilerOptions": { "module": "nodenext", "moduleResolution": "nodenext" } }
v6
: Cannot find module@typescript-eslint/*
or its corresponding type declarations.You can use
bundler
,node16
, ornodenext
formoduleResolution
. - Use
eslint
withv8
,typescript-eslint
does not supportv9
yet
Docs (Not working yet)
npx eslint-doc-generator --init-rule-docs
npx eslint-doc-generator
0.0.1
12 months ago
0.0.2-beta.0
12 months ago
0.0.2-beta.1
12 months ago
0.0.1-beta.1
12 months ago
0.0.1-beta.0
12 months ago
0.0.1-alpha.5
12 months ago
0.0.1-alpha.4
1 year ago
0.0.1-alpha.3
1 year ago
0.0.1-alpha.2
1 year ago
0.0.1-alpha.1
1 year ago
0.0.1-alpha.0
1 year ago