1.4.2 • Published 2 years ago

@nos-futurs/eslint-config v1.4.2

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

ESlint Configuration

This ESlint configuration should always be installed with its peer dependencies.

Prettier is used as a ESlint plugin to avoid the need to create a .prettierrc file in each project.

Install

pnpm i -D @nos-futurs/eslint-config

Don't forget to have a .npmrc file in your project, with the following content:

auto-install-peers=true

Usage

JS

Create a .eslintrc.js file in your project with the following content:

module.exports = {
  "extends": "@nos-futurs/eslint-config",
}

TS

Create a .eslintrc.js file in your project with the following content:

module.exports = {
  "extends": "@nos-futurs/eslint-config/ts",
  parser: '@typescript-eslint/parser',
  parserOptions: {
    project: 'tsconfig.json',
    sourceType: 'module',
  },
}
1.4.2

2 years ago

1.4.1

2 years ago

1.4.0

2 years ago

1.3.0

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.5

2 years ago

1.0.0

2 years ago