npm

@theguild/eslint-config

0.13.0 • Public • Published

@theguild/eslint-config

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

Install

For JavaScript/TypeScript projects

pnpm add -D eslint @theguild/eslint-config

Usage

Extend a @theguild config for JavaScript/TypeScript projects.

// .eslintrc.cjs
module.exports = {
  extends: ['@theguild']
}

React Config

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

// .eslintrc.cjs
module.exports = {
  extends: ['@theguild/eslint-config/react']
}

MDX/Markdown Config

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

// .eslintrc.cjs
module.exports = {
  extends: ['@theguild/eslint-config/mdx']
}

JSON Config

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

// .eslintrc.cjs
module.exports = {
  extends: ['@theguild/eslint-config/json']
}

YAML Config

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

// .eslintrc.cjs
module.exports = {
  extends: ['@theguild/eslint-config/yml']
}

Readme

Keywords

Package Sidebar

Install

npm i @theguild/eslint-config

Weekly Downloads

2,877

Version

0.13.0

License

MIT

Unpacked Size

59.4 kB

Total Files

13

Last publish

Collaborators

  • dotansimha
  • kamilkisiela
  • urigo