Skip to content

A shareable eslint config for TypeScript which I use

License

Notifications You must be signed in to change notification settings

rilysh/eslint-config-tea

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-config-tea

A shareable eslint config for TypeScript which extends and prettify airbnb eslint config rules.

Install

npm

npm install https://github.com/kiwimoe/eslint-config-tea.git

yarn

yarn add https://github.com/kiwimoe/eslint-config-tea.git

pnpm

pnpm install https://github.com/kiwimoe/eslint-config-tea.git
  • Note: You may need to restart the eslint server after installation.

Usage

// An example using undici fetch
import { fetch, type Response } from "undici";

(async () => {
    const data = await fetch("https://httpbin.org/post", {
        method: "POST",
        headers: {
            Accept: "application/json",
            "Accept-Language": "en-US",
            "Content-Type": "application/json",
        },
    }) as Response;
    const json = await data.json();
    console.log(json as string);
})();

About

A shareable eslint config for TypeScript which I use

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published