0.4.4 • Published 3 months ago

@mcous/eslint-config v0.4.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

@mcous/eslint-config

My common ESLint configuration.

Install

Install, allowing peer dependencies to be resolved by your package manager:

npm install --save-dev @mcous/eslint-config eslint

Install, with peer dependencies explicitly specified:

npm install --save-dev \
  @mcous/eslint-config \
  @typescript-eslint/eslint-plugin \
  @typescript-eslint/parser \
  eslint \
  eslint-config-prettier \
  eslint-plugin-promise \
  eslint-plugin-sonarjs \
  eslint-plugin-unicorn

Usage

Use the base config for vanilla JavaScript / TypeScript projects. Be sure to add your tsconfig.json files to parserOptions.project.

// .eslintrc.cjs
'use strict'

module.exports = {
  root: true,
  extends: '@mcous/eslint-config',
  parserOptions: {
    project: './tsconfig.json',
  },
}
0.4.4

3 months ago

0.4.3

4 months ago

0.3.0

10 months ago

0.2.1

10 months ago

0.2.0

10 months ago

0.4.1

6 months ago

0.3.2

8 months ago

0.4.0

7 months ago

0.3.1

8 months ago

0.4.2

6 months ago

0.3.3

7 months ago

0.1.0

12 months ago