An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# eslint-config-gluons
[![license](https://img.shields.io/github/license/gluons/eslint-config-gluons.svg?style=flat-square)](https://github.com/gluons/eslint-config-gluons/blob/master/LICENSE)
[![npm](https://img.shields.io/npm/v/eslint-config-gluons.svg?style=flat-square)](https://www.npmjs.com/package/eslint-config-gluons)
[![node](https://img.shields.io/node/v/eslint-config-gluons.svg?style=flat-square)](https://nodejs.org/)
[![ESLint](https://img.shields.io/badge/ESLint%20Config-gluons-463FD4.svg?style=flat-square)](https://github.com/gluons/eslint-config-gluons)
[![Travis branch](https://img.shields.io/travis/gluons/eslint-config-gluons/master.svg?style=flat-square)](https://travis-ci.org/gluons/eslint-config-gluons)
[![Known Vulnerabilities](https://snyk.io/test/github/gluons/eslint-config-gluons/badge.svg?targetFile=package.json&style=flat-square)](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):**

[![NPM](https://nodei.co/npm/eslint-config-gluons.png?compact=true)](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

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

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