This is my personal configuration for eslint. I designed it to write clean and readable code according to my tastes.
Note: this package doesn't provide any
env
, you have to add them in your config
In order to use this configuration in your project you have to install this as a dependency:
npm install --save-dev eslint-config-lilium
and then you can just add this to your .eslintrc.*
(in this case a js file) file:
module.exports = {
extends: ['lilium']
}
This package is fully modular, this means that you can import the entire config or just the parts that you want.
exnteds: [
'lilium', // Extends the entire package
'lilium/rules/es6' // Extends only the es6 set of rules
]
To see all the available modules, you just have to take a look at code folder structure.