eslint-config-welcome
ESLint proposed configuration for Welcome Pickups JavaScript projects
Last updated a month ago by igneel64 .
GPL-3.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install eslint-config-welcome 
SYNC missed versions from official npm registry.

eslint-config-welcome

ESLint proposed configuration for Welcome Pickups JavaScript projects

Include these rules in your project

Installation

Run npm install -D eslint prettier eslint-config-welcome babel-eslint

To use these rules on your project, add the Welcome Pickups configuration on your .eslintrc file.

.eslintrc

{
  "extends": "eslint-config-welcome",
  "parser": "babel-eslint"
}

Contributing

All rules are grouped by concern under src/rules, please add or edit rules there. The main index.js file is generated on build and is used only by NPM.

The code is transpiled using bublé-rollup.

Prettier proposed rules

At Welcome Pickups we use a standard set of Prettier rules for our JavaScript code, along with the ESLint setup, which you can find below and add on your .prettierrc file in the top level of your project.

.prettierrc

{
  "trailingComma": "es5",
  "tabWidth": 2,
  "semi": true,
  "singleQuote": false,
  "bracketSpacing": true,
  "arrowParens": "always"
}

Current Tags

  • 1.1.1                                ...           latest (a month ago)

4 Versions

  • 1.1.1                                ...           a month ago
  • 1.1.0                                ...           2 months ago
  • 1.0.1                                ...           7 months ago
  • 1.0.0                                ...           7 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 17
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |