1.1.0 • Published 3 years ago

@bryan-hoang/eslint-config-base v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@bryan-hoang/eslint-config-base · CI Status npm GitHub license PRs Welcome lerna Conventional Commits Commitizen friendly semantic-release

My approach to JavaScript linting

This package provides my base JavaScript .eslintrc as an extensible shared config.

Installing / Getting started

  1. Installing the packages

If using npm 7+, run

npm install --save-dev @bryan-hoang/eslint-config-base

which will also install its associated peer dependencies.

If not using npm 7+, run the above command and then install the packages listed by the command:

npm info @bryan-hoang/eslint-config-base@latest peerDependencies

If using npm 5+, use this shortcut

npx install-peerdeps --dev @bryan-hoang/eslint-config-base

If using yarn, you can also use the shortcut described above if you have npm 5+ installed on your machine, as the command will detect that you are using yarn and will act accordingly. Otherwise, run npm info "eslint-config-airbnb-base@latest" peerDependencies to list the peer dependencies and versions, then run yarn add --dev <dependency>@<version> for each listed peer dependency.

  1. Extending the configuration

Once the config is installed, add "extends": "@bryan-hoang/eslint-config-base" to your .eslintrc file.

Contributing

Take a look at the README.md and CONTRIBUTING.md for the monorepo.

Licensing

MIT License

Copyright (c) 2021 Bryan Hoang

See LICENSE.