@modyo/eslint-config-modyo
ESLint configuration used by Modyo CLI
Last updated 7 days ago by giorgiosaud .
ISC · Repository · Original npm · Tarball · package.json
$ cnpm install @modyo/eslint-config-modyo 
SYNC missed versions from official npm registry.

eslint-config-modyo

This package includes the shareable ESLint configuration used by Modyo CLI.

Usage in Modyo CLI Projects

The easiest way to use this configuration is with Modyo CLI, which includes it by default.

Usage Outside of Modyo CLI Project

First, install this package, ESLint and the necessary plugins.

With npm:

npm install --save-dev eslint-config-react-app babel-eslint@^7.2.3 eslint@^4.1.1 eslint-plugin-flowtype@^2.34.1 eslint-plugin-import@^2.6.0 eslint-plugin-jsx-a11y@^5.1.1 eslint-plugin-react@^7.1.0

With yarn

yarn add eslint-config-react-app babel-eslint@^7.2.3 eslint@^4.1.1 eslint-plugin-flowtype@^2.34.1 eslint-plugin-import@^2.6.0 eslint-plugin-jsx-a11y@^5.1.1 eslint-plugin-react@^7.1.0 --dev

Then create a file named .eslintrc with following contents in the root folder of your project:

{
  "extends": "modyo"
}

That's it! You can override the settings from eslint-config-modyo by editing the .eslintrc file. Learn more about configuring ESLint on the ESLint website.

Current Tags

  • 2.0.1                                ...           latest (7 days ago)

6 Versions

  • 2.0.1                                ...           7 days ago
  • 1.4.2                                ...           22 days ago
  • 1.0.5                                ...           6 months ago
  • 1.0.4                                ...           2 years ago
  • 1.0.3                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 29
Last Day 0
Last Week 11
Last Month 2
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |