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
- Host: GitHub
- URL: https://github.com/riot/eslint-config
- Owner: riot
- License: mit
- Created: 2017-05-01T10:33:16.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2024-02-09T21:26:26.000Z (almost 2 years ago)
- Last Synced: 2024-04-24T13:45:01.030Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 188 KB
- Stars: 5
- Watchers: 5
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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