https://github.com/gluons/eslint-config-gluons
@gluons' personal @eslint shareable config.
https://github.com/gluons/eslint-config-gluons
eslint eslint-config gluons
Last synced: 2 months ago
JSON representation
@gluons' personal @eslint shareable config.
- Host: GitHub
- URL: https://github.com/gluons/eslint-config-gluons
- Owner: gluons
- License: mit
- Created: 2016-12-16T10:55:08.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-03-08T18:55:29.000Z (over 2 years ago)
- Last Synced: 2024-04-14T04:49:01.264Z (over 2 years ago)
- Topics: eslint, eslint-config, gluons
- Language: TypeScript
- Homepage: https://git.io/eslint-config-gluons
- Size: 2.42 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-config-gluons
[](https://github.com/gluons/eslint-config-gluons/blob/master/LICENSE)
[](https://www.npmjs.com/package/eslint-config-gluons)
[](https://nodejs.org/)
[](https://github.com/gluons/eslint-config-gluons)
[](https://travis-ci.org/gluons/eslint-config-gluons)
[](https://snyk.io/test/github/gluons/eslint-config-gluons?targetFile=package.json)
[gluons](https://github.com/gluons)' personal [ESLint](https://eslint.org/) shareable config
A set of my ❤️ favorite rules.
🌤🌨🚀🌨🌨
❄️❄️❄️❄️❄️
❄️❄️❄️❄️❄️
🎄🎄☃⛷🏔
## Installation
**Via [npm](https://www.npmjs.com):**
[](https://www.npmjs.com/package/eslint-config-gluons)
```bash
npm install -D eslint-config-gluons
```
**Via [pnpm](https://pnpm.js.org/):**
```bash
pnpm install -D eslint-config-gluons
```
**Via [Yarn](https://yarnpkg.com):**
```bash
yarn add -D eslint-config-gluons
```
---
### Using with [TypeScript](https://www.typescriptlang.org)
Install [**TypeScript ESLint**](https://typescript-eslint.io).
**Via [npm](https://www.npmjs.com):**
```bash
npm install -D @typescript-eslint/parser @typescript-eslint/eslint-plugin
```
**Via [pnpm](https://pnpm.js.org/):**
```bash
pnpm install -D @typescript-eslint/parser @typescript-eslint/eslint-plugin
```
**Via [Yarn](https://yarnpkg.com):**
```bash
yarn add -D @typescript-eslint/parser @typescript-eslint/eslint-plugin
```
---
### Using with [Vue](https://vuejs.org)
Install [`eslint-plugin-vue`](https://github.com/vuejs/eslint-plugin-vue).
**Via [npm](https://www.npmjs.com):**
```bash
npm install -D eslint-plugin-vue
```
**Via [pnpm](https://pnpm.js.org/):**
```bash
pnpm install -D eslint-plugin-vue
```
**Via [Yarn](https://yarnpkg.com):**
```bash
yarn add -D eslint-plugin-vue
```
## Usage
**Normal:**
```json
{
"extends": "gluons"
}
```
**ECMAScript 2015+:**
```json
{
"extends": "gluons/esnext"
}
```
**TypeScript:**
```json
{
"extends": "gluons/ts"
}
```
**TypeScript + JavaScript:**
```json
{
"extends": "gluons/mixed"
}
```
**Vue:**
```json
{
"extends": "gluons/vue"
}
```
**Vue + TypeScript:**
```json
{
"extends": "gluons/vue-ts"
}
```
## Badge
[](https://github.com/gluons/eslint-config-gluons)
```markdown
[](https://github.com/gluons/eslint-config-gluons)
```