1.0.2 • Published 8 months ago

@zrev2220/eslint-config v1.0.2

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

@zrev2220/eslint-config

npm (scoped)

My personal ESLint config.

Works for JavaScript or TypeScript projects, with or without React.

Usage

Install:

npm install --save-dev eslint @zrev2220/eslint-config eslint-config-prettier standard

Create/edit .eslintrc:

{
  "extends": "@zrev2220/eslint-config" // or just "@zrev2220" also works
}

Lint your code:

npx eslint --ignore-path .gitignore --max-warnings 0 "**/*.{js,jsx,ts,tsx}"

See also Using a Shareable Config.