1.0.8 • Published 2 months ago

@gcoguiec/eslint-config-base v1.0.8

Weekly downloads
-
License
BSD-2-Clause
Repository
github
Last release
2 months ago
  • Single quotes, semicolons.
  • Provides reasonable defaults for any ECMAScript projects (see eslint-config-typescript if you're looking for a TypeScript-oriented configuration).
  • Only does one thing and one thing only: linting.
  • It is designed to cooperate well with auto-formatters.

Table of Contents

Getting Started

Install

pnpm add -D eslint eslint-plugin-import eslint-plugin-promise @gcoguiec/eslint-config-base

Register the configuration with eslint

Edit your .eslintrc configuration file (you may have to create the file at your project root if it's missing) with the following :

{
  "extends": "@gcoguiec/eslint-config-base"
}

(Optional) Add the scripts to your package.json file

{
  "scripts": {
    "lint": "eslint . --ignore-path .gitignore",
    "lint:fix": "pnpm lint --fix"
  }
}

Note: you can replace pnpm by your favorite package manager instead.

(Optional) Add the tasks to your justfile

lint *args:
  pnpm eslint . --ignore-path .gitignore {{args}}

lint-fix:
  @just lint --fix

See Also

Other ESLint configurations based on this package you may want to look at:

License

This package is licensed under BSD 2-Clause.

1.0.8

2 months ago

1.0.7

6 months ago

1.0.6

6 months ago

1.0.5

7 months ago

1.0.4

7 months ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago