@definitelytyped/eslint-plugin 0.0.202 → 0.0.204
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/package.json +2 -2
- package/src/configs/all.ts +0 -189
- package/src/index.ts +0 -18
- package/src/rules/expect.ts +0 -556
- package/src/rules/export-just-namespace.ts +0 -82
- package/src/rules/index.ts +0 -43
- package/src/rules/no-any-union.ts +0 -33
- package/src/rules/no-bad-reference.ts +0 -199
- package/src/rules/no-const-enum.ts +0 -31
- package/src/rules/no-dead-reference.ts +0 -47
- package/src/rules/no-declare-current-package.ts +0 -45
- package/src/rules/no-import-default-of-export-equals.ts +0 -68
- package/src/rules/no-import-of-dev-dependencies.ts +0 -93
- package/src/rules/no-old-dt-header.ts +0 -40
- package/src/rules/no-relative-import-in-test.ts +0 -72
- package/src/rules/no-self-import.ts +0 -56
- package/src/rules/no-single-declare-module.ts +0 -57
- package/src/rules/no-single-element-tuple-type.ts +0 -30
- package/src/rules/no-unnecessary-generics.ts +0 -119
- package/src/rules/no-useless-files.ts +0 -51
- package/src/rules/npm-naming/types.ts +0 -14
- package/src/rules/npm-naming.ts +0 -211
- package/src/rules/prefer-declare-function.ts +0 -37
- package/src/rules/redundant-undefined.ts +0 -61
- package/src/rules/strict-export-declare-modifiers.ts +0 -195
- package/src/suggestions.ts +0 -75
- package/src/util.ts +0 -138
- package/test/__file_snapshots__/types/expect/expect-tests.ts.lint +0 -79
- package/test/__file_snapshots__/types/expect/index.d.ts.lint +0 -19
- package/test/__file_snapshots__/types/export-just-namespace/bad1.d.ts.lint +0 -11
- package/test/__file_snapshots__/types/export-just-namespace/bad2.d.ts.lint +0 -11
- package/test/__file_snapshots__/types/export-just-namespace/bad3.d.ts.lint +0 -12
- package/test/__file_snapshots__/types/export-just-namespace/export-just-namespace-tests.ts.lint +0 -10
- package/test/__file_snapshots__/types/export-just-namespace/good1.d.ts.lint +0 -5
- package/test/__file_snapshots__/types/export-just-namespace/good2.d.ts.lint +0 -5
- package/test/__file_snapshots__/types/export-just-namespace/good3.d.ts.lint +0 -5
- package/test/__file_snapshots__/types/export-just-namespace/good4.d.ts.lint +0 -5
- package/test/__file_snapshots__/types/export-just-namespace/good5.d.ts.lint +0 -5
- package/test/__file_snapshots__/types/export-just-namespace/good6.d.ts.lint +0 -5
- package/test/__file_snapshots__/types/export-just-namespace/good7.d.ts.lint +0 -7
- package/test/__file_snapshots__/types/export-just-namespace/good8.d.ts.lint +0 -7
- package/test/__file_snapshots__/types/export-just-namespace/good9.d.ts.lint +0 -15
- package/test/__file_snapshots__/types/foo/foo-tests.ts.lint +0 -10
- package/test/__file_snapshots__/types/foo/index.d.ts.lint +0 -5
- package/test/__file_snapshots__/types/foo/v1/foo-tests.ts.lint +0 -10
- package/test/__file_snapshots__/types/foo/v1/index.d.ts.lint +0 -5
- package/test/__file_snapshots__/types/no-any-union/bad.d.ts.lint +0 -10
- package/test/__file_snapshots__/types/no-any-union/index.d.ts.lint +0 -5
- package/test/__file_snapshots__/types/no-any-union/no-any-union-tests.ts.lint +0 -10
- package/test/__file_snapshots__/types/no-bad-reference/index.d.ts.lint +0 -43
- package/test/__file_snapshots__/types/no-bad-reference/no-bad-reference-tests.ts.lint +0 -14
- package/test/__file_snapshots__/types/no-bad-reference/v0.1/index.d.ts.lint +0 -48
- package/test/__file_snapshots__/types/no-bad-reference/v0.1/no-bad-reference-tests.ts.lint +0 -10
- package/test/__file_snapshots__/types/no-bad-reference/v11/index.d.ts.lint +0 -48
- package/test/__file_snapshots__/types/no-bad-reference/v11/no-bad-reference-tests.ts.lint +0 -10
- package/test/__file_snapshots__/types/no-const-enum/bad.d.ts.lint +0 -10
- package/test/__file_snapshots__/types/no-const-enum/index.d.ts.lint +0 -5
- package/test/__file_snapshots__/types/no-const-enum/no-const-enum-tests.ts.lint +0 -10
- package/test/__file_snapshots__/types/no-dead-reference/bad.d.ts.lint +0 -18
- package/test/__file_snapshots__/types/no-dead-reference/bad2.d.ts.lint +0 -15
- package/test/__file_snapshots__/types/no-dead-reference/bad3.d.ts.lint +0 -17
- package/test/__file_snapshots__/types/no-dead-reference/index.d.ts.lint +0 -6
- package/test/__file_snapshots__/types/no-dead-reference/no-dead-reference-tests.ts.lint +0 -10
- package/test/__file_snapshots__/types/no-declare-current-package/index.d.ts.lint +0 -13
- package/test/__file_snapshots__/types/no-declare-current-package/no-declare-current-package-tests.ts.lint +0 -10
- package/test/__file_snapshots__/types/no-declare-current-package/test/deep/import.d.ts.lint +0 -13
- package/test/__file_snapshots__/types/no-declare-current-package-other/index.d.ts.lint +0 -6
- package/test/__file_snapshots__/types/no-declare-current-package-other/no-declare-current-package-other-tests.ts.lint +0 -10
- package/test/__file_snapshots__/types/no-import-default-of-export-equals/bad.d.ts.lint +0 -17
- package/test/__file_snapshots__/types/no-import-default-of-export-equals/index.d.ts.lint +0 -12
- package/test/__file_snapshots__/types/no-import-default-of-export-equals/no-import-default-of-export-equals-tests.ts.lint +0 -10
- package/test/__file_snapshots__/types/no-import-of-dev-dependencies/bad.d.ts.lint +0 -44
- package/test/__file_snapshots__/types/no-import-of-dev-dependencies/index.d.ts.lint +0 -25
- package/test/__file_snapshots__/types/no-import-of-dev-dependencies/no-import-of-dev-dependencies-tests.ts.lint +0 -39
- package/test/__file_snapshots__/types/no-old-dt-header/index.d.ts.lint +0 -23
- package/test/__file_snapshots__/types/no-old-dt-header/index2.d.ts.lint +0 -14
- package/test/__file_snapshots__/types/no-old-dt-header/no-old-dt-header-tests.ts.lint +0 -10
- package/test/__file_snapshots__/types/no-old-dt-header/ok1.ts.lint +0 -11
- package/test/__file_snapshots__/types/no-old-dt-header/ok2.d.ts.lint +0 -10
- package/test/__file_snapshots__/types/no-old-dt-header/ok3.d.ts.lint +0 -10
- package/test/__file_snapshots__/types/no-old-dt-header/ok4.d.ts.lint +0 -12
- package/test/__file_snapshots__/types/no-relative-import-in-test/abc.d.ts.lint +0 -6
- package/test/__file_snapshots__/types/no-relative-import-in-test/bad.d.ts.lint +0 -10
- package/test/__file_snapshots__/types/no-relative-import-in-test/index.d.ts.lint +0 -5
- package/test/__file_snapshots__/types/no-relative-import-in-test/no-relative-import-in-test/abc.d.ts.lint +0 -6
- package/test/__file_snapshots__/types/no-relative-import-in-test/no-relative-import-in-test-tests.ts.lint +0 -10
- package/test/__file_snapshots__/types/no-relative-import-in-test/no-relative-import-in-test-tests2.ts.lint +0 -7
- package/test/__file_snapshots__/types/no-relative-import-in-test/no-relative-import-in-test-tests3.ts.lint +0 -10
- package/test/__file_snapshots__/types/no-relative-references/index.d.ts.lint +0 -51
- package/test/__file_snapshots__/types/no-relative-references/no-relative-references-tests.ts.lint +0 -10
- package/test/__file_snapshots__/types/no-relative-references/other/other.d.ts.lint +0 -31
- package/test/__file_snapshots__/types/no-relative-references/v1/index.d.ts.lint +0 -57
- package/test/__file_snapshots__/types/no-relative-references/v1/no-relative-references-tests.ts.lint +0 -10
- package/test/__file_snapshots__/types/no-relative-references/v1/other/other.d.ts.lint +0 -31
- package/test/__file_snapshots__/types/no-self-import/bad.d.ts.lint +0 -65
- package/test/__file_snapshots__/types/no-self-import/index.d.ts.lint +0 -19
- package/test/__file_snapshots__/types/no-self-import/no-self-import-tests.ts.lint +0 -39
- package/test/__file_snapshots__/types/no-single-declare-module/bad.d.ts.lint +0 -13
- package/test/__file_snapshots__/types/no-single-declare-module/index.d.ts.lint +0 -6
- package/test/__file_snapshots__/types/no-single-declare-module/index2.d.ts.lint +0 -6
- package/test/__file_snapshots__/types/no-single-declare-module/index3.d.ts.lint +0 -5
- package/test/__file_snapshots__/types/no-single-declare-module/no-single-declare-module-tests.ts.lint +0 -10
- package/test/__file_snapshots__/types/no-single-element-tuple-type/bad.d.ts.lint +0 -10
- package/test/__file_snapshots__/types/no-single-element-tuple-type/index.d.ts.lint +0 -9
- package/test/__file_snapshots__/types/no-single-element-tuple-type/no-single-element-tuple-type-tests.ts.lint +0 -10
- package/test/__file_snapshots__/types/no-unnecessary-generics/bad.d.ts.lint +0 -14
- package/test/__file_snapshots__/types/no-unnecessary-generics/index.d.ts.lint +0 -11
- package/test/__file_snapshots__/types/no-unnecessary-generics/no-unnecessary-generics-tests.ts.lint +0 -44
- package/test/__file_snapshots__/types/no-useless-files/bad.d.ts.lint +0 -10
- package/test/__file_snapshots__/types/no-useless-files/bad2.d.ts.lint +0 -10
- package/test/__file_snapshots__/types/no-useless-files/bad3.d.ts.lint +0 -10
- package/test/__file_snapshots__/types/no-useless-files/index.d.ts.lint +0 -5
- package/test/__file_snapshots__/types/no-useless-files/index2.d.ts.lint +0 -5
- package/test/__file_snapshots__/types/no-useless-files/index3.d.ts.lint +0 -5
- package/test/__file_snapshots__/types/no-useless-files/no-useless-files-tests.ts.lint +0 -10
- package/test/__file_snapshots__/types/other/index.d.ts.lint +0 -5
- package/test/__file_snapshots__/types/other/other-tests.ts.lint +0 -10
- package/test/__file_snapshots__/types/other/v1/index.d.ts.lint +0 -5
- package/test/__file_snapshots__/types/other/v1/other-tests.ts.lint +0 -10
- package/test/__file_snapshots__/types/prefer-declare-function/bad.d.ts.lint +0 -33
- package/test/__file_snapshots__/types/prefer-declare-function/index.d.ts.lint +0 -14
- package/test/__file_snapshots__/types/prefer-declare-function/prefer-declare-function-tests.ts.lint +0 -10
- package/test/__file_snapshots__/types/redundant-undefined/bad.d.ts.lint +0 -15
- package/test/__file_snapshots__/types/redundant-undefined/index.d.ts.lint +0 -9
- package/test/__file_snapshots__/types/redundant-undefined/redundant-undefined-tests.ts.lint +0 -10
- package/test/__file_snapshots__/types/scoped__foo/index.d.ts.lint +0 -5
- package/test/__file_snapshots__/types/scoped__foo/scoped__foo-tests.ts.lint +0 -10
- package/test/__file_snapshots__/types/scoped__foo/v1/index.d.ts.lint +0 -5
- package/test/__file_snapshots__/types/scoped__foo/v1/scoped__foo-tests.ts.lint +0 -10
- package/test/__file_snapshots__/types/scoped__no-declare-current-package/index.d.ts.lint +0 -13
- package/test/__file_snapshots__/types/scoped__no-declare-current-package/no-declare-current-package-tests.ts.lint +0 -10
- package/test/__file_snapshots__/types/scoped__no-declare-current-package/test/deep/import.d.ts.lint +0 -13
- package/test/__file_snapshots__/types/scoped__no-relative-references/index.d.ts.lint +0 -51
- package/test/__file_snapshots__/types/scoped__no-relative-references/no-relative-references-tests.ts.lint +0 -10
- package/test/__file_snapshots__/types/scoped__no-relative-references/other/other.d.ts.lint +0 -31
- package/test/__file_snapshots__/types/scoped__no-relative-references/v1/index.d.ts.lint +0 -57
- package/test/__file_snapshots__/types/scoped__no-relative-references/v1/no-relative-references-tests.ts.lint +0 -10
- package/test/__file_snapshots__/types/scoped__no-relative-references/v1/other/other.d.ts.lint +0 -31
- package/test/__file_snapshots__/types/strict-export-declare-modifiers/bad1.d.ts.lint +0 -10
- package/test/__file_snapshots__/types/strict-export-declare-modifiers/bad2.d.ts.lint +0 -12
- package/test/__file_snapshots__/types/strict-export-declare-modifiers/bad3.d.ts.lint +0 -10
- package/test/__file_snapshots__/types/strict-export-declare-modifiers/bad4.d.ts.lint +0 -12
- package/test/__file_snapshots__/types/strict-export-declare-modifiers/bad5.d.ts.lint +0 -11
- package/test/__file_snapshots__/types/strict-export-declare-modifiers/bad6.d.ts.lint +0 -14
- package/test/__file_snapshots__/types/strict-export-declare-modifiers/bad7.d.ts.lint +0 -14
- package/test/__file_snapshots__/types/strict-export-declare-modifiers/good1.ts.lint +0 -5
- package/test/__file_snapshots__/types/strict-export-declare-modifiers/good2.d.ts.lint +0 -5
- package/test/__file_snapshots__/types/strict-export-declare-modifiers/good3.d.ts.lint +0 -5
- package/test/__file_snapshots__/types/strict-export-declare-modifiers/good4.d.ts.lint +0 -5
- package/test/__file_snapshots__/types/strict-export-declare-modifiers/good5.d.ts.lint +0 -5
- package/test/__file_snapshots__/types/strict-export-declare-modifiers/good6.ts.lint +0 -7
- package/test/__file_snapshots__/types/strict-export-declare-modifiers/good7.d.ts.lint +0 -6
- package/test/__file_snapshots__/types/strict-export-declare-modifiers/good8.d.ts.lint +0 -9
- package/test/__file_snapshots__/types/strict-export-declare-modifiers/good9.d.ts.lint +0 -7
- package/test/__file_snapshots__/types/strict-export-declare-modifiers/strict-export-declare-modifiers-tests.ts.lint +0 -10
- package/test/__snapshots__/plugin.test.ts.snap +0 -262
- package/test/eslint.test.ts +0 -134
- package/test/fixtures/.eslintrc.cjs +0 -4
- package/test/fixtures/notNeededPackages.json +0 -3
- package/test/fixtures/package.json +0 -4
- package/test/fixtures/types/expect/expect-tests.ts +0 -49
- package/test/fixtures/types/expect/index.d.ts +0 -9
- package/test/fixtures/types/expect/package.json +0 -5
- package/test/fixtures/types/expect/tsconfig.json +0 -20
- package/test/fixtures/types/export-just-namespace/bad1.d.ts +0 -2
- package/test/fixtures/types/export-just-namespace/bad2.d.ts +0 -2
- package/test/fixtures/types/export-just-namespace/bad3.d.ts +0 -3
- package/test/fixtures/types/export-just-namespace/export-just-namespace-tests.ts +0 -0
- package/test/fixtures/types/export-just-namespace/good1.d.ts +0 -1
- package/test/fixtures/types/export-just-namespace/good2.d.ts +0 -1
- package/test/fixtures/types/export-just-namespace/good3.d.ts +0 -1
- package/test/fixtures/types/export-just-namespace/good4.d.ts +0 -1
- package/test/fixtures/types/export-just-namespace/good5.d.ts +0 -1
- package/test/fixtures/types/export-just-namespace/good6.d.ts +0 -1
- package/test/fixtures/types/export-just-namespace/good7.d.ts +0 -3
- package/test/fixtures/types/export-just-namespace/good8.d.ts +0 -3
- package/test/fixtures/types/export-just-namespace/good9.d.ts +0 -3
- package/test/fixtures/types/export-just-namespace/package.json +0 -8
- package/test/fixtures/types/export-just-namespace/tsconfig.json +0 -31
- package/test/fixtures/types/foo/foo-tests.ts +0 -0
- package/test/fixtures/types/foo/index.d.ts +0 -1
- package/test/fixtures/types/foo/package.json +0 -5
- package/test/fixtures/types/foo/tsconfig.json +0 -20
- package/test/fixtures/types/foo/v1/foo-tests.ts +0 -0
- package/test/fixtures/types/foo/v1/index.d.ts +0 -1
- package/test/fixtures/types/foo/v1/package.json +0 -5
- package/test/fixtures/types/foo/v1/tsconfig.json +0 -20
- package/test/fixtures/types/no-any-union/bad.d.ts +0 -1
- package/test/fixtures/types/no-any-union/index.d.ts +0 -1
- package/test/fixtures/types/no-any-union/no-any-union-tests.ts +0 -1
- package/test/fixtures/types/no-any-union/package.json +0 -8
- package/test/fixtures/types/no-any-union/tsconfig.json +0 -21
- package/test/fixtures/types/no-bad-reference/index.d.ts +0 -16
- package/test/fixtures/types/no-bad-reference/no-bad-reference-tests.ts +0 -2
- package/test/fixtures/types/no-bad-reference/package.json +0 -5
- package/test/fixtures/types/no-bad-reference/tsconfig.json +0 -20
- package/test/fixtures/types/no-bad-reference/v0.1/index.d.ts +0 -15
- package/test/fixtures/types/no-bad-reference/v0.1/no-bad-reference-tests.ts +0 -0
- package/test/fixtures/types/no-bad-reference/v0.1/package.json +0 -5
- package/test/fixtures/types/no-bad-reference/v0.1/tsconfig.json +0 -20
- package/test/fixtures/types/no-bad-reference/v11/index.d.ts +0 -15
- package/test/fixtures/types/no-bad-reference/v11/no-bad-reference-tests.ts +0 -0
- package/test/fixtures/types/no-bad-reference/v11/package.json +0 -5
- package/test/fixtures/types/no-bad-reference/v11/tsconfig.json +0 -20
- package/test/fixtures/types/no-const-enum/bad.d.ts +0 -1
- package/test/fixtures/types/no-const-enum/index.d.ts +0 -1
- package/test/fixtures/types/no-const-enum/no-const-enum-tests.ts +0 -0
- package/test/fixtures/types/no-const-enum/package.json +0 -8
- package/test/fixtures/types/no-const-enum/tsconfig.json +0 -21
- package/test/fixtures/types/no-dead-reference/bad.d.ts +0 -6
- package/test/fixtures/types/no-dead-reference/bad2.d.ts +0 -3
- package/test/fixtures/types/no-dead-reference/bad3.d.ts +0 -5
- package/test/fixtures/types/no-dead-reference/index.d.ts +0 -2
- package/test/fixtures/types/no-dead-reference/no-dead-reference-tests.ts +0 -0
- package/test/fixtures/types/no-dead-reference/package.json +0 -8
- package/test/fixtures/types/no-dead-reference/tsconfig.json +0 -23
- package/test/fixtures/types/no-declare-current-package/index.d.ts +0 -1
- package/test/fixtures/types/no-declare-current-package/no-declare-current-package-tests.ts +0 -0
- package/test/fixtures/types/no-declare-current-package/package.json +0 -8
- package/test/fixtures/types/no-declare-current-package/test/deep/import.d.ts +0 -1
- package/test/fixtures/types/no-declare-current-package/tsconfig.json +0 -21
- package/test/fixtures/types/no-declare-current-package-other/index.d.ts +0 -2
- package/test/fixtures/types/no-declare-current-package-other/no-declare-current-package-other-tests.ts +0 -0
- package/test/fixtures/types/no-declare-current-package-other/package.json +0 -8
- package/test/fixtures/types/no-declare-current-package-other/tsconfig.json +0 -20
- package/test/fixtures/types/no-import-default-of-export-equals/bad.d.ts +0 -8
- package/test/fixtures/types/no-import-default-of-export-equals/index.d.ts +0 -8
- package/test/fixtures/types/no-import-default-of-export-equals/no-import-default-of-export-equals-tests.ts +0 -0
- package/test/fixtures/types/no-import-default-of-export-equals/package.json +0 -8
- package/test/fixtures/types/no-import-default-of-export-equals/tsconfig.json +0 -21
- package/test/fixtures/types/no-import-of-dev-dependencies/bad.d.ts +0 -8
- package/test/fixtures/types/no-import-of-dev-dependencies/index.d.ts +0 -7
- package/test/fixtures/types/no-import-of-dev-dependencies/no-import-of-dev-dependencies-tests.ts +0 -15
- package/test/fixtures/types/no-import-of-dev-dependencies/package.json +0 -14
- package/test/fixtures/types/no-import-of-dev-dependencies/tsconfig.json +0 -21
- package/test/fixtures/types/no-old-dt-header/index.d.ts +0 -14
- package/test/fixtures/types/no-old-dt-header/index2.d.ts +0 -2
- package/test/fixtures/types/no-old-dt-header/no-old-dt-header-tests.ts +0 -0
- package/test/fixtures/types/no-old-dt-header/ok1.ts +0 -2
- package/test/fixtures/types/no-old-dt-header/ok2.d.ts +0 -1
- package/test/fixtures/types/no-old-dt-header/ok3.d.ts +0 -1
- package/test/fixtures/types/no-old-dt-header/ok4.d.ts +0 -3
- package/test/fixtures/types/no-old-dt-header/package.json +0 -8
- package/test/fixtures/types/no-old-dt-header/tsconfig.json +0 -25
- package/test/fixtures/types/no-relative-import-in-test/abc.d.ts +0 -2
- package/test/fixtures/types/no-relative-import-in-test/bad.d.ts +0 -0
- package/test/fixtures/types/no-relative-import-in-test/index.d.ts +0 -1
- package/test/fixtures/types/no-relative-import-in-test/no-relative-import-in-test/abc.d.ts +0 -2
- package/test/fixtures/types/no-relative-import-in-test/no-relative-import-in-test-tests.ts +0 -1
- package/test/fixtures/types/no-relative-import-in-test/no-relative-import-in-test-tests2.ts +0 -3
- package/test/fixtures/types/no-relative-import-in-test/no-relative-import-in-test-tests3.ts +0 -1
- package/test/fixtures/types/no-relative-import-in-test/package.json +0 -8
- package/test/fixtures/types/no-relative-import-in-test/tsconfig.json +0 -25
- package/test/fixtures/types/no-relative-references/index.d.ts +0 -12
- package/test/fixtures/types/no-relative-references/no-relative-references-tests.ts +0 -0
- package/test/fixtures/types/no-relative-references/other/other.d.ts +0 -7
- package/test/fixtures/types/no-relative-references/package.json +0 -5
- package/test/fixtures/types/no-relative-references/tsconfig.json +0 -21
- package/test/fixtures/types/no-relative-references/v1/index.d.ts +0 -15
- package/test/fixtures/types/no-relative-references/v1/no-relative-references-tests.ts +0 -0
- package/test/fixtures/types/no-relative-references/v1/other/other.d.ts +0 -7
- package/test/fixtures/types/no-relative-references/v1/package.json +0 -5
- package/test/fixtures/types/no-relative-references/v1/tsconfig.json +0 -21
- package/test/fixtures/types/no-self-import/bad.d.ts +0 -17
- package/test/fixtures/types/no-self-import/index.d.ts +0 -15
- package/test/fixtures/types/no-self-import/no-self-import-tests.ts +0 -15
- package/test/fixtures/types/no-self-import/package.json +0 -11
- package/test/fixtures/types/no-self-import/tsconfig.json +0 -21
- package/test/fixtures/types/no-single-declare-module/bad.d.ts +0 -4
- package/test/fixtures/types/no-single-declare-module/index.d.ts +0 -2
- package/test/fixtures/types/no-single-declare-module/index2.d.ts +0 -2
- package/test/fixtures/types/no-single-declare-module/index3.d.ts +0 -1
- package/test/fixtures/types/no-single-declare-module/no-single-declare-module-tests.ts +0 -0
- package/test/fixtures/types/no-single-declare-module/package.json +0 -8
- package/test/fixtures/types/no-single-declare-module/tsconfig.json +0 -23
- package/test/fixtures/types/no-single-element-tuple-type/bad.d.ts +0 -1
- package/test/fixtures/types/no-single-element-tuple-type/index.d.ts +0 -5
- package/test/fixtures/types/no-single-element-tuple-type/no-single-element-tuple-type-tests.ts +0 -0
- package/test/fixtures/types/no-single-element-tuple-type/package.json +0 -8
- package/test/fixtures/types/no-single-element-tuple-type/tsconfig.json +0 -21
- package/test/fixtures/types/no-unnecessary-generics/bad.d.ts +0 -2
- package/test/fixtures/types/no-unnecessary-generics/index.d.ts +0 -7
- package/test/fixtures/types/no-unnecessary-generics/no-unnecessary-generics-tests.ts +0 -14
- package/test/fixtures/types/no-unnecessary-generics/package.json +0 -8
- package/test/fixtures/types/no-unnecessary-generics/tsconfig.json +0 -21
- package/test/fixtures/types/no-useless-files/bad.d.ts +0 -1
- package/test/fixtures/types/no-useless-files/bad2.d.ts +0 -0
- package/test/fixtures/types/no-useless-files/bad3.d.ts +0 -1
- package/test/fixtures/types/no-useless-files/index.d.ts +0 -1
- package/test/fixtures/types/no-useless-files/index2.d.ts +0 -1
- package/test/fixtures/types/no-useless-files/index3.d.ts +0 -1
- package/test/fixtures/types/no-useless-files/no-useless-files-tests.ts +0 -0
- package/test/fixtures/types/no-useless-files/package.json +0 -8
- package/test/fixtures/types/no-useless-files/tsconfig.json +0 -25
- package/test/fixtures/types/other/index.d.ts +0 -1
- package/test/fixtures/types/other/other-tests.ts +0 -0
- package/test/fixtures/types/other/package.json +0 -5
- package/test/fixtures/types/other/tsconfig.json +0 -20
- package/test/fixtures/types/other/v1/index.d.ts +0 -1
- package/test/fixtures/types/other/v1/other-tests.ts +0 -0
- package/test/fixtures/types/other/v1/package.json +0 -5
- package/test/fixtures/types/other/v1/tsconfig.json +0 -20
- package/test/fixtures/types/prefer-declare-function/bad.d.ts +0 -9
- package/test/fixtures/types/prefer-declare-function/index.d.ts +0 -2
- package/test/fixtures/types/prefer-declare-function/package.json +0 -8
- package/test/fixtures/types/prefer-declare-function/prefer-declare-function-tests.ts +0 -0
- package/test/fixtures/types/prefer-declare-function/tsconfig.json +0 -21
- package/test/fixtures/types/redundant-undefined/bad.d.ts +0 -3
- package/test/fixtures/types/redundant-undefined/index.d.ts +0 -5
- package/test/fixtures/types/redundant-undefined/package.json +0 -8
- package/test/fixtures/types/redundant-undefined/redundant-undefined-tests.ts +0 -1
- package/test/fixtures/types/redundant-undefined/tsconfig.json +0 -21
- package/test/fixtures/types/scoped__foo/index.d.ts +0 -1
- package/test/fixtures/types/scoped__foo/package.json +0 -5
- package/test/fixtures/types/scoped__foo/scoped__foo-tests.ts +0 -0
- package/test/fixtures/types/scoped__foo/tsconfig.json +0 -20
- package/test/fixtures/types/scoped__foo/v1/index.d.ts +0 -1
- package/test/fixtures/types/scoped__foo/v1/package.json +0 -5
- package/test/fixtures/types/scoped__foo/v1/scoped__foo-tests.ts +0 -0
- package/test/fixtures/types/scoped__foo/v1/tsconfig.json +0 -20
- package/test/fixtures/types/scoped__no-declare-current-package/index.d.ts +0 -1
- package/test/fixtures/types/scoped__no-declare-current-package/no-declare-current-package-tests.ts +0 -0
- package/test/fixtures/types/scoped__no-declare-current-package/package.json +0 -8
- package/test/fixtures/types/scoped__no-declare-current-package/test/deep/import.d.ts +0 -1
- package/test/fixtures/types/scoped__no-declare-current-package/tsconfig.json +0 -21
- package/test/fixtures/types/scoped__no-relative-references/index.d.ts +0 -12
- package/test/fixtures/types/scoped__no-relative-references/no-relative-references-tests.ts +0 -0
- package/test/fixtures/types/scoped__no-relative-references/other/other.d.ts +0 -7
- package/test/fixtures/types/scoped__no-relative-references/package.json +0 -5
- package/test/fixtures/types/scoped__no-relative-references/tsconfig.json +0 -21
- package/test/fixtures/types/scoped__no-relative-references/v1/index.d.ts +0 -15
- package/test/fixtures/types/scoped__no-relative-references/v1/no-relative-references-tests.ts +0 -0
- package/test/fixtures/types/scoped__no-relative-references/v1/other/other.d.ts +0 -7
- package/test/fixtures/types/scoped__no-relative-references/v1/package.json +0 -5
- package/test/fixtures/types/scoped__no-relative-references/v1/tsconfig.json +0 -21
- package/test/fixtures/types/strict-export-declare-modifiers/bad1.d.ts +0 -1
- package/test/fixtures/types/strict-export-declare-modifiers/bad2.d.ts +0 -3
- package/test/fixtures/types/strict-export-declare-modifiers/bad3.d.ts +0 -1
- package/test/fixtures/types/strict-export-declare-modifiers/bad4.d.ts +0 -3
- package/test/fixtures/types/strict-export-declare-modifiers/bad5.d.ts +0 -2
- package/test/fixtures/types/strict-export-declare-modifiers/bad6.d.ts +0 -2
- package/test/fixtures/types/strict-export-declare-modifiers/bad7.d.ts +0 -2
- package/test/fixtures/types/strict-export-declare-modifiers/good1.ts +0 -1
- package/test/fixtures/types/strict-export-declare-modifiers/good2.d.ts +0 -1
- package/test/fixtures/types/strict-export-declare-modifiers/good3.d.ts +0 -1
- package/test/fixtures/types/strict-export-declare-modifiers/good4.d.ts +0 -1
- package/test/fixtures/types/strict-export-declare-modifiers/good5.d.ts +0 -1
- package/test/fixtures/types/strict-export-declare-modifiers/good6.ts +0 -3
- package/test/fixtures/types/strict-export-declare-modifiers/good7.d.ts +0 -2
- package/test/fixtures/types/strict-export-declare-modifiers/good8.d.ts +0 -5
- package/test/fixtures/types/strict-export-declare-modifiers/good9.d.ts +0 -3
- package/test/fixtures/types/strict-export-declare-modifiers/package.json +0 -8
- package/test/fixtures/types/strict-export-declare-modifiers/strict-export-declare-modifiers-tests.ts +0 -0
- package/test/fixtures/types/strict-export-declare-modifiers/tsconfig.json +0 -35
- package/test/npm-naming.test.ts +0 -57
- package/test/plugin.test.ts +0 -14
- package/test/tsconfig.json +0 -13
- package/test/types/dts-critic/index.d.ts +0 -9
- package/test/types/dts-critic/package.json +0 -17
- package/test/types/wenceslas/index.d.ts +0 -0
- package/test/types/wenceslas/package.json +0 -17
- package/test/util.test.ts +0 -40
- package/test/util.ts +0 -3
- package/tsconfig.json +0 -11
- package/tsconfig.tsbuildinfo +0 -1
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
types/no-any-union/bad.d.ts
|
|
2
|
-
1:17 error Including `any` in a union will override all other members of the union @definitelytyped/no-any-union
|
|
3
|
-
|
|
4
|
-
✖ 1 problem (1 error, 0 warnings)
|
|
5
|
-
|
|
6
|
-
==== types/no-any-union/bad.d.ts ====
|
|
7
|
-
|
|
8
|
-
export const y: string | any;
|
|
9
|
-
~~~~~~~~~~~~
|
|
10
|
-
!!! @definitelytyped/no-any-union: Including `any` in a union will override all other members of the union.
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
types/no-any-union/no-any-union-tests.ts
|
|
2
|
-
1:17 error Including `any` in a union will override all other members of the union @definitelytyped/no-any-union
|
|
3
|
-
|
|
4
|
-
✖ 1 problem (1 error, 0 warnings)
|
|
5
|
-
|
|
6
|
-
==== types/no-any-union/no-any-union-tests.ts ====
|
|
7
|
-
|
|
8
|
-
export const z: string | any;
|
|
9
|
-
~~~~~~~~~~~~
|
|
10
|
-
!!! @definitelytyped/no-any-union: Including `any` in a union will override all other members of the union.
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
types/no-bad-reference/index.d.ts
|
|
2
|
-
1:22 error The reference "../other" resolves outside of the package. Use a global reference to reference other packages @definitelytyped/no-bad-reference
|
|
3
|
-
2:22 error The reference "./v11" resolves outside of the package. Use a global reference to reference other packages @definitelytyped/no-bad-reference
|
|
4
|
-
3:22 error The reference "./v11/index" resolves outside of the package. Use a global reference to reference other packages @definitelytyped/no-bad-reference
|
|
5
|
-
4:22 error The reference "./v11/subdir/file" resolves outside of the package. Use a global reference to reference other packages @definitelytyped/no-bad-reference
|
|
6
|
-
5:22 error The reference "./v0.1" resolves outside of the package. Use a global reference to reference other packages @definitelytyped/no-bad-reference
|
|
7
|
-
6:22 error The reference "./v0.1/index" resolves outside of the package. Use a global reference to reference other packages @definitelytyped/no-bad-reference
|
|
8
|
-
13:22 error Use forward slashes in paths @definitelytyped/no-bad-reference
|
|
9
|
-
|
|
10
|
-
✖ 7 problems (7 errors, 0 warnings)
|
|
11
|
-
|
|
12
|
-
==== types/no-bad-reference/index.d.ts ====
|
|
13
|
-
|
|
14
|
-
/// <reference path="../other" />
|
|
15
|
-
~~~~~~~~
|
|
16
|
-
!!! @definitelytyped/no-bad-reference: The reference "../other" resolves outside of the package. Use a global reference to reference other packages.
|
|
17
|
-
/// <reference path="./v11" />
|
|
18
|
-
~~~~~
|
|
19
|
-
!!! @definitelytyped/no-bad-reference: The reference "./v11" resolves outside of the package. Use a global reference to reference other packages.
|
|
20
|
-
/// <reference path="./v11/index" />
|
|
21
|
-
~~~~~~~~~~~
|
|
22
|
-
!!! @definitelytyped/no-bad-reference: The reference "./v11/index" resolves outside of the package. Use a global reference to reference other packages.
|
|
23
|
-
/// <reference path="./v11/subdir/file" />
|
|
24
|
-
~~~~~~~~~~~~~~~~~
|
|
25
|
-
!!! @definitelytyped/no-bad-reference: The reference "./v11/subdir/file" resolves outside of the package. Use a global reference to reference other packages.
|
|
26
|
-
/// <reference path="./v0.1" />
|
|
27
|
-
~~~~~~
|
|
28
|
-
!!! @definitelytyped/no-bad-reference: The reference "./v0.1" resolves outside of the package. Use a global reference to reference other packages.
|
|
29
|
-
/// <reference path="./v0.1/index" />
|
|
30
|
-
~~~~~~~~~~~~
|
|
31
|
-
!!! @definitelytyped/no-bad-reference: The reference "./v0.1/index" resolves outside of the package. Use a global reference to reference other packages.
|
|
32
|
-
/// <reference path="other" />
|
|
33
|
-
/// <reference path="./other" />
|
|
34
|
-
/// <reference path="./v1gardenpath" />
|
|
35
|
-
/// <reference path="./v1verb/other" />
|
|
36
|
-
/// <reference path="other" />
|
|
37
|
-
/// <reference path="other2" />
|
|
38
|
-
/// <reference path="..\index.d.ts" />
|
|
39
|
-
~~~~~~~~~~~~~
|
|
40
|
-
!!! @definitelytyped/no-bad-reference: Use forward slashes in paths.
|
|
41
|
-
|
|
42
|
-
// unrelated comment
|
|
43
|
-
/// similar (reference path) comment
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
types/no-bad-reference/no-bad-reference-tests.ts
|
|
2
|
-
1:22 error The path reference "../other" is disallowed outside declaration files. Use "<reference types>" or include the file in tsconfig instead @definitelytyped/no-bad-reference
|
|
3
|
-
2:22 error The path reference "other" is disallowed outside declaration files. Use "<reference types>" or include the file in tsconfig instead @definitelytyped/no-bad-reference
|
|
4
|
-
|
|
5
|
-
✖ 2 problems (2 errors, 0 warnings)
|
|
6
|
-
|
|
7
|
-
==== types/no-bad-reference/no-bad-reference-tests.ts ====
|
|
8
|
-
|
|
9
|
-
/// <reference path="../other" />
|
|
10
|
-
~~~~~~~~
|
|
11
|
-
!!! @definitelytyped/no-bad-reference: The path reference "../other" is disallowed outside declaration files. Use "<reference types>" or include the file in tsconfig instead.
|
|
12
|
-
/// <reference path="other" />
|
|
13
|
-
~~~~~
|
|
14
|
-
!!! @definitelytyped/no-bad-reference: The path reference "other" is disallowed outside declaration files. Use "<reference types>" or include the file in tsconfig instead.
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
types/no-bad-reference/v0.1/index.d.ts
|
|
2
|
-
1:22 error The reference "../../foo/index.d.ts" resolves outside of the package. Use a global reference to reference other packages @definitelytyped/no-bad-reference
|
|
3
|
-
2:22 error The reference "../v1/index.d.ts" resolves outside of the package. Use a global reference to reference other packages @definitelytyped/no-bad-reference
|
|
4
|
-
3:22 error The reference "../../foo/v0.1/index.d.ts" resolves outside of the package. Use a global reference to reference other packages @definitelytyped/no-bad-reference
|
|
5
|
-
4:22 error The reference "../index.d.ts" resolves outside of the package. Use a global reference to reference other packages @definitelytyped/no-bad-reference
|
|
6
|
-
6:22 error The import "../../foo" resolves outside of the package. Use a bare import to reference other packages @definitelytyped/no-bad-reference
|
|
7
|
-
7:23 error The import "../v0.1" resolves to the current package, but uses relative paths @definitelytyped/no-bad-reference
|
|
8
|
-
8:23 error The import "../../foo/v0.1" resolves outside of the package. Use a bare import to reference other packages @definitelytyped/no-bad-reference
|
|
9
|
-
9:22 error The import "../index" resolves outside of the package. Use a bare import to reference other packages @definitelytyped/no-bad-reference
|
|
10
|
-
14:22 error The import "../index" resolves outside of the package. Use a bare import to reference other packages @definitelytyped/no-bad-reference
|
|
11
|
-
|
|
12
|
-
✖ 9 problems (9 errors, 0 warnings)
|
|
13
|
-
|
|
14
|
-
==== types/no-bad-reference/v0.1/index.d.ts ====
|
|
15
|
-
|
|
16
|
-
/// <reference path="../../foo/index.d.ts" />
|
|
17
|
-
~~~~~~~~~~~~~~~~~~~~
|
|
18
|
-
!!! @definitelytyped/no-bad-reference: The reference "../../foo/index.d.ts" resolves outside of the package. Use a global reference to reference other packages.
|
|
19
|
-
/// <reference path="../v1/index.d.ts" />
|
|
20
|
-
~~~~~~~~~~~~~~~~
|
|
21
|
-
!!! @definitelytyped/no-bad-reference: The reference "../v1/index.d.ts" resolves outside of the package. Use a global reference to reference other packages.
|
|
22
|
-
/// <reference path="../../foo/v0.1/index.d.ts" />
|
|
23
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
24
|
-
!!! @definitelytyped/no-bad-reference: The reference "../../foo/v0.1/index.d.ts" resolves outside of the package. Use a global reference to reference other packages.
|
|
25
|
-
/// <reference path="../index.d.ts" />
|
|
26
|
-
~~~~~~~~~~~~~
|
|
27
|
-
!!! @definitelytyped/no-bad-reference: The reference "../index.d.ts" resolves outside of the package. Use a global reference to reference other packages.
|
|
28
|
-
|
|
29
|
-
import * as foo from "../../foo";
|
|
30
|
-
~~~~~~~~~~~
|
|
31
|
-
!!! @definitelytyped/no-bad-reference: The import "../../foo" resolves outside of the package. Use a bare import to reference other packages.
|
|
32
|
-
import * as foo2 from "../v0.1";
|
|
33
|
-
~~~~~~~~~
|
|
34
|
-
!!! @definitelytyped/no-bad-reference: The import "../v0.1" resolves to the current package, but uses relative paths.
|
|
35
|
-
import * as foo3 from "../../foo/v0.1";
|
|
36
|
-
~~~~~~~~~~~~~~~~
|
|
37
|
-
!!! @definitelytyped/no-bad-reference: The import "../../foo/v0.1" resolves outside of the package. Use a bare import to reference other packages.
|
|
38
|
-
import * as va4 from "../index";
|
|
39
|
-
~~~~~~~~~~
|
|
40
|
-
!!! @definitelytyped/no-bad-reference: The import "../index" resolves outside of the package. Use a bare import to reference other packages.
|
|
41
|
-
|
|
42
|
-
declare module "no-relative-references" {
|
|
43
|
-
import A = require("no-relative-references/blah"); // Okay; relative
|
|
44
|
-
import B = require("no-relative-references/v0.1"); // Okay; no versioned dir here
|
|
45
|
-
import C = require("../index"); // Bad; parent dir
|
|
46
|
-
~~~~~~~~~~
|
|
47
|
-
!!! @definitelytyped/no-bad-reference: The import "../index" resolves outside of the package. Use a bare import to reference other packages.
|
|
48
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
types/no-bad-reference/v0.1/no-bad-reference-tests.ts
|
|
2
|
-
1:1 error File has no content @definitelytyped/no-useless-files
|
|
3
|
-
|
|
4
|
-
✖ 1 problem (1 error, 0 warnings)
|
|
5
|
-
|
|
6
|
-
==== types/no-bad-reference/v0.1/no-bad-reference-tests.ts ====
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
~
|
|
10
|
-
!!! @definitelytyped/no-useless-files: File has no content.
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
types/no-bad-reference/v11/index.d.ts
|
|
2
|
-
1:22 error The reference "../../foo/index.d.ts" resolves outside of the package. Use a global reference to reference other packages @definitelytyped/no-bad-reference
|
|
3
|
-
2:22 error The reference "../v11/index.d.ts" resolves to the current package, but uses relative paths @definitelytyped/no-bad-reference
|
|
4
|
-
3:22 error The reference "../../foo/v1/index.d.ts" resolves outside of the package. Use a global reference to reference other packages @definitelytyped/no-bad-reference
|
|
5
|
-
4:22 error The reference "../index.d.ts" resolves outside of the package. Use a global reference to reference other packages @definitelytyped/no-bad-reference
|
|
6
|
-
6:22 error The import "../../foo" resolves outside of the package. Use a bare import to reference other packages @definitelytyped/no-bad-reference
|
|
7
|
-
7:23 error The import "../v11" resolves to the current package, but uses relative paths @definitelytyped/no-bad-reference
|
|
8
|
-
8:23 error The import "../../foo/v11" resolves outside of the package. Use a bare import to reference other packages @definitelytyped/no-bad-reference
|
|
9
|
-
9:22 error The import "../index" resolves outside of the package. Use a bare import to reference other packages @definitelytyped/no-bad-reference
|
|
10
|
-
14:22 error The import "../index" resolves outside of the package. Use a bare import to reference other packages @definitelytyped/no-bad-reference
|
|
11
|
-
|
|
12
|
-
✖ 9 problems (9 errors, 0 warnings)
|
|
13
|
-
|
|
14
|
-
==== types/no-bad-reference/v11/index.d.ts ====
|
|
15
|
-
|
|
16
|
-
/// <reference path="../../foo/index.d.ts" />
|
|
17
|
-
~~~~~~~~~~~~~~~~~~~~
|
|
18
|
-
!!! @definitelytyped/no-bad-reference: The reference "../../foo/index.d.ts" resolves outside of the package. Use a global reference to reference other packages.
|
|
19
|
-
/// <reference path="../v11/index.d.ts" />
|
|
20
|
-
~~~~~~~~~~~~~~~~~
|
|
21
|
-
!!! @definitelytyped/no-bad-reference: The reference "../v11/index.d.ts" resolves to the current package, but uses relative paths.
|
|
22
|
-
/// <reference path="../../foo/v1/index.d.ts" />
|
|
23
|
-
~~~~~~~~~~~~~~~~~~~~~~~
|
|
24
|
-
!!! @definitelytyped/no-bad-reference: The reference "../../foo/v1/index.d.ts" resolves outside of the package. Use a global reference to reference other packages.
|
|
25
|
-
/// <reference path="../index.d.ts" />
|
|
26
|
-
~~~~~~~~~~~~~
|
|
27
|
-
!!! @definitelytyped/no-bad-reference: The reference "../index.d.ts" resolves outside of the package. Use a global reference to reference other packages.
|
|
28
|
-
|
|
29
|
-
import * as foo from "../../foo";
|
|
30
|
-
~~~~~~~~~~~
|
|
31
|
-
!!! @definitelytyped/no-bad-reference: The import "../../foo" resolves outside of the package. Use a bare import to reference other packages.
|
|
32
|
-
import * as foo2 from "../v11";
|
|
33
|
-
~~~~~~~~
|
|
34
|
-
!!! @definitelytyped/no-bad-reference: The import "../v11" resolves to the current package, but uses relative paths.
|
|
35
|
-
import * as foo3 from "../../foo/v11";
|
|
36
|
-
~~~~~~~~~~~~~~~
|
|
37
|
-
!!! @definitelytyped/no-bad-reference: The import "../../foo/v11" resolves outside of the package. Use a bare import to reference other packages.
|
|
38
|
-
import * as va4 from "../index";
|
|
39
|
-
~~~~~~~~~~
|
|
40
|
-
!!! @definitelytyped/no-bad-reference: The import "../index" resolves outside of the package. Use a bare import to reference other packages.
|
|
41
|
-
|
|
42
|
-
declare module "no-relative-references" {
|
|
43
|
-
import A = require("no-relative-references/blah"); // Okay; relative
|
|
44
|
-
import B = require("no-relative-references/v11"); // Okay; no versioned dir here
|
|
45
|
-
import C = require("../index"); // Bad; parent dir
|
|
46
|
-
~~~~~~~~~~
|
|
47
|
-
!!! @definitelytyped/no-bad-reference: The import "../index" resolves outside of the package. Use a bare import to reference other packages.
|
|
48
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
types/no-bad-reference/v11/no-bad-reference-tests.ts
|
|
2
|
-
1:1 error File has no content @definitelytyped/no-useless-files
|
|
3
|
-
|
|
4
|
-
✖ 1 problem (1 error, 0 warnings)
|
|
5
|
-
|
|
6
|
-
==== types/no-bad-reference/v11/no-bad-reference-tests.ts ====
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
~
|
|
10
|
-
!!! @definitelytyped/no-useless-files: File has no content.
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
types/no-const-enum/bad.d.ts
|
|
2
|
-
1:1 error Use of `const enum` is forbidden @definitelytyped/no-const-enum
|
|
3
|
-
|
|
4
|
-
✖ 1 problem (1 error, 0 warnings)
|
|
5
|
-
|
|
6
|
-
==== types/no-const-enum/bad.d.ts ====
|
|
7
|
-
|
|
8
|
-
const enum E { }
|
|
9
|
-
~~~~~~~~~~~~~~~~
|
|
10
|
-
!!! @definitelytyped/no-const-enum: Use of `const enum` is forbidden.
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
types/no-const-enum/no-const-enum-tests.ts
|
|
2
|
-
1:1 error File has no content @definitelytyped/no-useless-files
|
|
3
|
-
|
|
4
|
-
✖ 1 problem (1 error, 0 warnings)
|
|
5
|
-
|
|
6
|
-
==== types/no-const-enum/no-const-enum-tests.ts ====
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
~
|
|
10
|
-
!!! @definitelytyped/no-useless-files: File has no content.
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
types/no-dead-reference/bad.d.ts
|
|
2
|
-
2:1 error `/// <reference>` directive must be at top of file to take effect @definitelytyped/no-dead-reference
|
|
3
|
-
6:1 error `/// <reference>` directive must be at top of file to take effect @definitelytyped/no-dead-reference
|
|
4
|
-
|
|
5
|
-
✖ 2 problems (2 errors, 0 warnings)
|
|
6
|
-
|
|
7
|
-
==== types/no-dead-reference/bad.d.ts ====
|
|
8
|
-
|
|
9
|
-
export class C { }
|
|
10
|
-
/// <reference types="terms" />
|
|
11
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
12
|
-
!!! @definitelytyped/no-dead-reference: `/// <reference>` directive must be at top of file to take effect.
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
/// <reference types="blah" />
|
|
17
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
18
|
-
!!! @definitelytyped/no-dead-reference: `/// <reference>` directive must be at top of file to take effect.
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
types/no-dead-reference/bad2.d.ts
|
|
2
|
-
2:1 error `/// <reference>` directive must be at top of file to take effect @definitelytyped/no-dead-reference
|
|
3
|
-
3:1 error `/// <reference>` directive must be at top of file to take effect @definitelytyped/no-dead-reference
|
|
4
|
-
|
|
5
|
-
✖ 2 problems (2 errors, 0 warnings)
|
|
6
|
-
|
|
7
|
-
==== types/no-dead-reference/bad2.d.ts ====
|
|
8
|
-
|
|
9
|
-
export class C { }
|
|
10
|
-
/// <reference types="terms" />
|
|
11
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
12
|
-
!!! @definitelytyped/no-dead-reference: `/// <reference>` directive must be at top of file to take effect.
|
|
13
|
-
/// <reference types="multiple" />
|
|
14
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
15
|
-
!!! @definitelytyped/no-dead-reference: `/// <reference>` directive must be at top of file to take effect.
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
types/no-dead-reference/bad3.d.ts
|
|
2
|
-
2:1 error `/// <reference>` directive must be at top of file to take effect @definitelytyped/no-dead-reference
|
|
3
|
-
4:1 error `/// <reference>` directive must be at top of file to take effect @definitelytyped/no-dead-reference
|
|
4
|
-
|
|
5
|
-
✖ 2 problems (2 errors, 0 warnings)
|
|
6
|
-
|
|
7
|
-
==== types/no-dead-reference/bad3.d.ts ====
|
|
8
|
-
|
|
9
|
-
export class C { }
|
|
10
|
-
/// <reference types="terms" />
|
|
11
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
12
|
-
!!! @definitelytyped/no-dead-reference: `/// <reference>` directive must be at top of file to take effect.
|
|
13
|
-
export class D { }
|
|
14
|
-
/// <reference types="multiple" />
|
|
15
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
16
|
-
!!! @definitelytyped/no-dead-reference: `/// <reference>` directive must be at top of file to take effect.
|
|
17
|
-
export class E { }
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
types/no-dead-reference/no-dead-reference-tests.ts
|
|
2
|
-
1:1 error File has no content @definitelytyped/no-useless-files
|
|
3
|
-
|
|
4
|
-
✖ 1 problem (1 error, 0 warnings)
|
|
5
|
-
|
|
6
|
-
==== types/no-dead-reference/no-dead-reference-tests.ts ====
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
~
|
|
10
|
-
!!! @definitelytyped/no-useless-files: File has no content.
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
types/no-declare-current-package/index.d.ts
|
|
2
|
-
1:16 error File has only 1 ambient module declaration. Move the contents outside the ambient module block, rename the file to match the ambient module name, and remove the block @definitelytyped/no-single-declare-module
|
|
3
|
-
1:16 error Instead of declaring a module with `declare module "no-declare-current-package"`, write its contents in directly in "index.d.ts" @definitelytyped/no-declare-current-package
|
|
4
|
-
|
|
5
|
-
✖ 2 problems (2 errors, 0 warnings)
|
|
6
|
-
|
|
7
|
-
==== types/no-declare-current-package/index.d.ts ====
|
|
8
|
-
|
|
9
|
-
declare module "no-declare-current-package" { }
|
|
10
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
11
|
-
!!! @definitelytyped/no-single-declare-module: File has only 1 ambient module declaration. Move the contents outside the ambient module block, rename the file to match the ambient module name, and remove the block.
|
|
12
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
13
|
-
!!! @definitelytyped/no-declare-current-package: Instead of declaring a module with `declare module "no-declare-current-package"`, write its contents in directly in "index.d.ts".
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
types/no-declare-current-package/no-declare-current-package-tests.ts
|
|
2
|
-
1:1 error File has no content @definitelytyped/no-useless-files
|
|
3
|
-
|
|
4
|
-
✖ 1 problem (1 error, 0 warnings)
|
|
5
|
-
|
|
6
|
-
==== types/no-declare-current-package/no-declare-current-package-tests.ts ====
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
~
|
|
10
|
-
!!! @definitelytyped/no-useless-files: File has no content.
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
types/no-declare-current-package/test/deep/import.d.ts
|
|
2
|
-
1:16 error File has only 1 ambient module declaration. Move the contents outside the ambient module block, rename the file to match the ambient module name, and remove the block @definitelytyped/no-single-declare-module
|
|
3
|
-
1:16 error Instead of declaring a module with `declare module "no-declare-current-package/deep/import"`, write its contents in directly in "no-declare-current-package/deep/import.d.ts" or "no-declare-current-package/deep/import/index.d.ts" @definitelytyped/no-declare-current-package
|
|
4
|
-
|
|
5
|
-
✖ 2 problems (2 errors, 0 warnings)
|
|
6
|
-
|
|
7
|
-
==== types/no-declare-current-package/test/deep/import.d.ts ====
|
|
8
|
-
|
|
9
|
-
declare module "no-declare-current-package/deep/import" { }
|
|
10
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
11
|
-
!!! @definitelytyped/no-single-declare-module: File has only 1 ambient module declaration. Move the contents outside the ambient module block, rename the file to match the ambient module name, and remove the block.
|
|
12
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
13
|
-
!!! @definitelytyped/no-declare-current-package: Instead of declaring a module with `declare module "no-declare-current-package/deep/import"`, write its contents in directly in "no-declare-current-package/deep/import.d.ts" or "no-declare-current-package/deep/import/index.d.ts".
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
types/no-declare-current-package-other/no-declare-current-package-other-tests.ts
|
|
2
|
-
1:1 error File has no content @definitelytyped/no-useless-files
|
|
3
|
-
|
|
4
|
-
✖ 1 problem (1 error, 0 warnings)
|
|
5
|
-
|
|
6
|
-
==== types/no-declare-current-package-other/no-declare-current-package-other-tests.ts ====
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
~
|
|
10
|
-
!!! @definitelytyped/no-useless-files: File has no content.
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
types/no-import-default-of-export-equals/bad.d.ts
|
|
2
|
-
7:12 error The module a uses `export = `. Import with `import a = require(a)` @definitelytyped/no-import-default-of-export-equals
|
|
3
|
-
|
|
4
|
-
✖ 1 problem (1 error, 0 warnings)
|
|
5
|
-
|
|
6
|
-
==== types/no-import-default-of-export-equals/bad.d.ts ====
|
|
7
|
-
|
|
8
|
-
declare module "a" {
|
|
9
|
-
interface I { i: any }
|
|
10
|
-
export = I;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
declare module "b" {
|
|
14
|
-
import a from "a";
|
|
15
|
-
~
|
|
16
|
-
!!! @definitelytyped/no-import-default-of-export-equals: The module a uses `export = `. Import with `import a = require(a)`.
|
|
17
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
types/no-import-default-of-export-equals/no-import-default-of-export-equals-tests.ts
|
|
2
|
-
1:1 error File has no content @definitelytyped/no-useless-files
|
|
3
|
-
|
|
4
|
-
✖ 1 problem (1 error, 0 warnings)
|
|
5
|
-
|
|
6
|
-
==== types/no-import-default-of-export-equals/no-import-default-of-export-equals-tests.ts ====
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
~
|
|
10
|
-
!!! @definitelytyped/no-useless-files: File has no content.
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
types/no-import-of-dev-dependencies/bad.d.ts
|
|
2
|
-
1:1 error Do not use a triple slash reference for devdep, use `import` style instead @typescript-eslint/triple-slash-reference
|
|
3
|
-
1:1 error Do not use a triple slash reference for devdep, use `import` style instead @typescript-eslint/triple-slash-reference
|
|
4
|
-
1:21 error .d.ts files may not triple-slash reference packages in devDependencies @definitelytyped/no-import-of-dev-dependencies
|
|
5
|
-
2:1 error Do not use a triple slash reference for otherdevdep, use `import` style instead @typescript-eslint/triple-slash-reference
|
|
6
|
-
2:1 error Do not use a triple slash reference for otherdevdep, use `import` style instead @typescript-eslint/triple-slash-reference
|
|
7
|
-
2:21 error .d.ts files may not triple-slash reference packages in devDependencies @definitelytyped/no-import-of-dev-dependencies
|
|
8
|
-
4:1 error .d.ts files may not import packages in devDependencies @definitelytyped/no-import-of-dev-dependencies
|
|
9
|
-
5:1 error .d.ts files may not import packages in devDependencies @definitelytyped/no-import-of-dev-dependencies
|
|
10
|
-
7:1 error .d.ts files may not import packages in devDependencies @definitelytyped/no-import-of-dev-dependencies
|
|
11
|
-
8:1 error .d.ts files may not import packages in devDependencies @definitelytyped/no-import-of-dev-dependencies
|
|
12
|
-
|
|
13
|
-
✖ 10 problems (10 errors, 0 warnings)
|
|
14
|
-
|
|
15
|
-
==== types/no-import-of-dev-dependencies/bad.d.ts ====
|
|
16
|
-
|
|
17
|
-
/// <reference types="devdep"/>
|
|
18
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
19
|
-
!!! @typescript-eslint/triple-slash-reference: Do not use a triple slash reference for devdep, use `import` style instead.
|
|
20
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
21
|
-
!!! @typescript-eslint/triple-slash-reference: Do not use a triple slash reference for devdep, use `import` style instead.
|
|
22
|
-
~~~~~~
|
|
23
|
-
!!! @definitelytyped/no-import-of-dev-dependencies: .d.ts files may not triple-slash reference packages in devDependencies.
|
|
24
|
-
/// <reference types="otherdevdep"/>
|
|
25
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
26
|
-
!!! @typescript-eslint/triple-slash-reference: Do not use a triple slash reference for otherdevdep, use `import` style instead.
|
|
27
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
28
|
-
!!! @typescript-eslint/triple-slash-reference: Do not use a triple slash reference for otherdevdep, use `import` style instead.
|
|
29
|
-
~~~~~~~~~~~
|
|
30
|
-
!!! @definitelytyped/no-import-of-dev-dependencies: .d.ts files may not triple-slash reference packages in devDependencies.
|
|
31
|
-
|
|
32
|
-
import devdep from "devdep";
|
|
33
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
34
|
-
!!! @definitelytyped/no-import-of-dev-dependencies: .d.ts files may not import packages in devDependencies.
|
|
35
|
-
import * as otherdevdep from "otherdevdep";
|
|
36
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
37
|
-
!!! @definitelytyped/no-import-of-dev-dependencies: .d.ts files may not import packages in devDependencies.
|
|
38
|
-
|
|
39
|
-
import devdep2 = require("devdep");
|
|
40
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
41
|
-
!!! @definitelytyped/no-import-of-dev-dependencies: .d.ts files may not import packages in devDependencies.
|
|
42
|
-
import otherdevdep2 = require("otherdevdep");
|
|
43
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
44
|
-
!!! @definitelytyped/no-import-of-dev-dependencies: .d.ts files may not import packages in devDependencies.
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
types/no-import-of-dev-dependencies/index.d.ts
|
|
2
|
-
1:1 error Do not use a triple slash reference for other, use `import` style instead @typescript-eslint/triple-slash-reference
|
|
3
|
-
1:1 error Do not use a triple slash reference for other, use `import` style instead @typescript-eslint/triple-slash-reference
|
|
4
|
-
4:1 error Declaration file should not use a global import of itself. Use a relative import @definitelytyped/no-self-import
|
|
5
|
-
7:1 error Declaration file should not use a global import of itself. Use a relative import @definitelytyped/no-self-import
|
|
6
|
-
|
|
7
|
-
✖ 4 problems (4 errors, 0 warnings)
|
|
8
|
-
|
|
9
|
-
==== types/no-import-of-dev-dependencies/index.d.ts ====
|
|
10
|
-
|
|
11
|
-
/// <reference types="other"/>
|
|
12
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
13
|
-
!!! @typescript-eslint/triple-slash-reference: Do not use a triple slash reference for other, use `import` style instead.
|
|
14
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
15
|
-
!!! @typescript-eslint/triple-slash-reference: Do not use a triple slash reference for other, use `import` style instead.
|
|
16
|
-
|
|
17
|
-
import other from "other";
|
|
18
|
-
import self from "no-import-of-dev-dependencies";
|
|
19
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
20
|
-
!!! @definitelytyped/no-self-import: Declaration file should not use a global import of itself. Use a relative import.
|
|
21
|
-
|
|
22
|
-
import other2 = require("other");
|
|
23
|
-
import self2 = require("no-import-of-dev-dependencies");
|
|
24
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
25
|
-
!!! @definitelytyped/no-self-import: Declaration file should not use a global import of itself. Use a relative import.
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
types/no-import-of-dev-dependencies/no-import-of-dev-dependencies-tests.ts
|
|
2
|
-
1:1 error Do not use a triple slash reference for devdep, use `import` style instead @typescript-eslint/triple-slash-reference
|
|
3
|
-
1:1 error Do not use a triple slash reference for devdep, use `import` style instead @typescript-eslint/triple-slash-reference
|
|
4
|
-
2:1 error Do not use a triple slash reference for otherdevdep, use `import` style instead @typescript-eslint/triple-slash-reference
|
|
5
|
-
2:1 error Do not use a triple slash reference for otherdevdep, use `import` style instead @typescript-eslint/triple-slash-reference
|
|
6
|
-
3:1 error Do not use a triple slash reference for other, use `import` style instead @typescript-eslint/triple-slash-reference
|
|
7
|
-
3:1 error Do not use a triple slash reference for other, use `import` style instead @typescript-eslint/triple-slash-reference
|
|
8
|
-
|
|
9
|
-
✖ 6 problems (6 errors, 0 warnings)
|
|
10
|
-
|
|
11
|
-
==== types/no-import-of-dev-dependencies/no-import-of-dev-dependencies-tests.ts ====
|
|
12
|
-
|
|
13
|
-
/// <reference types="devdep"/>
|
|
14
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
15
|
-
!!! @typescript-eslint/triple-slash-reference: Do not use a triple slash reference for devdep, use `import` style instead.
|
|
16
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
17
|
-
!!! @typescript-eslint/triple-slash-reference: Do not use a triple slash reference for devdep, use `import` style instead.
|
|
18
|
-
/// <reference types="otherdevdep"/>
|
|
19
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
20
|
-
!!! @typescript-eslint/triple-slash-reference: Do not use a triple slash reference for otherdevdep, use `import` style instead.
|
|
21
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
22
|
-
!!! @typescript-eslint/triple-slash-reference: Do not use a triple slash reference for otherdevdep, use `import` style instead.
|
|
23
|
-
/// <reference types="other"/>
|
|
24
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
25
|
-
!!! @typescript-eslint/triple-slash-reference: Do not use a triple slash reference for other, use `import` style instead.
|
|
26
|
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
27
|
-
!!! @typescript-eslint/triple-slash-reference: Do not use a triple slash reference for other, use `import` style instead.
|
|
28
|
-
|
|
29
|
-
import other from "other";
|
|
30
|
-
import self from "no-import-of-dev-dependencies";
|
|
31
|
-
|
|
32
|
-
import devdep from "devdep";
|
|
33
|
-
import * as otherdevdep from "otherdevdep";
|
|
34
|
-
|
|
35
|
-
import other2 = require("other");
|
|
36
|
-
import self2 = require("no-import-of-dev-dependencies");
|
|
37
|
-
|
|
38
|
-
import devdep2 = require("devdep");
|
|
39
|
-
import otherdevdep2 = require("otherdevdep");
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
types/no-old-dt-header/index.d.ts
|
|
2
|
-
1:1 error Specify package metadata in package.json. Do not use a header like `// Type definitions for foo 1.2` @definitelytyped/no-old-dt-header
|
|
3
|
-
|
|
4
|
-
✖ 1 problem (1 error, 0 warnings)
|
|
5
|
-
|
|
6
|
-
==== types/no-old-dt-header/index.d.ts ====
|
|
7
|
-
|
|
8
|
-
// Type definitions for AFRAME 1.2
|
|
9
|
-
~~~~~~~~~~~~~~~~~~~~~~~~
|
|
10
|
-
!!! @definitelytyped/no-old-dt-header: Specify package metadata in package.json. Do not use a header like `// Type definitions for foo 1.2`
|
|
11
|
-
// Project: https://aframe.io/
|
|
12
|
-
// Definitions by: Paul Shannon <https://github.com/devpaul>
|
|
13
|
-
// Roberto Ritger <https://github.com/bertoritger>
|
|
14
|
-
// Trygve Wastvedt <https://github.com/twastvedt>
|
|
15
|
-
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
16
|
-
// TypeScript Version: 4.4
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Extended tests and examples available at https://github.com/devpaul/aframe-experiments.git
|
|
20
|
-
*/
|
|
21
|
-
|
|
22
|
-
import * as anime from "animejs";
|
|
23
|
-
import * as three from "three";
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
types/no-old-dt-header/index2.d.ts
|
|
2
|
-
1:1 error File has no content @definitelytyped/no-useless-files
|
|
3
|
-
1:1 error Specify package metadata in package.json. Do not use a header like `// Type definitions for foo 1.2` @definitelytyped/no-old-dt-header
|
|
4
|
-
|
|
5
|
-
✖ 2 problems (2 errors, 0 warnings)
|
|
6
|
-
|
|
7
|
-
==== types/no-old-dt-header/index2.d.ts ====
|
|
8
|
-
|
|
9
|
-
// Type definitions for AFRAME 1.2
|
|
10
|
-
~
|
|
11
|
-
!!! @definitelytyped/no-useless-files: File has no content.
|
|
12
|
-
~~~~~~~~~~~~~~~~~~~~~~~~
|
|
13
|
-
!!! @definitelytyped/no-old-dt-header: Specify package metadata in package.json. Do not use a header like `// Type definitions for foo 1.2`
|
|
14
|
-
// Definitions by: Paul Shannon <https://github.com/devpaul>
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
types/no-old-dt-header/no-old-dt-header-tests.ts
|
|
2
|
-
1:1 error File has no content @definitelytyped/no-useless-files
|
|
3
|
-
|
|
4
|
-
✖ 1 problem (1 error, 0 warnings)
|
|
5
|
-
|
|
6
|
-
==== types/no-old-dt-header/no-old-dt-header-tests.ts ====
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
~
|
|
10
|
-
!!! @definitelytyped/no-useless-files: File has no content.
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
types/no-old-dt-header/ok1.ts
|
|
2
|
-
1:1 error File has no content @definitelytyped/no-useless-files
|
|
3
|
-
|
|
4
|
-
✖ 1 problem (1 error, 0 warnings)
|
|
5
|
-
|
|
6
|
-
==== types/no-old-dt-header/ok1.ts ====
|
|
7
|
-
|
|
8
|
-
// Type definitions for AFRAME 1.2
|
|
9
|
-
~
|
|
10
|
-
!!! @definitelytyped/no-useless-files: File has no content.
|
|
11
|
-
// Definitions by: Paul Shannon <https://github.com/devpaul>
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
types/no-old-dt-header/ok2.d.ts
|
|
2
|
-
1:1 error File has no content @definitelytyped/no-useless-files
|
|
3
|
-
|
|
4
|
-
✖ 1 problem (1 error, 0 warnings)
|
|
5
|
-
|
|
6
|
-
==== types/no-old-dt-header/ok2.d.ts ====
|
|
7
|
-
|
|
8
|
-
// Type definitions for AFRAME 1.2
|
|
9
|
-
~
|
|
10
|
-
!!! @definitelytyped/no-useless-files: File has no content.
|