0.0.15 • Published 10 months ago

wescfg v0.0.15

Weekly downloads
-
License
ISC
Repository
github
Last release
10 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

10 months ago

0.0.13

12 months ago

0.0.14

12 months ago

0.0.12

1 year ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago