@btmills/eslint-config-react
v0.0.1
Published
My personal ESLint shareable configurations.
Readme
@btmills/eslint-config-react
My personal ESLint shareable configurations.
Installation
npm install --save-dev eslint @btmills/eslint-config-js @btmills/eslint-config-reactUsage
Add the following to your project's eslint.config.ts:
import { defineConfig } from 'eslint/config';
import { es2024 } from '@btmills/eslint-config-js';
import { react } from '@btmills/eslint-config-react';
// Optional:
import { browser } from '@btmills/eslint-config-js';
export default defineConfig({
extends: [
es2024, // Or any other ES version
react,
browser, // Optional
],
files: [
// ...
],
// ...more config as needed
});License
MIT © Brandon Mills
