Package Exports
- eslint-config-gluons
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eslint-config-gluons) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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
[](https://github.com/gluons/eslint-config-gluons)