0.0.3 • Published 5 years ago

@futurevisuals/eslint-config v0.0.3

Weekly downloads
13
License
ISC
Repository
github
Last release
5 years ago

This package contains all the ESLint configurations used within the Future Visuals organization.

Installation

Simply run the following command:

npm i -D @futurevisuals/eslint-config

Configuration

Currently we're using the following configurations depending on the needs/stack of the project.

Typescript

To use the ESLint config we used for vanillla Typescript projects run:

{
    extends: ['@futurevisuals/eslint-config/typescript']
}

This config already extends the following ones:

{
    extends: [
      'eslint:recommended',
      'plugin:@typescript-eslint/recommended'
    ]
}

Typescript React

To use the ESLint config we used for Typescript React projects run:

{
  extends: ['@futurevisuals/eslint-config/typescriptreact']
}

This config already extends the following ones:

{
  extends: [
    'eslint:recommended',
    'plugin:@typescript-eslint/recommended',
    'plugin:react/recommended',
    'plugin:react-hooks/recommended',
    'plugin:@typescript-eslint/recommended',
    'plugin:jsx-a11y/recommended'
  ]
}

Javascript React

To use the ESLint config we used for Javascript React projects run:

{
    extends: ['@futurevisuals/eslint-config/typescriptreact']
}

This config already extends the following ones:

{
  extends: [
    "eslint:recommended",
    "plugin:react/recommended",
    "plugin:react-hooks/recommended",
    "plugin:jsdoc/recommended"
  ],
}
0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago