Skip to content
eslint-config / 0.0.5

eslint-config 0.0.5

Install from the command line:
Learn more about npm packages
$ npm install @greenroom-robotics/eslint-config@0.0.5
Install via package.json:
"@greenroom-robotics/eslint-config": "0.0.5"

About this version

@greenroom-robotics/eslint-config

Some opinionated style & type rules built on top of eslint-config-standard-typescript-prettier

See ./.eslintrc.js

Install

Install it.

pnpm add -D @greenroom-robotics/eslint-config

Wire it up.

echo "module.exports = require('@greenroom-robotics/eslint-config')" > .eslintrc.js

# OR with react rules...

echo "module.exports = require('@greenroom-robotics/eslint-config/.eslintrc.react')" > .eslintrc.js

Configure .prettierrc.js with something like:

module.exports = {
  ...require('@greenroom-robotics/eslint-config/.prettierrc'),
  semi: false,
}

Done.

How it works

Thanks to require('@rushstack/eslint-patch/modern-module-resolution');, plugins can be included relative to the configs, not the consuming project, so you don't need to install any eslint plugins/config peer dependencies.

Details


Assets

  • eslint-config-0.0.5.tgz

Download activity

  • Total downloads 1,472
  • Last 30 days 597
  • Last week 133
  • Today 49

Recent versions

View all