react-eslint-standard
TypeScript icon, indicating that this package has built-in type declarations

9.22.0 • Public • Published

⚡react-eslint-standard

quickly start eslint in react.

npm version Alt Vite Version Alt

install

npm i react-eslint-standard -D

eslint.config.js

import { defineConfig } from 'react-eslint-standard';

export default defineConfig();

.prettierrc.js

/**
 * @type {import("prettier").Config}
 */
export default {
  singleQuote: true,
  trailingComma: 'all',
  bracketSameLine: true,
  endOfLine: 'auto',
};

custom configuration

import { defineConfig } from 'react-eslint-standard';
import tseslint from 'typescript-eslint';

export default defineConfig({
  extends: [...tseslint.configs.recommended, ...tseslint.configs.strict],
  rules: {
    '@typescript-eslint/no-empty-function': 'off',
    '@typescript-eslint/no-empty-object-type': 'off',
  },
});

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
9.22.07latest

Version History

VersionDownloads (Last 7 Days)Published
9.22.07
9.21.02
9.20.02
9.18.00
9.17.00
9.16.00
9.15.00
9.14.00
9.13.00
9.12.00
9.11.00
9.10.00
9.9.00
9.7.01
9.6.00
9.5.01
9.4.00
9.3.00
9.2.00
9.1.00
9.0.110
9.0.100
9.0.90
9.0.80
9.0.70
9.0.60
9.0.50
9.0.40
9.0.30
9.0.10
9.0.00

Package Sidebar

Install

npm i react-eslint-standard

Weekly Downloads

13

Version

9.22.0

License

MIT

Unpacked Size

6.6 kB

Total Files

5

Last publish

Collaborators

  • mivui