Standard eslint config for Netzstrategen projects.
Install the configuration and all peer dependencies:
npm install --save-dev @netzstrategen/eslint-config eslint
Create a eslint configuration js file:
.eslintrc.js
module.exports = {
extends: ['@netzstrategen/eslint-config'],
};
Overwrite rules from the default Netzstrategen config:
module.exports = {
extends: ['@netzstrategen/eslint-config'],
rules: {
'no-invalid-this': 'off',
};
}