@beemo/config-eslint

v2.0.3
ESLint config for Beemo projects.
eslint-config beemo

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',
    },
};
npm i @beemo/config-eslint

Metadata

  • MIT
  • >=14.15.0
  • Miles Johnson
  • released 7/24/2022

Downloads