Skip to content

Commit e19bf90

Browse files
authored
Update dtslint/dt.json path (DefinitelyTyped#58223)
1 parent 4b8ab79 commit e19bf90

File tree

11 files changed

+11
-11
lines changed

11 files changed

+11
-11
lines changed

README.es.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ Para más detalles, vea el [dtslint](https://github.com/Microsoft/dtslint#write-
221221

222222
#### Linter: `tslint.json`
223223

224-
The linter configuration file, `tslint.json` should contain `{ "extends": "dtslint/dt.json" }`, and no additional rules.
224+
The linter configuration file, `tslint.json` should contain `{ "extends": "@definitelytyped/dtslint/dt.json" }`, and no additional rules.
225225

226226
If for some reason some rule needs to be disabled, [disable it for that specific line](https://palantir.github.io/tslint/usage/rule-flags/#comment-flags-in-source-code:~:text=%2F%2F%20tslint%3Adisable%2Dnext%2Dline%3Arule1%20rule2%20rule3...%20%2D%20Disables%20the%20listed%20rules%20for%20the%20next%20line) using `// tslint:disable-next-line:[ruleName]` — not for the whole package, so that disabling can be reviewed. (There are some legacy lint configs that have additional contents, but these should not happen in new work.)
227227

README.it.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ Per maggiori dettagli, leggi il readme di [dtslint](https://github.com/Microsoft
259259

260260
#### Linter: `tslint.json`
261261

262-
Il file di configurazione del linter, `tslint.json`, dovrebbe contenere `{ "extends": "dtslint/dt.json" }` e nessun'altra regola.
262+
Il file di configurazione del linter, `tslint.json`, dovrebbe contenere `{ "extends": "@definitelytyped/dtslint/dt.json" }` e nessun'altra regola.
263263

264264
Se per qualche ragione qualche regola necessita di essere disabilitata, [disabilitala solo per la riga di codice in cui dovrebbe esserlo](https://palantir.github.io/tslint/usage/rule-flags/#comment-flags-in-source-code:~:text=%2F%2F%20tslint%3Adisable%2Dnext%2Dline%3Arule1%20rule2%20rule3...%20%2D%20Disables%20the%20listed%20rules%20for%20the%20next%20line) usando `// tslint:disable-next-line:[ruleName]` e non disabilitandola per tutto il package.
265265

README.ko.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ f("one");
247247

248248
#### Linter: `tslint.json`
249249

250-
The linter configuration file, `tslint.json` should contain `{ "extends": "dtslint/dt.json" }`, and no additional rules.
250+
The linter configuration file, `tslint.json` should contain `{ "extends": "@definitelytyped/dtslint/dt.json" }`, and no additional rules.
251251

252252
If for some reason some rule needs to be disabled, [disable it for that specific line](https://palantir.github.io/tslint/usage/rule-flags/#comment-flags-in-source-code:~:text=%2F%2F%20tslint%3Adisable%2Dnext%2Dline%3Arule1%20rule2%20rule3...%20%2D%20Disables%20the%20listed%20rules%20for%20the%20next%20line) using `// tslint:disable-next-line:[ruleName]` — not for the whole package, so that disabling can be reviewed. (There are some legacy lint configs that have additional contents, but these should not happen in new work.)
253253

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ For more details, see [dtslint](https://github.com/Microsoft/dtslint#write-tests
282282

283283
#### Linter: `tslint.json`
284284

285-
The linter configuration file, `tslint.json` should contain `{ "extends": "dtslint/dt.json" }`, and no additional rules.
285+
The linter configuration file, `tslint.json` should contain `{ "extends": "@definitelytyped/dtslint/dt.json" }`, and no additional rules.
286286

287287
If for some reason some rule needs to be disabled, [disable it for that specific line](https://palantir.github.io/tslint/usage/rule-flags/#comment-flags-in-source-code:~:text=%2F%2F%20tslint%3Adisable%2Dnext%2Dline%3Arule1%20rule2%20rule3...%20%2D%20Disables%20the%20listed%20rules%20for%20the%20next%20line) using `// tslint:disable-next-line:[ruleName]` — not for the whole package, so that disabling can be reviewed. (There are some legacy lint configs that have additional contents, but these should not happen in new work.)
288288

README.pt.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ Para mais detalhes, veja o arquivo readme do [dtslint](https://github.com/Micros
247247

248248
#### Linter: `tslint.json`
249249

250-
The linter configuration file, `tslint.json` should contain `{ "extends": "dtslint/dt.json" }`, and no additional rules.
250+
The linter configuration file, `tslint.json` should contain `{ "extends": "@definitelytyped/dtslint/dt.json" }`, and no additional rules.
251251

252252
If for some reason some rule needs to be disabled, [disable it for that specific line](https://palantir.github.io/tslint/usage/rule-flags/#comment-flags-in-source-code:~:text=%2F%2F%20tslint%3Adisable%2Dnext%2Dline%3Arule1%20rule2%20rule3...%20%2D%20Disables%20the%20listed%20rules%20for%20the%20next%20line) using `// tslint:disable-next-line:[ruleName]` — not for the whole package, so that disabling can be reviewed. (There are some legacy lint configs that have additional contents, but these should not happen in new work.)
253253

README.ru.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ f('one');
242242
243243
#### Linter: `tslint.json`
244244
245-
The linter configuration file, `tslint.json` should contain `{ "extends": "dtslint/dt.json" }`, and no additional rules.
245+
The linter configuration file, `tslint.json` should contain `{ "extends": "@definitelytyped/dtslint/dt.json" }`, and no additional rules.
246246
247247
If for some reason some rule needs to be disabled, [disable it for that specific line](https://palantir.github.io/tslint/usage/rule-flags/#comment-flags-in-source-code:~:text=%2F%2F%20tslint%3Adisable%2Dnext%2Dline%3Arule1%20rule2%20rule3...%20%2D%20Disables%20the%20listed%20rules%20for%20the%20next%20line) using `// tslint:disable-next-line:[ruleName]` — not for the whole package, so that disabling can be reviewed. (There are some legacy lint configs that have additional contents, but these should not happen in new work.)
248248

README.zh.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ f("one");
271271

272272
#### Linter: `tslint.json`
273273

274-
The linter configuration file, `tslint.json` should contain `{ "extends": "dtslint/dt.json" }`, and no additional rules.
274+
The linter configuration file, `tslint.json` should contain `{ "extends": "@definitelytyped/dtslint/dt.json" }`, and no additional rules.
275275

276276
If for some reason some rule needs to be disabled, [disable it for that specific line](https://palantir.github.io/tslint/usage/rule-flags/#comment-flags-in-source-code:~:text=%2F%2F%20tslint%3Adisable%2Dnext%2Dline%3Arule1%20rule2%20rule3...%20%2D%20Disables%20the%20listed%20rules%20for%20the%20next%20line) using `// tslint:disable-next-line:[ruleName]` — not for the whole package, so that disabling can be reviewed. (There are some legacy lint configs that have additional contents, but these should not happen in new work.)
277277

scripts/fix-tslint.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function fixTslint(dir: string): void {
3131
if (!fs.existsSync(target)) return;
3232
let json = JSON.parse(fs.readFileSync(target, 'utf-8'));
3333
json = fix(json);
34-
const text = Object.keys(json).length === 1 ? '{ "extends": "dtslint/dt.json" }' : JSON.stringify(json, undefined, 4);
34+
const text = Object.keys(json).length === 1 ? '{ "extends": "@definitelytyped/dtslint/dt.json" }' : JSON.stringify(json, undefined, 4);
3535
fs.writeFileSync(target, text + "\n", "utf-8");
3636
}
3737

types/lodash-es/scripts/generate-modules.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ function tsconfig(files) {
163163
}
164164

165165
function tslint() {
166-
return `{ "extends": "dtslint/dt.json" }\n`;
166+
return `{ "extends": "@definitelytyped/dtslint/dt.json" }\n`;
167167
}
168168

169169
function loadString(url: string): Promise<string> {

types/lodash/scripts/generate-modules.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ function lodashDotFooTsconfig(): string {
104104
}
105105

106106
function tslint(): string {
107-
return `{ "extends": "dtslint/dt.json" }\n`;
107+
return `{ "extends": "@definitelytyped/dtslint/dt.json" }\n`;
108108
}
109109

110110
function loadString(url: string): Promise<string> {

types/yargs/ts4.1/tslint.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "dtslint/dt.json",
2+
"extends": "@definitelytyped/dtslint/dt.json",
33
"rules": {
44
"npm-naming": [
55
true,

0 commit comments

Comments
 (0)