@formsort/eslint-config
Formsort standard ESLint config
Last updated 19 days ago by fzembow .
MIT · Original npm · Tarball · package.json
$ cnpm install @formsort/eslint-config 
SYNC missed versions from official npm registry.

@formsort/eslint-config

Shared ESLint configuration for use across all projects

Usage

  1. Make sure that all of the dependencies in this project's peerDependencies are installed in your respository:
npm install --save-dev eslint-plugin-prefer-arrow eslint-plugin-jsdoc@24 eslint-plugin-prettier eslint-plugin-import prettier eslint-plugin-react @typescript-eslint/eslint-plugin
  1. Ensure that your project has a tsconfig.json in the root.
  2. npm install --save-dev @formsort/eslint-config
  3. Create a .eslintrc in the root with the following content:
module.exports = {
  extends: "@formsort/eslint-config"
};
  1. For convenience, you may want to add the following scripts to your package.json
{
  "scripts": {
    "format": "eslint -c .eslintrc.js --ext .ts,.tsx src --fix",
    "lint": "eslint -c .eslintrc.js --ext .ts,.tsx src",
  }
}

Current Tags

  • 1.1.0                                ...           latest (19 days ago)

4 Versions

  • 1.1.0                                ...           19 days ago
  • 1.0.3-alpha.0                                ...           20 days ago
  • 1.0.2-alpha.0                                ...           20 days ago
  • 1.0.1-alpha.0                                ...           20 days ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 42
Last Day 0
Last Week 4
Last Month 0
Dependencies (3)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |