Skip to content

gluons/eslint-config-gluons

Repository files navigation

eslint-config-gluons

license npm node ESLint Travis branch Known Vulnerabilities

gluons' personal ESLint shareable config

A set of my ❤️ favorite rules.


🌤🌨🚀🌨🌨
❄️❄️❄️❄️❄️
❄️❄️❄️❄️❄️
🎄🎄☃⛷🏔


Installation

Via npm:

NPM

npm install -D eslint-config-gluons

Via pnpm:

pnpm install -D eslint-config-gluons

Via Yarn:

yarn add -D eslint-config-gluons

Using with TypeScript

Install TypeScript ESLint.

Via npm:

npm install -D @typescript-eslint/parser @typescript-eslint/eslint-plugin

Via pnpm:

pnpm install -D @typescript-eslint/parser @typescript-eslint/eslint-plugin

Via Yarn:

yarn add -D @typescript-eslint/parser @typescript-eslint/eslint-plugin

Using with Vue

Install eslint-plugin-vue.

Via npm:

npm install -D eslint-plugin-vue

Via pnpm:

pnpm install -D eslint-plugin-vue

Via Yarn:

yarn add -D eslint-plugin-vue

Usage

Normal:

{
	"extends": "gluons"
}

ECMAScript 2015+:

{
	"extends": "gluons/esnext"
}

TypeScript:

{
	"extends": "gluons/ts"
}

TypeScript + JavaScript:

{
	"extends": "gluons/mixed"
}

Vue:

{
	"extends": "gluons/vue"
}

Vue + TypeScript:

{
	"extends": "gluons/vue-ts"
}

Badge

ESLint Gluons

[![ESLint Gluons](https://img.shields.io/badge/code%20style-gluons-9C27B0.svg?style=flat-square)](https://github.com/gluons/eslint-config-gluons)