@oriflame/eslint-config
v5.15.15
Published
Reusable ESLint config for oriflame project
Downloads
1
Readme
@oriflame/eslint-config
Sharable configuration for eslint.
Installation
npm install --save-dev @oriflame/eslint-config eslint
yarn add --dev @oriflame/eslint-config eslint
Usage
.eslintrc.js
:
module.exports = {
root: true,
extends: [
'oriflame',
'oriflame/node',
'oriflame/typescript',
'oriflame/future',
'oriflame/prettier',
],
};
Presets
- oriflame
- Base preset containing bare configuration
- node
- Enable rules for node
- typescript
- Enable support for typescript
- nextjs
- Enable support for next
- future
- Enable esnext support
- prettier
- Enable integration with prettier
- This must be last