@bryan-hoang/eslint-config-base
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

ESLint's Logo

@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.

/@bryan-hoang/eslint-config-base/

    Package Sidebar

    Install

    npm i @bryan-hoang/eslint-config-base

    Weekly Downloads

    0

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    8.5 kB

    Total Files

    12

    Last publish

    Collaborators

    • bryan-hoang