1.13.7 • Published 5 years ago

@borealisgroup/eslint-config v1.13.7

Weekly downloads
239
License
MIT
Repository
github
Last release
5 years ago

@borealisgroup/eslint-config

ESLint config for JS linting.

Prerequisites

  • react or node environment
  • usage of jest as the test-suite (if any)
  • if you don't use create-react-app, you have to install eslint

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

Install

Using npm:

yarn -D @borealisgroup/eslint-config

Usage

Create a file .eslintrc.js at the root of your project:

module.exports = {
  extends: '@borealisgroup',
};

If not already done, in your editor (e.g. VSCode):

  • Enable ESLint: Run the linter on type
  • Enable ESLint: Auto Fix on save
  • Disable Editor: Format on save (Prettier)

ESLint

Parser

  • babel-eslint

Plugins

  • airbnb: one of the most widely used code styles for ECMAScript 6+ and React.

Rules

  • TODO

Prettier

This ESLint configuration can work together with prettier, thanks to eslint-plugin-prettier

Why

Why do we need a shared coding style accross the company?

TL;DR - For consistency, productivity and happiness.

Contributing

If you want to modify plugins or general rules in your project, please submit a pull request with a justification instead of overwriting your local config.

See awesome-eslint for more plugins.

1.13.7

5 years ago

1.13.6

5 years ago

1.13.5

5 years ago

1.13.4

5 years ago

1.13.3

5 years ago

1.12.6

5 years ago

1.12.5

5 years ago

1.12.4

6 years ago

1.12.3

6 years ago

1.12.1

6 years ago

1.12.0-alpha.0

6 years ago

1.11.1

6 years ago

1.11.0

6 years ago

1.10.0

6 years ago

1.10.0-alpha.1

6 years ago

1.9.1

6 years ago

1.9.0

6 years ago

1.8.0

6 years ago

1.7.7

6 years ago

1.7.5

6 years ago

1.7.4

6 years ago

1.7.3

6 years ago

1.5.0

6 years ago

1.4.0

6 years ago

1.3.3

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.6

6 years ago

1.2.5

6 years ago

1.2.4

6 years ago

1.2.3

6 years ago

1.2.0

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago