Sharable ESLint config for Liatrio's JavaScript projects.
$ npm install @liatrio/eslint-config -D
$ yarn add @liatrio/eslint-config -D
You can use this config by invoking it with the extends
property:
.eslintrc.js
module.exports = {
extends: "@liatrio/eslint-config",
rules: {
// enable additional rules, or disable the rules you don't like
},
};
.eslintrc.yaml
extends:
- "@liatrio/eslint-config"
rules:
# enable additional rules, or disable the rules you don't like