An ESLint Shareable Config
Create a new annotated tag and push it to github.
git tag -a v1.0.0 -m "Tag comment"
git push origin v1.0.0npm install @3fs/eslint-config eslint
# OR
yarn add @3fs/eslint-config eslintShareable configs are designed to simplify configuration in eslint config files. You can learn more about Shareable Configs on the official ESLint website.
To use this shareable config, first run this:
npm install --save-dev eslint @3fs/eslint-config
# OR
yarn add --dev eslint @3fs/eslint-configThen, add this to your eslint.config.mjs file:
import trifsPreset from '@3fs/eslint-config';
export default [...trifsPreset];You can override settings from the shareable config by adding them as a next element in the array.
@3fsor@3fs/eslint-config/configs/react-ts- React config