@mhirba/eslint-config-base
Summary
Overview
A Node.js ESLint configuration for Mhirba source code.
L'exception vient toujours de la raison de la règle. _ Joseph Joubert
Installation
Use Yarn or NPM to install.
❯ yarn add --dev @mhirba/eslint-config-base
or
❯ npm install --save-dev @mhirba/eslint-config-base
Usage
Simple. Basic.
Extends your specific ESLint configuration and add your rules; For example in an .eslintrc.js
file:
module.exports = {
extends: '@mhirba/eslint-config-base',
globals: {
iWantThisGlobal: true
},
rules: {
'linebreak-style': ['error', 'unix'], // https://eslint.org/docs/rules/linebreak-style
}
Credits
Craft with