eslint-config-mainframe
ESLint config for Mainframe projects
Last updated a year ago by paul_lecam .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install eslint-config-mainframe 
SYNC missed versions from official npm registry.

eslint-config-mainframe

Shared ESLint configuration for Mainframe projects.

Installation

# eslint and prettier must be installed as well if not already
yarn add --dev eslint prettier
yarn add --dev eslint-config-mainframe

Usage

In your project's .eslintrc.js file (or alternative configuration), add to the extends array:

module.exports = {
  extends: ['mainframe'],
}

Additional configurations are also available:

  • mainframe/ava when using AVA for tests.
  • mainframe/jest when using Jest for tests.
  • mainframe/jest-puppeteer when using Jest with jest-puppeteer for tests (extends mainframe/jest).
  • mainframe/electron when using Electron.
  • mainframe/flow when using Flow.
  • mainframe/react when using React.
  • mainframe/react-native when using React Native (extends mainframe/react).
  • mainframe/react-native-web when using React Native for Web (extends mainframe/react-native).
  • mainframe/typescript when using TypeScript.

The Prettier configuration can be imported from the eslint-config-mainframe/prettier.config module.

License

MIT.
See LICENSE file.

Current Tags

  • 4.0.1                                ...           latest (a year ago)

16 Versions

  • 4.0.1                                ...           a year ago
  • 4.0.0                                ...           a year ago
  • 3.2.0                                ...           2 years ago
  • 3.1.0                                ...           2 years ago
  • 3.0.0                                ...           2 years ago
  • 2.3.0                                ...           2 years ago
  • 2.2.0                                ...           2 years ago
  • 2.1.0                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
  • 1.4.1                                ...           2 years ago
  • 1.4.0                                ...           2 years ago
  • 1.3.1                                ...           2 years ago
  • 1.3.0                                ...           2 years ago
  • 1.2.0                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Downloads
Today 0
This Week 2
This Month 5
Last Day 0
Last Week 2
Last Month 3
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |