eslint-config-gluons
v6.1.0
Published
Gluons' personal ESLint shareable config.
Downloads
378
Maintainers
Readme
eslint-config-gluons
gluons' personal ESLint shareable config
A set of my ❤️ favorite rules.
🌤🌨🚀🌨🌨
❄️❄️❄️❄️❄️
❄️❄️❄️❄️❄️
🎄🎄☃⛷🏔
Installation
Via 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](https://img.shields.io/badge/code%20style-gluons-9C27B0.svg?style=flat-square)](https://github.com/gluons/eslint-config-gluons)