@uberflip/eslint-config
v0.2.0
Published
Shareable eslint configuration for uberflip javascript/typescript projects
Downloads
289
Readme
@uberflip/eslint-config
The uberflip shared eslint config for our typescript/javascript projects.
Installation
Locate the 1Password note labeled NPMJS
for information to the uberflip_noc
account and use that for the following steps:
Login to NPM under the @uberflip npmjs registry
npm login --registry https://registry.npmjs.org --scope @uberflip
pnpm add -D @uberflip/eslint-config
Usage
To use this shared configuration in a repository first install eslint:
pnpm add -D eslint
then add an .eslintrc.js
to your repository with the following contents:
module.exports = {
extends: ['@uberflip/eslint-config'],
};
Notes
This eslint configuration includes prettier
formatting and a configuration for prettier, but if you use an editor extension like prettier-vscode
it won't read the eslint configuration so you may need to add a .prettierrc
symlink to your repository pointing at node_modules/@uberflip/eslint-config/.prettierrc
.
If you use a more general eslint
plugin for your editor, this is likely unnecessary.
Publish
Update the version number and create a PR. Publish will happen automatically when the PR is merged.
Changelog
0.2.0
- Moved to pnpm
- Updated to Node v20
- Updated peer dependencies to minimum ranges
0.1.1
- Updated devDependencies rule
- Added react plugin
0.1.0
- Updated typescript to v5