2.0.1 • Published 9 months ago

@feedbackfruits/eslint-config v2.0.1

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
9 months ago

FeedbackFruits eslint-config

Shared eslint config for all Node.js/Typescript-based projects

!IMPORTANT eslint-config now requires yarn v4+, make sure to upgrade your local yarn by following these steps: https://yarnpkg.com/getting-started/install

Usage:

yarn add -DE @feedbackfruits/eslint-config

Flat config: eslint.config.mjs

import feedbackfruits from '@feedbackfruits/eslint-config';

export default [
  ...feedbackfruits
];

Legacy config: .eslintrc.json

{
  "extends": "@feedbackfruits"
}

Any rules or extra environments can be overriden by adding the config keys as usual:

Flat config: eslint.config.mjs

import feedbackfruits from '@feedbackfruits/eslint-config';

export default [
  ...feedbackfruits,
  {
    rules: {
      'no-console': 'off'
    }
  }
];

Legacy config:
.eslintrc.json

{
  "extends": "@feedbackfruits",
  "rules": {
    "no-console": "off"
  }
}
2.0.1

9 months ago

2.0.0

9 months ago

1.0.2

2 years ago