5.15.15 • Published 2 years ago

@oriflame/eslint-config v5.15.15

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@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