@alexvyber/eslint-config

0.0.1-dev.2 • Public • Published

@alexvyber/eslint-config

Guild's ESLint shareable configs for linting JavaScript/TypeScript/React projects.

Install

For JavaScript/TypeScript projects

pnpm add -D eslint @alexvyber/eslint-config

Usage

Extend a @alexvyber config for JavaScript/TypeScript projects.

// .eslintrc.cjs
module.exports = {
  extends: ["@alexvyber"],
}

React Config

Extend a @alexvyber/eslint-config/react config for React projects.

// .eslintrc.cjs
module.exports = {
  extends: ["@alexvyber/eslint-config/react"],
}

MDX/Markdown Config

Extend a @alexvyber/eslint-config/mdx config for .md/.mdx files.

// .eslintrc.cjs
module.exports = {
  extends: ["@alexvyber/eslint-config/mdx"],
}

JSON Config

Extend a @alexvyber/eslint-config/json config for .json/.jsonc/.json5 files.

// .eslintrc.cjs
module.exports = {
  extends: ["@alexvyber/eslint-config/json"],
}

YAML Config

Extend a @alexvyber/eslint-config/yml config for .yml/.yaml files.

// .eslintrc.cjs
module.exports = {
  extends: ["@alexvyber/eslint-config/yml"],
}

Readme

Keywords

Package Sidebar

Install

npm i @alexvyber/eslint-config

Weekly Downloads

0

Version

0.0.1-dev.2

License

MIT

Unpacked Size

36.4 kB

Total Files

12

Last publish

Collaborators

  • alexvyber