Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danielhuang/eslint-config-lemon
Opinionated ESLint configuration for JavaScript, TypeScript, JSX, and more
https://github.com/danielhuang/eslint-config-lemon
javascript jsx lints typescript
Last synced: 5 days ago
JSON representation
Opinionated ESLint configuration for JavaScript, TypeScript, JSX, and more
- Host: GitHub
- URL: https://github.com/danielhuang/eslint-config-lemon
- Owner: danielhuang
- Created: 2019-10-27T18:44:42.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-21T15:31:32.000Z (6 months ago)
- Last Synced: 2024-05-21T16:46:13.214Z (6 months ago)
- Topics: javascript, jsx, lints, typescript
- Language: JavaScript
- Homepage:
- Size: 2.76 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Linter for JavaScript, TypeScript, JSX, and more
[![Build Status](https://travis-ci.com/danielhuang/eslint-config-lemon.svg?branch=master)](https://travis-ci.com/danielhuang/eslint-config-lemon) ![Build Status](https://img.shields.io/badge/code%20style-lemon-yellow)
Opinionated ESLint configuration with lots of goodies included. Enforces strict and readable code. Never discuss code style on a pull request again! No decision-making. It just works!
## Features
- Zero-config with easy installation.
- Enforces readable code, because you read more code than you write.
- No need to specify file paths to lint as it lints all JS files except for commonly ignored paths.
- Includes `prettier` with automatic formatting.
- Compatible with editor plugins.## Installation
### Automatic installation
```sh
npx add-eslint # for JavaScript and JSX
npx add-eslint --ts # for TypeScript
npx add-eslint --tsx # for TypeScript + React
```### Manual installation
Install `eslint-config-lemon` to your project:
```sh
cotton add -D eslint-config-lemon
npm i -D eslint-config-lemon
yarn add -D eslint-config-lemon
```