@brudi/eslint-config-brudi
Base [Eslint shareable config](https://eslint.org/docs/developer-guide/shareable-configs) of brudi
Last updated 10 months ago by sandrowyss .
Apache-2.0 · Original npm · Tarball · package.json
$ cnpm install @brudi/eslint-config-brudi 
SYNC missed versions from official npm registry.

eslint-config-brudi

Base Eslint shareable config of brudi

NPM FOSSA Status

Installation

Install the package with

npm install eslint-config-brudi --save-dev

or

yarn add eslint-config-brudi -D

eslint Setup

Now add the config to either the package.json:

{
  "eslintConfig": {
    "extends": ["@brudi/brudi"],
  }
}

or to the .eslintrc or .eslintrc.js:

module.exports = {
  extends: ["@brudi/brudi"],
};

ESLint and Prettier

  • works together with prettier, thanks to eslint-plugin-prettier
  • the ESLint rules are based on the great work of airbnb's eslint-config-airbnb
  • made for React environment but can be used on a eg. node-server environment as well)
  • handles jest for tests as well
  • env: Browser and Node environment
  • globals: added some related jest variables
  • parser: usage of babel (used babel-eslint parser)

Note: you can still overwrite the env, globals and parser in your local .eslintrc.js.

License

FOSSA Status

© brudi, 2019. Licensed under an Apache-2 license.

Current Tags

  • 0.2.1                                ...           latest (10 months ago)

11 Versions

  • 0.2.1                                ...           10 months ago
  • 0.2.0                                ...           10 months ago
  • 0.1.8                                ...           a year ago
  • 0.1.7                                ...           a year ago
  • 0.1.6                                ...           a year ago
  • 0.1.5                                ...           a year ago
  • 0.1.4                                ...           a year ago
  • 0.1.3                                ...           a year ago
  • 0.1.2                                ...           a year ago
  • 0.1.1                                ...           a year ago
  • 0.1.0                                ...           a year ago
Downloads
Today 0
This Week 0
This Month 12
Last Day 0
Last Week 11
Last Month 1
Dev Dependencies (0)
None

Copyright 2014 - 2017 © taobao.org |