0.0.15 • Published 8 months ago

wescfg v0.0.15

Weekly downloads
-
License
ISC
Repository
github
Last release
8 months ago

Whyhankee's eslint/prettier config

This package provides my ESLint/Prettier config for my projects.

It's kinda newish with the introduction of the flat config, it will need to grow up a little.

Install

Setup peerDependencies

To ensure installation of required peerDependencies, add to .npmrc

auto-install-peers=true

Install wescfg

npm install wescfg

Run init script

npx wescfg [-h] [-f]

  • -h = show help
  • -f = overwrite existing files

This will create the following configuration files:

  • eslint.config.js
  • prettier.config.js
  • .prettierignore
  • .editorconfig

Create scripts in package.json:

"lint": "eslint . --fix",
"format": "prettier --write .",

Adapt

Optionally, update the eslint.config.js to fit your needs.

Implements

  • ESLint standard recommended rules
  • Typescript-eslint recommended rules
  • Prettier integration and rules
  • Some custom ESlint rules
0.0.15

8 months ago

0.0.13

10 months ago

0.0.14

10 months ago

0.0.12

11 months ago

0.0.11

12 months ago

0.0.10

12 months ago

0.0.8

12 months ago

0.0.7

12 months ago

0.0.6

12 months ago

0.0.5

12 months ago

0.0.4

12 months ago

0.0.3

12 months ago

0.0.2

12 months ago

0.0.1

12 months ago