@nfq/eslint-config

3.1.3 • Public • Published

eslint-config-nfq

EsLint


  1. Description
  2. Getting started
    1. Installation
    2. PeerDependencies
  3. Usage
  4. Props
  5. Support

Description: License: MIT

This is a comprehensive ESLint configuration used by .NFQ. It includes a wide range of rules for JavaScript, TypeScript, React, and more.

(back to top)


Getting started

To setup the project locally follow the next steps:

Installation

To install the package run

npm install <Project name>

if you are on yarn

yarn add <Project name>

or on pnpm

pnpm install <Project name>

PeerDependencies:

The following PeerDependencies are needed so the component does work:

  • eslint-import-resolver-alias >= 1
  • eslint-plugin-array-func >= 3
  • eslint-plugin-better-styled-components >= 1
  • eslint-plugin-import >= 2
  • eslint-plugin-jsdoc >= 43
  • eslint-plugin-jsx-a11y >= 6
  • eslint-plugin-no-unsanitized >= 4
  • eslint-plugin-node >= 11
  • eslint-plugin-perf-standard >= 1
  • eslint-plugin-promise >= 6
  • eslint-plugin-react >= 7
  • eslint-plugin-react-hooks >= 4
  • eslint-plugin-react-hooks-ssr >= 0.1.5
  • eslint-plugin-redos >= 4
  • eslint-plugin-security >= 1
  • eslint-plugin-sort-destructure-keys >= 1

(back to top)


Usage

After installing the package and its peer dependencies, you can use it in your ESLint configuration file:

{
  "extends": [
    "@nfq"
  ]
}

(back to top)


Rules

This configuration includes a wide range of rules for JavaScript, TypeScript, React, and more. You can find the specific rules in the rules directory.

(back to top)


Support

Christoph Kruppe - [https://github.com/ckruppe] - c.kruppe@nfq.de

(back to top)

Package Sidebar

Install

npm i @nfq/eslint-config

Weekly Downloads

94

Version

3.1.3

License

ISC

Unpacked Size

180 kB

Total Files

31

Last publish

Collaborators

  • nfqdbt