Socket
Socket
Sign inDemoInstall

@babel/eslint-plugin-development

Package Overview
Dependencies
0
Maintainers
4
Versions
24
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @babel/eslint-plugin-development

ESLint rules that enforce best practices in the development of Babel plugins.


Version published
Weekly downloads
104
decreased by-35.8%
Maintainers
4
Install size
31.6 kB
Created
Weekly downloads
 

Changelog

Source

v7.22.10 (2023-08-07)

:bug: Bug Fix
  • babel-plugin-transform-typescript
    • #15799 [ts] Strip type-only namespaces (@nicolo-ribaudo)
    • #15798 [ts] Fix compiling extended exported nested namespace (@nicolo-ribaudo)
  • babel-helper-create-class-features-plugin, babel-plugin-proposal-decorators, babel-plugin-proposal-destructuring-private, babel-plugin-transform-class-properties, babel-plugin-transform-class-static-block, babel-plugin-transform-new-target, babel-plugin-transform-private-methods, babel-preset-env
    • #15701 Memoize class binding when compiling private methods and static elements (@JLHwung)
:nail_care: Polish
  • babel-cli
  • babel-traverse, babel-types
  • babel-generator, babel-types
:house: Internal
  • Other
  • babel-cli, babel-core, babel-generator, babel-helper-builder-react-jsx, babel-preset-env, babel-standalone
    • #15794 Enable @typescript-eslint/no-redundant-type-constituents rule (@JLHwung)
  • babel-helper-compilation-targets
  • babel-parser
  • babel-plugin-transform-runtime, babel-traverse, babel-types
:microscope: Output optimization
  • babel-plugin-transform-block-scoping, babel-plugin-transform-parameters, babel-plugin-transform-regenerator

Readme

Source

@babel/eslint-plugin-development

A set of eslint rules to enforce best practices in the development of Babel plugins.

Installation

You'll first need to install ESLint:

$ npm install --save-dev eslint

Next, install @babel/eslint-plugin-development:

$ npm install --save-dev @babel/eslint-plugin-development

Then, load the plugin in your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
  "plugins": ["@babel/development"]
}

Supported Rules

Note Rules marked with :wrench: are autofixable.

  • @babel/development/no-deprecated-clone (:wrench:): Disallows using the deprecated t.clone(node) and t.cloneDeep(node) methods from @babel/types. Those calls are replaced with t.cloneNode(node) when using eslint --fix.
  • @babel/development/no-undefined-identifier: Disallows using t.identifier("undefined") to create a node which represents an undefined value, since it might cause problem if undefined is redeclared.
  • @babel/development/plugin-name: Requires plugins to have a name property, which can be useful for debugging purposes.

Keywords

FAQs

Last updated on 07 Aug 2023

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc