innocenzi / eslint-config

Personal ESLint configuration.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ESLint

npm

Personal ESLint configuration for my projects.

npx @preset/cli innocenzi/config --eslint

 

Usage

There are three configurations:

  • @innocenzi/eslint-config/typescript - This is the default, for TypeScript projects.
  • @innocenzi/eslint-config/vue - It extends the TypeScript one, for Vue projects.
  • @innocenzi/eslint-config/basic - If I ever do something without TypeScript.

 

Example

{
	"extends": "@innocenzi/eslint-config"
}

 

Credits

Most of the configuration comes from @antfu/eslint-config. I've been using this for a while with a superset of my own rules, so I've decided to make my own reusable configuration.

About

Personal ESLint configuration.

License:MIT License


Languages

Language:TypeScript 83.8%Language:JavaScript 9.7%Language:Vue 4.7%Language:HTML 0.8%Language:Astro 0.6%Language:CSS 0.3%Language:Svelte 0.2%