allegro / allegro/typescript-strict-plugin

Path are not recognize files paths

Offen
#88 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
397
Forks
34
PR-Merge-Kennzahlen
PR-Kennzahlen ausstehend

Beschreibung

Hey, I insert this config on my `.tsconfig`

```json
"plugins": [
{
"name": "typescript-strict-plugin",
"paths": [
"./src/z-test",
"./src/test3.ts",
"./src/test4.tsx",
]
}
],
```

and all of the files have this code
```typescript
import { Test } from 'tslint'
interface Test {
a?: {
b: string
}
}

const test: Test = {}

console.log(test.a.b)

```

The plugin only points the error to files inside the `z-test` folder, not files directly declared at the paths.
What Could be wrong?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.