@blueprintjs/eslint-plugin
Advanced tools
Comparing version 2.3.0 to 2.4.0
@@ -30,2 +30,3 @@ "use strict"; | ||
"@blueprintjs/no-deprecated-components": "error", | ||
"@blueprintjs/no-deprecated-type-references": "error", | ||
}, | ||
@@ -32,0 +33,0 @@ }, |
@@ -11,3 +11,4 @@ declare const _default: { | ||
"no-deprecated-timezone-components": import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"migration" | "migrationWithPropUsage", unknown[], import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>; | ||
"no-deprecated-type-references": import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"migration", [], import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>; | ||
}; | ||
export default _default; |
@@ -22,2 +22,3 @@ "use strict"; | ||
const no_deprecated_components_1 = require("./no-deprecated-components"); | ||
const no_deprecated_type_references_1 = require("./no-deprecated-type-references"); | ||
// eslint-disable-next-line import/no-default-export | ||
@@ -34,3 +35,4 @@ exports.default = { | ||
"no-deprecated-timezone-components": no_deprecated_components_1.noDeprecatedTimezoneComponentsRule, | ||
"no-deprecated-type-references": no_deprecated_type_references_1.noDeprecatedTypeReferencesRule, | ||
}; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@blueprintjs/eslint-plugin", | ||
"version": "2.3.0", | ||
"version": "2.4.0", | ||
"description": "ESLint rules for use with @blueprintjs packages", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -221,2 +221,14 @@ <img height="204" src="https://cloud.githubusercontent.com/assets/464822/20228152/d3f36dc2-a804-11e6-80ff-51ada2d13ea7.png"> | ||
### `@blueprintjs/no-deprecated-type-references` | ||
Ban usage of deprecated types & interfaces. In most cases, these symbols are deprecated as a result of our new | ||
TypeScript interface naming convention where we've _dropped_ the "I" prefix from interface names. For example, | ||
`IProps` is now `Props`. | ||
__Auto-fixable__. | ||
__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) |
@@ -29,2 +29,3 @@ /* | ||
"@blueprintjs/no-deprecated-components": "error", | ||
"@blueprintjs/no-deprecated-type-references": "error", | ||
}, | ||
@@ -31,0 +32,0 @@ }, |
@@ -28,2 +28,3 @@ /* | ||
} from "./no-deprecated-components"; | ||
import { noDeprecatedTypeReferencesRule } from "./no-deprecated-type-references"; | ||
@@ -41,2 +42,3 @@ // eslint-disable-next-line import/no-default-export | ||
"no-deprecated-timezone-components": noDeprecatedTimezoneComponentsRule, | ||
"no-deprecated-type-references": noDeprecatedTypeReferencesRule, | ||
}; |
@@ -22,1 +22,2 @@ /* ! | ||
import "./no-deprecated-core-components.test"; | ||
import "./no-deprecated-type-references.test"; |
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
191755
88
3431
234