Skip to content

netzstrategen/eslint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Netzstrategen eslint config

Standard eslint config for Netzstrategen projects.

Installation

Install the configuration and all peer dependencies:

npm install --save-dev @netzstrategen/eslint-config eslint

Usage

Create the eslint configuration

Create a eslint configuration js file:

.eslintrc.js

module.exports = {
  extends: ['@netzstrategen/eslint-config'],
};

Modifying the config

Overwrite rules from the default Netzstrategen config:

module.exports = {
  extends: ['@netzstrategen/eslint-config'],
  rules: {
    'no-invalid-this': 'off',
  };
}