ESLint Rules for Mom's Friendly Dev Co.
- Install version 9 or above of eslint + this package
npm i -D eslint @momsfriendlydevco/eslint-config
- Add this template
eslint.config.js
file to the root of your main module / project:
import RulesMFDC from '@momsfriendlydevco/eslint-config';
export default [
{
// Global ignore rules - Do not add any other keys to this object or eslint doesn't treat this as global
ignores: [
'.*',
'docs/',
'dist/',
'node_modules/',
],
},
...RulesMFDC,
]