@beemo/config-eslint
TypeScript icon, indicating that this package has built-in type declarations

2.0.3 • Public • Published

Beemo - ESLint config

Build Status npm version npm deps

An official Beemo ESLint config based on eslint-config-beemo.

yarn install --dev eslint @beemo/core @beemo/driver-eslint @beemo/config-eslint

Setup

Create a configs/eslint.ts file in your Beemo configuration module that re-exports this config.

export { default } from '@beemo/config-eslint';

Settings

The following Beemo settings can be defined and will be passed to the config.

  • node (boolean) - Denote as a Node.js project. Defaults to false.
  • react (boolean | classic | automatic) - Enable React rules. Defaults to false.
export default {
	module: '<config-module>',
	drivers: ['eslint'],
	settings: {
		react: 'automatic',
	},
};

Readme

Keywords

Package Sidebar

Install

npm i @beemo/config-eslint

Weekly Downloads

13,458

Version

2.0.3

License

MIT

Unpacked Size

5.81 kB

Total Files

9

Last publish

Collaborators

  • beemo-admin
  • milesj