@moveaxlab/eslint-config

0.5.1 • Public • Published

Moveax ESLint configuration

Travis (.com) npm (scoped)

This repo contains the default ESLint configuration for Moveax TypeScript projects.

Installation

This package depends on eslint and typescript.

Install the package:

yarn add @moveax/eslint-config

Setup

Create a .eslintrc.js file with the following contents:

module.exports = {
  "extends": ["@moveax"]
}

You can override some rules by adding a rules key to the .eslintrc.js file.

To lint the project, run the following command in your project root folder:

yarn eslint --ext .js,.ts .

To fix errors that are fixable, run the following command in your project root folder:

yarn eslint --ext .js,.ts --fix .

WebStorm integration

To enable eslint in your WebStorm project, go to Settings > Languages & Frameworks > JavaScript > Code Quality Tools > ESLint and select Automatic ESLint configuration.

Readme

Keywords

none

Package Sidebar

Install

npm i @moveaxlab/eslint-config

Weekly Downloads

1

Version

0.5.1

License

MIT

Unpacked Size

4.53 kB

Total Files

5

Last publish

Collaborators

  • gdecicco
  • psenderos
  • lorenzogiustozzi
  • asmeikal
  • simone.bronzini