Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/moox/eslint-config-i-am-meticulous
An ESLint shareable config for very meticulous people
https://github.com/moox/eslint-config-i-am-meticulous
eslint eslint-config eslint-configs flow react
Last synced: 3 days ago
JSON representation
An ESLint shareable config for very meticulous people
- Host: GitHub
- URL: https://github.com/moox/eslint-config-i-am-meticulous
- Owner: MoOx
- License: mit
- Archived: true
- Created: 2016-01-03T19:54:39.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-02-11T18:20:07.000Z (almost 3 years ago)
- Last Synced: 2024-09-28T01:20:15.206Z (4 months ago)
- Topics: eslint, eslint-config, eslint-configs, flow, react
- Language: JavaScript
- Size: 448 KB
- Stars: 32
- Watchers: 4
- Forks: 6
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-config-i-am-meticulous
> An ESLint shareable config for meticulous people.
[![Travis (Unix) Build Badge](https://img.shields.io/travis/MoOx/eslint-config-i-am-meticulous/master.svg?label=unix%20build)](https://travis-ci.org/MoOx/eslint-config-i-am-meticulous)
[![Repo on GitHub](https://img.shields.io/badge/repo-GitHub-3D76C2.svg)](https://github.com/MoOx/eslint-config-i-am-meticulous)
[![Repo on GitLab](https://img.shields.io/badge/repo-GitLab-6C488A.svg)](https://gitlab.com/MoOx/eslint-config-i-am-meticulous)
[![Repo on BitBucket](https://img.shields.io/badge/repo-BitBucket-1F5081.svg)](https://bitbucket.org/MoOx/eslint-config-i-am-meticulous)⚠️ **This config does not contain rules for code style.** We recommend you to
use [prettier](https://github.com/prettier/prettier).If you have any question about a rule or want to discuss about it, please open
an issue.## Install
```console
npm i -D eslint eslint-config-i-am-meticulous
```Note that the default config require
[eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import)## Usage
### Notes
- This config extends `eslint:recommended`.
- You will need to adjust configuration syntax depending on your configuration
location (`package.json` or `.eslintrc`).
- You might need to use `babel-eslint` if you use babel with fresh ES stages.### Meticulous modern ES
Add to your eslint configuration (here, in `package.json`)
```json
{
"eslintConfig": {
"extends": "eslint-config-i-am-meticulous"
}
}
```### Flow
To use the meticulous [flow](https://github.com/facebook/react) rule set (that
extends the default one):_This rule set require babel-eslint._
```console
npm i -D eslint babel-eslint eslint-plugin-flowtype eslint-config-i-am-meticulous
``````json
{
"eslintConfig": {
"parser": "babel-eslint",
"extends": "eslint-config-i-am-meticulous/flow"
}
}
```### React
To use the meticulous [React](https://github.com/facebook/react) rule set (that
extends the default one):```console
npm i -D eslint eslint-plugin-react eslint-config-i-am-meticulous
``````json
{
"eslintConfig": {
"extends": "eslint-config-i-am-meticulous/react"
}
}
```### React + Flow
To use the meticulous [React](https://github.com/facebook/react) +
[flow](https://github.com/facebook/react) rule set (that extends the default
one):_This rule set require babel-eslint._
```console
npm i -D eslint babel-eslint eslint-plugin-flowtype eslint-config-i-am-meticulous
``````json
{
"eslintConfig": {
"parser": "babel-eslint",
"extends": "eslint-config-i-am-meticulous/react-flow"
}
}
```_This rule set is a combination of react and flow rule sets but add a tiny
change to support props and state property initializers to be added at the top
of classes (react/sort-comp default configuration does not allow that)._### React-Native
To use the meticulous [React-Native](https://github.com/facebook/react-native)
rule set (that extends the default React and Flow ones):```console
npm i -D eslint eslint-plugin-react eslint-plugin-react-native eslint-plugin-flowtype eslint-config-i-am-meticulous
``````json
{
"eslintConfig": {
"extends": "eslint-config-i-am-meticulous/react-native"
}
}
```### Old ES5
To use the meticulous ES5 rule set (that extends the default one):
```console
npm i -D eslint eslint-plugin-react eslint-config-i-am-meticulous
``````json
{
"eslintConfig": {
"extends": "eslint-config-i-am-meticulous/es5"
}
}
```---
## CONTRIBUTING
- ⇄ Pull requests and ★ Stars are always welcome.
- For bugs and feature requests, please create an issue.
- Pull requests must be accompanied by passing automated tests (`$ npm test`).## [CHANGELOG](CHANGELOG.md)
## [LICENSE](LICENSE)