Beemo - ESLint config
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',
},
};