Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lightbase/eslint-config-lightbase

Package Overview
Dependencies
Maintainers
5
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lightbase/eslint-config-lightbase

Eslint configuration that is used by all Lightbase projects.

  • 2.15.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
5
Weekly downloads
 
Created
Source

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",
}

FAQs

Package last updated on 03 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc