9.16.0 • Published 3 months ago
react-eslint-standard v9.16.0
⚡react-eslint-standard
quickly start eslint in react.
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',
},
});
9.9.0
7 months ago
9.7.0
7 months ago
9.6.0
8 months ago
9.16.0
3 months ago
9.12.0
6 months ago
9.13.0
5 months ago
9.14.0
5 months ago
9.15.0
5 months ago
9.10.0
7 months ago
9.11.0
6 months ago
9.5.0
8 months ago
9.4.0
9 months ago
9.3.0
9 months ago
9.2.0
10 months ago
9.1.0
10 months ago
9.0.11
11 months ago
9.0.10
11 months ago
9.0.9
11 months ago
9.0.8
11 months ago
9.0.7
11 months ago
9.0.6
11 months ago
9.0.5
11 months ago
9.0.4
11 months ago
9.0.3
11 months ago
9.0.1
11 months ago
9.0.0
11 months ago