This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@lightbase/eslint-config-lightbase

2.15.0 • Public • Published

Eslint config Lightbase

Eslint configuration that is used by all Lightbase projects.

Installation

yarn add -D eslint prettier @lightbase/eslint-config-lightbase

Usage

ESLint

// .eslintrc
{
  // Plain Typescript
  extends: ["@lightbase/eslint-config-lightbase"],
  // React
  extends: ["@lightbase/eslint-config-lightbase/react"],
  // React Native
  extends: ["@lightbase/eslint-config-lightbase/rn"],
}

Prettier

// .prettierrc.js
module.exports = require("@lightbase/eslint-config-lightbase/prettierrc");

Prettier default config

If you don't overwrite the prettier configuration the following wil be used:

{
  printWidth: 110,
  tabWidth: 2,
  singleQuote: false,
  bracketSpacing: true,
  trailingComma: "all",
  arrowParens: "avoid",
  semi: true,
  proseWrap: "always",
}

/@lightbase/eslint-config-lightbase/

    Package Sidebar

    Install

    npm i @lightbase/eslint-config-lightbase

    Weekly Downloads

    3

    Version

    2.15.0

    License

    MIT

    Unpacked Size

    5.37 kB

    Total Files

    7

    Last publish

    Collaborators

    • dirkdev98
    • mathijslightbase
    • owinter86
    • rodymolenaar