@blueprintjs/eslint-plugin
Advanced tools
Comparing version 6.0.0 to 6.0.1
@@ -53,3 +53,3 @@ "use strict"; | ||
const option = context.options[0] || exports.OPTION_COMPONENT; | ||
const sourceCode = context.getSourceCode(); | ||
const sourceCode = context.sourceCode; | ||
if (node.name.name !== "icon") { | ||
@@ -56,0 +56,0 @@ return; |
@@ -203,3 +203,3 @@ "use strict"; | ||
const fixedImportNames = []; | ||
const identifiersInFile = (0, getAllIdentifiersInFile_1.getAllIdentifiersInFile)(context.getSourceCode()); | ||
const identifiersInFile = (0, getAllIdentifiersInFile_1.getAllIdentifiersInFile)(context.sourceCode); | ||
function isDeprecatedTypeReference(name) { | ||
@@ -206,0 +206,0 @@ return (deprecatedToNewType.hasOwnProperty(name) && |
{ | ||
"name": "@blueprintjs/eslint-plugin", | ||
"version": "6.0.0", | ||
"version": "6.0.1", | ||
"description": "ESLint rules for use with @blueprintjs packages", | ||
"main": "lib/index.js", | ||
"scripts": { | ||
"clean": "rm -rf lib/*", | ||
"clean": "rm -rf lib/* || true", | ||
"compile": "tsc -p src/", | ||
"lint": "run-p lint:es", | ||
"lint:es": "es-lint", | ||
"lint": "es-lint", | ||
"lint-fix": "es-lint --fix", | ||
@@ -15,11 +14,12 @@ "test": "SWC_NODE_PROJECT=./tsconfig.test.json mocha --require @swc-node/register,test/setup.ts --watch-extensions ts,tsx 'test/**/*.{ts,tsx}'" | ||
"dependencies": { | ||
"@typescript-eslint/utils": "^6.7.4", | ||
"eslint": "^8.50.0" | ||
"@typescript-eslint/utils": "^6.11.0", | ||
"eslint": "^8.53.0" | ||
}, | ||
"devDependencies": { | ||
"@blueprintjs/node-build-scripts": "^8.1.0", | ||
"@blueprintjs/node-build-scripts": "workspace:^", | ||
"@eslint/eslintrc": "^2.1.3", | ||
"@swc-node/register": "^1.6.8", | ||
"@swc/core": "^1.3.92", | ||
"@types/dedent": "~0.7.0", | ||
"@typescript-eslint/rule-tester": "^6.7.4", | ||
"@swc/core": "^1.3.96", | ||
"@types/dedent": "~0.7.2", | ||
"@typescript-eslint/rule-tester": "^6.11.0", | ||
"dedent": "^1.5.1", | ||
@@ -26,0 +26,0 @@ "mocha": "^10.2.0", |
@@ -58,3 +58,3 @@ /* | ||
const option = context.options[0] || OPTION_COMPONENT; | ||
const sourceCode = context.getSourceCode(); | ||
const sourceCode = context.sourceCode; | ||
@@ -61,0 +61,0 @@ if (node.name.name !== "icon") { |
@@ -276,4 +276,4 @@ /* | ||
: newPackageName === undefined | ||
? "migrationWithPropUsage" | ||
: "migrationWithPropUsageToNewPackage"; | ||
? "migrationWithPropUsage" | ||
: "migrationWithPropUsageToNewPackage"; | ||
@@ -280,0 +280,0 @@ return { |
@@ -217,3 +217,3 @@ /* | ||
const fixedImportNames: string[] = []; | ||
const identifiersInFile = getAllIdentifiersInFile(context.getSourceCode()); | ||
const identifiersInFile = getAllIdentifiersInFile(context.sourceCode); | ||
@@ -220,0 +220,0 @@ function isDeprecatedTypeReference(name: string) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
218906
9
Updatedeslint@^8.53.0