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

@blueprintjs/eslint-plugin

Package Overview
Dependencies
Maintainers
1
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blueprintjs/eslint-plugin - npm Package Compare versions

Comparing version 5.1.1 to 5.1.2

2

lib/rules/no-deprecated-components/no-deprecated-components.d.ts

@@ -1,2 +0,2 @@

import { TSESLint } from "@typescript-eslint/utils";
import type { TSESLint } from "@typescript-eslint/utils";
/**

@@ -3,0 +3,0 @@ * This rule checks a hardcoded list of components that Blueprint is actively migrating to a newer version (e.g. v1 -> v2)

@@ -1,2 +0,2 @@

import { TSESLint } from "@typescript-eslint/utils";
import type { TSESLint } from "@typescript-eslint/utils";
export declare const coreComponentsMigrationMapping: {};

@@ -3,0 +3,0 @@ /**

@@ -1,2 +0,2 @@

import { TSESLint } from "@typescript-eslint/utils";
import type { TSESLint } from "@typescript-eslint/utils";
export declare const datetimeComponentsMigrationMapping: {

@@ -3,0 +3,0 @@ DateInput: string;

@@ -1,2 +0,2 @@

import { TSESLint } from "@typescript-eslint/utils";
import type { TSESLint } from "@typescript-eslint/utils";
export declare const datetime2ComponentsMigrationMapping: {

@@ -3,0 +3,0 @@ DateInput2: string;

@@ -1,2 +0,2 @@

import { TSESLint } from "@typescript-eslint/utils";
import type { TSESLint } from "@typescript-eslint/utils";
export declare const selectComponentsMigrationMapping: {};

@@ -3,0 +3,0 @@ /**

@@ -1,2 +0,2 @@

import { TSESLint } from "@typescript-eslint/utils";
import type { TSESLint } from "@typescript-eslint/utils";
export declare const tableComponentsMigrationMapping: {};

@@ -3,0 +3,0 @@ /**

@@ -1,2 +0,2 @@

import { TSESLint } from "@typescript-eslint/utils";
import { type TSESLint } from "@typescript-eslint/utils";
export declare const noDeprecatedTypeReferencesRule: TSESLint.RuleModule<"migration", [], TSESLint.RuleListener>;

@@ -1,2 +0,2 @@

import { TSESLint } from "@typescript-eslint/utils";
import type { TSESLint } from "@typescript-eslint/utils";
type RuleFix = TSESLint.RuleFix;

@@ -3,0 +3,0 @@ export declare class FixList {

{
"name": "@blueprintjs/eslint-plugin",
"version": "5.1.1",
"version": "5.1.2",
"description": "ESLint rules for use with @blueprintjs packages",

@@ -19,5 +19,5 @@ "main": "lib/index.js",

"devDependencies": {
"@blueprintjs/node-build-scripts": "^8.0.3",
"@swc-node/register": "^1.6.7",
"@swc/core": "^1.3.80",
"@blueprintjs/node-build-scripts": "^8.0.4",
"@swc-node/register": "^1.6.8",
"@swc/core": "^1.3.92",
"@types/dedent": "~0.7.0",

@@ -24,0 +24,0 @@ "@typescript-eslint/rule-tester": "^6.7.4",

@@ -25,5 +25,3 @@ <img height="204" src="https://cloud.githubusercontent.com/assets/464822/20228152/d3f36dc2-a804-11e6-80ff-51ada2d13ea7.png">

{
"plugins": [
"@blueprintjs"
]
"plugins": ["@blueprintjs"]
}

@@ -38,5 +36,3 @@ ```

{
"extends": [
"plugin:@blueprintjs/recommended"
]
"extends": ["plugin:@blueprintjs/recommended"]
}

@@ -66,3 +62,3 @@ ```

__Rationale__: This is useful to avoid typos in styling or creating Blueprint components, and also helps future-proof your code for major
**Rationale**: This is useful to avoid typos in styling or creating Blueprint components, and also helps future-proof your code for major
version bumps of Blueprint where the class namespace (e.g. `bp5-`) changes.

@@ -73,3 +69,3 @@

"rules": {
"@blueprintjs/classes-constants":"error"
"@blueprintjs/classes-constants": "error"
}

@@ -79,3 +75,3 @@ }

__Has auto-fixer__: ✅
**Has auto-fixer**: ✅

@@ -97,5 +93,5 @@ ```diff

__Rationale__: This is uesful to ensure consistent styling of common typographic elements and other basic markup.
**Rationale**: This is uesful to ensure consistent styling of common typographic elements and other basic markup.
__Has auto-fixer__: ✅
**Has auto-fixer**: ✅

@@ -112,3 +108,3 @@ ```json

:warning: DEPRECATED: this rule is no longer recommended. Icons modularity / tree shaking will be a first-class feature of Blueprint v5.0.
:warning: DEPRECATED: this rule is no longer recommended. Icons modularity / tree shaking is a first-class feature of Blueprint v5.x.

@@ -153,19 +149,19 @@ Enforce usage of JSX `Icon` components instead of `IconName` string literals (or vice-versa) in `icon` JSX props.

- AbstractComponent
- AbstractPureComponent
- Breadcrumbs
- CollapsibleList
- DateInput
- DateRangeInput
- DateTimePicker
- MenuItem
- MultiSelect
- PanelStack
- Popover
- Select
- Suggest
- TimezonePicker
- Tooltip
- AbstractComponent
- AbstractPureComponent
- Breadcrumbs
- CollapsibleList
- DateInput
- DateRangeInput
- DateTimePicker
- MenuItem
- MultiSelect
- PanelStack
- Popover
- Select
- Suggest
- TimezonePicker
- Tooltip
__Rationale__: Many Blueprint components have "V2" variants as a part of their natural API evolution.
**Rationale**: Many Blueprint components have "V2" variants as a part of their natural API evolution.
Blueprint consumers are recommended to migrate from the deprecated V1 components to their newer V2 counterparts

@@ -184,3 +180,3 @@ in order to future-proof their code for the next major version of Blueprint, where the V2 components will become the

__Rationale__: In migrations of large code bases, it may be useful to apply more granular rule configuration of
**Rationale**: In migrations of large code bases, it may be useful to apply more granular rule configuration of
"no-deprecated-components" to make incremental progress towards the newer APIs. This allows you, for example, to flag

@@ -195,3 +191,3 @@ deprecated `@blueprintjs/core` component usage as errors while allowing deprecated components from other packages

__Rationale__: In migrations of large code bases, it may be useful to apply more granular rule configuration of
**Rationale**: In migrations of large code bases, it may be useful to apply more granular rule configuration of
"no-deprecated-components" to make incremental progress towards the newer APIs. This allows you, for example, to flag

@@ -206,3 +202,3 @@ deprecated `@blueprintjs/datetime` component usage as errors while allowing deprecated components from other packages

__Rationale__: In migrations of large code bases, it may be useful to apply more granular rule configuration of
**Rationale**: In migrations of large code bases, it may be useful to apply more granular rule configuration of
"no-deprecated-components" to make incremental progress towards the newer APIs. This allows you, for example, to flag

@@ -217,3 +213,3 @@ deprecated `@blueprintjs/datetime2` component usage as errors while allowing deprecated components from other packages

__Rationale__: In migrations of large code bases, it may be useful to apply more granular rule configuration of
**Rationale**: In migrations of large code bases, it may be useful to apply more granular rule configuration of
"no-deprecated-components" to make incremental progress towards the newer APIs. This allows you, for example, to flag

@@ -228,3 +224,3 @@ deprecated `@blueprintjs/select` component usage as errors while allowing deprecated components from other packages

__Rationale__: In migrations of large code bases, it may be useful to apply more granular rule configuration of
**Rationale**: In migrations of large code bases, it may be useful to apply more granular rule configuration of
"no-deprecated-components" to make incremental progress towards the newer APIs. This allows you, for example, to flag

@@ -240,8 +236,7 @@ deprecated `@blueprintjs/table` component usage as errors while allowing deprecated components from other packages

__Auto-fixable__.
**Auto-fixable**.
__Rationale__: Ensure forwards-comaptibility with the next major version of Blueprint and use the auto-fixer as
**Rationale**: Ensure forwards-comaptibility with the next major version of Blueprint and use the auto-fixer as
a codemod.
### [Full Documentation](http://blueprintjs.com/docs) | [Source Code](https://github.com/palantir/blueprint)

@@ -5,3 +5,3 @@ /*

import { TSESLint } from "@typescript-eslint/utils";
import type { TSESLint } from "@typescript-eslint/utils";

@@ -8,0 +8,0 @@ import { createNoDeprecatedComponentsRule } from "./createNoDeprecatedComponentsRule";

@@ -5,3 +5,3 @@ /*

import { TSESLint } from "@typescript-eslint/utils";
import type { TSESLint } from "@typescript-eslint/utils";

@@ -8,0 +8,0 @@ import { createNoDeprecatedComponentsRule } from "./createNoDeprecatedComponentsRule";

@@ -5,3 +5,3 @@ /*

import { TSESLint } from "@typescript-eslint/utils";
import type { TSESLint } from "@typescript-eslint/utils";

@@ -8,0 +8,0 @@ import { createNoDeprecatedComponentsRule } from "./createNoDeprecatedComponentsRule";

@@ -5,3 +5,3 @@ /*

import { TSESLint } from "@typescript-eslint/utils";
import type { TSESLint } from "@typescript-eslint/utils";

@@ -8,0 +8,0 @@ import { createNoDeprecatedComponentsRule } from "./createNoDeprecatedComponentsRule";

@@ -5,3 +5,3 @@ /*

import { TSESLint } from "@typescript-eslint/utils";
import type { TSESLint } from "@typescript-eslint/utils";

@@ -8,0 +8,0 @@ import { createNoDeprecatedComponentsRule } from "./createNoDeprecatedComponentsRule";

@@ -5,3 +5,3 @@ /*

import { TSESLint } from "@typescript-eslint/utils";
import type { TSESLint } from "@typescript-eslint/utils";

@@ -8,0 +8,0 @@ import { createNoDeprecatedComponentsRule } from "./createNoDeprecatedComponentsRule";

@@ -7,3 +7,3 @@ /*

import { TSESLint, TSESTree } from "@typescript-eslint/utils";
import { type TSESLint, TSESTree } from "@typescript-eslint/utils";

@@ -10,0 +10,0 @@ import { createRule } from "./utils/createRule";

@@ -17,3 +17,3 @@ /*

import { TSESLint } from "@typescript-eslint/utils";
import type { TSESLint } from "@typescript-eslint/utils";

@@ -20,0 +20,0 @@ type RuleFix = TSESLint.RuleFix;

Sorry, the diff of this file is not supported yet

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