@dulgi/eslint-config
v1.1.5
Published
Shareable eslint configs file for TypeScript based React app project
Downloads
3
Maintainers
Readme
@dulgi/eslint-config
Shareable eslint configuration for web apps and libraries.
Install
yarn add @dulgi/eslint-config
Peer Dependencies
You need to install all peer dependencies via the install-peerdepth CLI tool.
$ npx install-peerdeps @dulgi/eslint-config --yarn --only-peers --dev
Title: Fixing the "@typescript-eslint" plugin conflict error
Description: If you see an error message like the one above, type the following command in the terminal:
npm install --save-dev eslint-config-react-app
Usage
Create an '.eslintrc or '.eslintrc.js
file in the root of your project, and extend shareable settings.
module.exports = {
extend: '@dulgi/eslint-config',
// or
extends: [
'@dulgi/eslint-config',
'plugin:cypress/recommended',
//...
],
};