@fxone/eslint-config
v4.0.0
Published
eslint config
Readme
eslint config
This is a configuration for eslint
Installation
First, install the package:
$ npm install @fxone/eslint-config -D
# or
$ pnpm add @fxone/eslint-config -D
# or
$ yarn add @fxone/eslint-config -DImportant: You must also install ESLint as a peer dependency:
$ npm install eslint -D
# or
$ pnpm add eslint -D
# or
$ yarn add eslint -DAlternatively, use npx install-peerdeps to automatically install peer dependencies:
$ npx install-peerdeps @fxone/eslint-config --devUsage
Create a eslint.config.js file with the following content:
import config from '@fxone/eslint-config';
export default [
...config
];