@baconshake/eslint-config-typescript-base

This package provides Baconshakes's .eslintrc as an extensible shared config.

Usage no npm install needed!

<script type="module">
  import baconshakeEslintConfigTypescriptBase from 'https://cdn.skypack.dev/@baconshake/eslint-config-typescript-base';
</script>

README

@baconshake/eslint-config-typescript-base

This package provides Baconshakes's .eslintrc as an extensible shared config.

It's built upon eslint-config-airbnb-base

Installation

This package has a few peer dependencies. You can install them a few different ways:

npx install-peerdeps @baconshake/eslint-config-typescript-base
npm info "@baconshake/eslint-config-typescript-base" peerDependencies

Or run this script:

(
  export PKG="@baconshake/eslint-config-typescript-base";
  npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG@latest"
)

Usage

In you .eslintrc, simply extend the config.

{
  "extends": ["@baconshake/eslint-config-typescript-base"]
}