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

eslint-plugin-baseui

Package Overview
Dependencies
Maintainers
1
Versions
711
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-baseui

ESLint rules for Base Web

  • 9.52.2
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

eslint-plugin-baseui

This ESLint plugin is for developers using the Base Web component library. Mainly it attempts to:

  • Identify usage of deprecated APIs
  • Identify usage of unsupported exports
  • Identify improper usage of components

Installation

Assuming you already have ESLint installed, run:

# npm
npm install eslint-plugin-baseui --save-dev

# yarn
yarn add eslint-plugin-baseui --dev

Then add it to your ESLint configuration:

{
  "plugins": [
    // ...
    "baseui",
  ],
  "rules": {
    // ...
    'baseui/deprecated-theme-api': "warn",
    'baseui/deprecated-component-api': "warn",
    'baseui/no-deep-imports': "warn",
  }
}

Versioning

To get linting specific to your version of baseui, simply install the matching version of eslint-plugin-baseui.

{
  "dependencies": {
    "baseui": "9.41.0",
  },
  "devDependencies": {
    "eslint-plugin-baseui": "9.41.0",
  }
}

We sync the the versions for each package so you shouldn't have to worry about it.

ℹ️ Note that the first available version of this package is 9.41.0.

Rules

RuleResponsibility
deprecated-theme-apiIdentify theme properties that are deprecated.
deprecated-component-apiIdentify components and props that are deprecated.
no-deep-importsIdentify importing unsupported modules from baseui source code.

Contributing

To publish new versions of this package all you need to do is release a new version of baseui. Our deploy script will publish a new version of the eslint plugin which matches the new version of baseui. Note, this also means every version of baseui will publish a cooresponding version of eslint-plugin-baseui, even if there are no changes to the package.

License

MIT

Keywords

FAQs

Package last updated on 12 Feb 2020

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