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

https://github.com/riot/eslint-config

Riot.js default eslint config file
https://github.com/riot/eslint-config

Last synced: 9 months ago
JSON representation

Riot.js default eslint config file

Awesome Lists containing this project

README

          

# eslint-config-riot

[![Build Status][ci-image]][ci-url]
[![NPM version][npm-version-image]][npm-url]
[![NPM downloads][npm-downloads-image]][npm-url]
[![MIT License][license-image]][license-url]

Riot default eslint config file

## Installation

Peer dependencies installation

```shell
npm i -D eslint@8 eslint-plugin-fp@2 eslint-config-prettier@8 prettier@2
```

Config installation

```shell
npm i -D eslint-config-riot
```

## Usage

Add `"extends": "eslint-config-riot"` to your `.eslintrc` file

[ci-image]: https://img.shields.io/github/actions/workflow/status/riot/eslint-config/test.yml?style=flat-square
[ci-url]: https://github.com/riot/eslint-config/actions
[license-image]: http://img.shields.io/badge/license-MIT-000000.svg?style=flat-square
[license-url]: LICENSE.txt
[npm-version-image]: http://img.shields.io/npm/v/eslint-config-riot.svg?style=flat-square
[npm-downloads-image]: http://img.shields.io/npm/dm/eslint-config-riot.svg?style=flat-square
[npm-url]: https://npmjs.org/package/eslint-config-riot