eslint-config-welcome

1.1.1 • Public • Published

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"
}

Readme

Keywords

Package Sidebar

Install

npm i eslint-config-welcome

Weekly Downloads

5

Version

1.1.1

License

GPL-3.0

Unpacked Size

40.9 kB

Total Files

8

Last publish

Collaborators

  • igneel64