Skip to content

indec-it/eslint-config-indec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESLint-config-indec

To use this ESLint config file follow these instructions:

Installation

Install ESLint either locally or globally.

$ npm install eslint --save-dev

If you installed ESLint globally, you have to install the Indec configuration globally too. Otherwise, install it locally.

$ npm install eslint-config-indec --save-dev

Configuration

Create a .eslintrc.json file in the root folder of your project then add the following code:

{
  "extends": "indec"
}

Configuration for React

If you work with React you can use the react configuration:

{
  "extends": "indec/react"
}

Configuration for AngularJS

If you work with React you can use the angular configuration:

{
  "extends": "indec/angular"
}

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published