1.0.0 ā€¢ Published 4 years ago

eslint-config-bejoistic v1.0.0

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

This is my ESLint config. It is meant to be used with Prettier and prettier-config-bejoistic. As such, any conflicting stylistic rules have been disabled.

šŸŒ®

Usage in mixed JS & TS environments

Annoyingly, including an override for .ts files in the base config means any project that uses it needs to install TypeScript as a dependency. Boo.

{
  "extends": ["bejoistic"],
  "overrides": [
    {
      "files": ["**/*.ts?(x)"],
      "extends": ["bejoistic/typescript"]
    }
  ]
}