Skip to content

Commit c9d404d

Browse files
committed
Create tombstone NPM package for @microsoft/eslint-config-scalable-ts, which has been renamed to @rushstack/eslint-config
1 parent 5627415 commit c9d404d

3 files changed

Lines changed: 35 additions & 0 deletions

File tree

‎repo-scripts/tombstone/README.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# @microsoft/eslint-config-scalable-ts
2+
3+
This package has been renamed to
4+
[@rushstack/eslint-config](https://www.npmjs.com/package/@rushstack/eslint-config).
5+
Please use that package instead.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"name": "@microsoft/eslint-config-scalable-ts",
3+
"version": "0.4.0",
4+
"description": "(This package has been deprecated.)",
5+
"license": "MIT",
6+
"scripts": {
7+
"postinstall": "node postinstall.js"
8+
}
9+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
2+
function writeErrorInRed(message) {
3+
console.error('');
4+
console.error('\u001b[31m' + message + '\u001b[39m');
5+
}
6+
7+
writeErrorInRed(`* * * * * * * * * * * THIS PACKAGE HAS BEEN DEPRECATED! * * * * * * * * * * * *`);
8+
9+
console.error(`
10+
OLD NAME: @microsoft/eslint-config-scalable-ts
11+
NEW NAME: @rushstack/eslint-config
12+
13+
Please uninstall the old package by running this command:
14+
15+
npm uninstall --save-dev @microsoft/eslint-config-scalable-ts
16+
17+
Then install the new package:
18+
19+
npm install --save-dev @rushstack/eslint-config`);
20+
21+
writeErrorInRed(`* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *`);

0 commit comments

Comments
 (0)