@drieam/eslint-config

9.1.0 • Public • Published

npm

This package provides Drieam's .eslintrc as an extensible shared config. This package is based on Airbnb's configuration.

Usage

import config from "@drieam/eslint-config";

export default [
  ...config.ESLintTypescript,
  ...config.ESLintReact,
  ...config.ESLintTest,
  ...config.ESLintFormat,
  {
    // config with just ignores is the replacement for `.eslintignore`
    ignores: ["**/node_modules/**", "**/dist/**"],
  },
  // base config
  {
    languageOptions: {
      parserOptions: {
        project: ["./tsconfig.eslint.json"],
      },
    },
    rules: {
      ["@typescript-eslint/no-unsafe-assignment"]: "off",
    }
  }
]

Readme

Keywords

none

Package Sidebar

Install

npm i @drieam/eslint-config

Weekly Downloads

65

Version

9.1.0

License

MIT

Unpacked Size

9.65 kB

Total Files

5

Last publish

Collaborators

  • stef.schenkelaars
  • hbarrientosg
  • drieambot
  • ellya
  • martijnpieters