mirror of
https://github.com/chenasraf/DefinitelyTyped.git
synced 2026-05-18 01:49:01 +00:00
Port no-declare-current-package (#64854)
* Port no-declare-current-package Depends on https://github.com/microsoft/DefinitelyTyped-tools/pull/645 * add no-single-declare-module exemptions
This commit is contained in:
committed by
GitHub
parent
3e4c9a82ff
commit
ef0961aa77
@@ -16,6 +16,7 @@
|
||||
"no-any-union": "error",
|
||||
"no-bad-reference": "error",
|
||||
"no-dead-reference": "error",
|
||||
"no-declare-current-package": "error",
|
||||
"no-unnecessary-generics": "error",
|
||||
"no-const-enum": "error",
|
||||
"no-useless-files": "error",
|
||||
|
||||
5
types/actioncable/.eslintrc.json
Normal file
5
types/actioncable/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
@@ -2,7 +2,6 @@
|
||||
"extends": "@definitelytyped/dtslint/dt.json",
|
||||
"rules": {
|
||||
"ban-types": false,
|
||||
"no-declare-current-package": false,
|
||||
"no-internal-module": false,
|
||||
"no-single-declare-module": false,
|
||||
"strict-export-declare-modifiers": false,
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"rules": {
|
||||
"dt-header": "off",
|
||||
"no-unnecessary-generics": "off"
|
||||
"no-unnecessary-generics": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
"ban-types": false,
|
||||
"comment-format": false,
|
||||
"interface-over-type-literal": false,
|
||||
"no-declare-current-package": false,
|
||||
"no-inferrable-types": false,
|
||||
"no-padding": false,
|
||||
"no-unnecessary-qualifier": false,
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"rules": {
|
||||
"dt-header": "off"
|
||||
"dt-header": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
"rules": {
|
||||
"array-type": false,
|
||||
"ban-types": false,
|
||||
"no-declare-current-package": false,
|
||||
"no-duplicate-imports": false,
|
||||
"no-padding": false,
|
||||
"no-single-declare-module": false,
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"rules": {
|
||||
"dt-header": "off",
|
||||
"trim-file": "off"
|
||||
"trim-file": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
"comment-format": false,
|
||||
"interface-name": false,
|
||||
"no-consecutive-blank-lines": false,
|
||||
"no-declare-current-package": false,
|
||||
"no-padding": false,
|
||||
"no-unnecessary-class": false,
|
||||
"no-var-keyword": false,
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-unnecessary-generics": "off"
|
||||
"no-unnecessary-generics": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
"extends": "@definitelytyped/dtslint/dt.json",
|
||||
"rules": {
|
||||
"interface-name": false,
|
||||
"no-declare-current-package": false,
|
||||
"only-arrow-functions": false
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"rules": {
|
||||
"dt-header": "off",
|
||||
"trim-file": "off",
|
||||
"no-any-union": "off"
|
||||
"no-any-union": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
"rules": {
|
||||
"interface-name": false,
|
||||
"no-consecutive-blank-lines": false,
|
||||
"no-declare-current-package": false,
|
||||
"no-padding": false,
|
||||
"no-redundant-jsdoc-2": false,
|
||||
"no-reference-import": false,
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"rules": {
|
||||
"dt-header": "off"
|
||||
"dt-header": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
"rules": {
|
||||
"array-type": false,
|
||||
"member-access": false,
|
||||
"no-declare-current-package": false,
|
||||
"no-single-declare-module": false,
|
||||
"no-var-keyword": false,
|
||||
"object-literal-key-quotes": false,
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"rules": {
|
||||
"dt-header": "off",
|
||||
"trim-file": "off"
|
||||
"trim-file": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
"extends": "@definitelytyped/dtslint/dt.json",
|
||||
"rules": {
|
||||
"no-consecutive-blank-lines": false,
|
||||
"no-declare-current-package": false,
|
||||
"no-single-declare-module": false,
|
||||
"one-line": false,
|
||||
"only-arrow-functions": false,
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"rules": {
|
||||
"dt-header": "off",
|
||||
"trim-file": "off"
|
||||
"trim-file": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
"rules": {
|
||||
"ban-types": false,
|
||||
"no-consecutive-blank-lines": false,
|
||||
"no-declare-current-package": false,
|
||||
"no-single-declare-module": false,
|
||||
"no-trailing-whitespace": false,
|
||||
"no-var-keyword": false,
|
||||
|
||||
2
types/atom/autocomplete-plus/config.d.ts
vendored
2
types/atom/autocomplete-plus/config.d.ts
vendored
@@ -1,7 +1,7 @@
|
||||
import '../index';
|
||||
|
||||
// NOTE: intentional; needed for config extensibility
|
||||
// tslint:disable-next-line:no-declare-current-package
|
||||
// eslint-disable-next-line no-declare-current-package
|
||||
declare module 'atom' {
|
||||
interface ConfigValues {
|
||||
/**
|
||||
|
||||
2
types/atom/src/config-schema.d.ts
vendored
2
types/atom/src/config-schema.d.ts
vendored
@@ -13,7 +13,7 @@ export interface ConfigValues {
|
||||
}
|
||||
|
||||
// NOTE: A hack to make ConfigValues extensible
|
||||
// tslint:disable-next-line:no-declare-current-package
|
||||
// eslint-disable-next-line no-declare-current-package
|
||||
declare module 'atom' {
|
||||
interface ConfigValues {
|
||||
/**
|
||||
|
||||
5
types/auth0-lock/.eslintrc.json
Normal file
5
types/auth0-lock/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,6 @@
|
||||
{
|
||||
"extends": "@definitelytyped/dtslint/dt.json",
|
||||
"rules": {
|
||||
"no-declare-current-package": false,
|
||||
"no-misused-new": false,
|
||||
"no-single-declare-module": false,
|
||||
"object-literal-shorthand": false,
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"rules": {
|
||||
"dt-header": "off",
|
||||
"trim-file": "off"
|
||||
"trim-file": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
"extends": "@definitelytyped/dtslint/dt.json",
|
||||
"rules": {
|
||||
"ban-types": false,
|
||||
"no-declare-current-package": false,
|
||||
"no-single-declare-module": false,
|
||||
"strict-export-declare-modifiers": false,
|
||||
"whitespace": false
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-unnecessary-generics": "off"
|
||||
"no-unnecessary-generics": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
"interface-name": false,
|
||||
"interface-over-type-literal": false,
|
||||
"member-access": false,
|
||||
"no-declare-current-package": false,
|
||||
"no-empty-interface": false,
|
||||
"no-single-declare-module": false,
|
||||
"npm-naming": false,
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"rules": {
|
||||
"dt-header": "off",
|
||||
"trim-file": "off",
|
||||
"no-any-union": "off"
|
||||
"no-any-union": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
"array-type": false,
|
||||
"ban-types": false,
|
||||
"no-consecutive-blank-lines": false,
|
||||
"no-declare-current-package": false,
|
||||
"no-padding": false,
|
||||
"no-single-declare-module": false,
|
||||
"no-var-keyword": false,
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"rules": {
|
||||
"dt-header": "off"
|
||||
"dt-header": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
"extends": "@definitelytyped/dtslint/dt.json",
|
||||
"rules": {
|
||||
"ban-types": false,
|
||||
"no-declare-current-package": false,
|
||||
"no-duplicate-variable": false,
|
||||
"no-mergeable-namespace": false,
|
||||
"no-padding": false,
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"rules": {
|
||||
"dt-header": "off",
|
||||
"trim-file": "off"
|
||||
"trim-file": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
"extends": "@definitelytyped/dtslint/dt.json",
|
||||
"rules": {
|
||||
"no-consecutive-blank-lines": false,
|
||||
"no-declare-current-package": false,
|
||||
"no-padding": false,
|
||||
"no-single-declare-module": false,
|
||||
"prefer-const": false,
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"rules": {
|
||||
"dt-header": "off"
|
||||
"dt-header": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{
|
||||
"extends": "@definitelytyped/dtslint/dt.json",
|
||||
"rules": {
|
||||
"no-declare-current-package": false,
|
||||
"no-padding": false,
|
||||
"no-single-declare-module": false
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"rules": {
|
||||
"dt-header": "off",
|
||||
"trim-file": "off"
|
||||
"trim-file": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
"extends": "@definitelytyped/dtslint/dt.json",
|
||||
"rules": {
|
||||
"no-consecutive-blank-lines": false,
|
||||
"no-declare-current-package": false,
|
||||
"no-padding": false,
|
||||
"no-single-declare-module": false,
|
||||
"no-var-keyword": false,
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"rules": {
|
||||
"dt-header": "off",
|
||||
"trim-file": "off"
|
||||
"trim-file": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
"jsdoc-format": false,
|
||||
"no-consecutive-blank-lines": false,
|
||||
"no-construct": false,
|
||||
"no-declare-current-package": false,
|
||||
"no-duplicate-variable": false,
|
||||
"no-empty-interface": false,
|
||||
"no-padding": false,
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"rules": {
|
||||
"dt-header": "off"
|
||||
"dt-header": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
"ban-types": false,
|
||||
"max-line-length": false,
|
||||
"no-consecutive-blank-lines": false,
|
||||
"no-declare-current-package": false,
|
||||
"no-single-declare-module": false,
|
||||
"no-var-keyword": false,
|
||||
"object-literal-key-quotes": false,
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"rules": {
|
||||
"dt-header": "off",
|
||||
"trim-file": "off",
|
||||
"no-unnecessary-generics": "off"
|
||||
"no-unnecessary-generics": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
"jsdoc-format": false,
|
||||
"max-line-length": false,
|
||||
"no-consecutive-blank-lines": false,
|
||||
"no-declare-current-package": false,
|
||||
"no-duplicate-variable": false,
|
||||
"no-empty-interface": false,
|
||||
"no-mergeable-namespace": false,
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"rules": {
|
||||
"dt-header": "off"
|
||||
"dt-header": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{
|
||||
"extends": "@definitelytyped/dtslint/dt.json",
|
||||
"rules": {
|
||||
"no-declare-current-package": false,
|
||||
"no-redundant-jsdoc-2": false,
|
||||
"no-single-declare-module": false,
|
||||
"no-var-keyword": false,
|
||||
|
||||
5
types/call-bind/.eslintrc.json
Normal file
5
types/call-bind/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
1
types/call-bind/callBound.d.ts
vendored
1
types/call-bind/callBound.d.ts
vendored
@@ -1,5 +1,4 @@
|
||||
// This is necessary to disallow import of `call-bind/callBound.js`:
|
||||
// tslint:disable-next-line: no-declare-current-package no-single-declare-module
|
||||
declare module 'call-bind/callBound' {
|
||||
import type { Intrinsics } from 'get-intrinsic';
|
||||
|
||||
|
||||
1
types/call-bind/index.d.ts
vendored
1
types/call-bind/index.d.ts
vendored
@@ -6,7 +6,6 @@
|
||||
// TypeScript Version: 3.9
|
||||
|
||||
// This is necessary to disallow import of `call-bind/index` or `call-bind/index.js`:
|
||||
// tslint:disable-next-line: no-declare-current-package no-single-declare-module
|
||||
declare module 'call-bind' {
|
||||
export = callBind;
|
||||
|
||||
|
||||
@@ -1 +1,6 @@
|
||||
{ "extends": "@definitelytyped/dtslint/dt.json" }
|
||||
{
|
||||
"extends": "@definitelytyped/dtslint/dt.json",
|
||||
"rules": {
|
||||
"no-single-declare-module": false
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"rules": {
|
||||
"dt-header": "off",
|
||||
"no-unnecessary-generics": "off"
|
||||
"no-unnecessary-generics": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
"rules": {
|
||||
"ban-types": false,
|
||||
"member-access": false,
|
||||
"no-declare-current-package": false,
|
||||
"no-padding": false,
|
||||
"no-single-declare-module": false,
|
||||
"no-var-keyword": false,
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"rules": {
|
||||
"trim-file": "off"
|
||||
"trim-file": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
"ban-types": false,
|
||||
"interface-name": false,
|
||||
"no-consecutive-blank-lines": false,
|
||||
"no-declare-current-package": false,
|
||||
"no-internal-module": false,
|
||||
"no-padding": false,
|
||||
"no-single-declare-module": false,
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"rules": {
|
||||
"dt-header": "off"
|
||||
"dt-header": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
"array-type": false,
|
||||
"ban-types": false,
|
||||
"member-access": false,
|
||||
"no-declare-current-package": false,
|
||||
"no-single-declare-module": false,
|
||||
"prefer-const": false,
|
||||
"semicolon": false,
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"rules": {
|
||||
"dt-header": "off"
|
||||
"dt-header": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
"rules": {
|
||||
"ban-types": false,
|
||||
"comment-format": false,
|
||||
"no-declare-current-package": false,
|
||||
"no-padding": false,
|
||||
"no-single-declare-module": false,
|
||||
"no-var-keyword": false,
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"rules": {
|
||||
"dt-header": "off"
|
||||
"dt-header": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{
|
||||
"extends": "@definitelytyped/dtslint/dt.json",
|
||||
"rules": {
|
||||
"no-declare-current-package": false,
|
||||
"no-single-declare-module": false,
|
||||
"no-var-keyword": false,
|
||||
"prefer-const": false
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"rules": {
|
||||
"dt-header": "off"
|
||||
"dt-header": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
"extends": "@definitelytyped/dtslint/dt.json",
|
||||
"rules": {
|
||||
"no-consecutive-blank-lines": false,
|
||||
"no-declare-current-package": false,
|
||||
"no-internal-module": false,
|
||||
"no-single-declare-module": false,
|
||||
"unified-signatures": false,
|
||||
|
||||
5
types/chai-oequal/.eslintrc.json
Normal file
5
types/chai-oequal/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,6 @@
|
||||
{
|
||||
"extends": "@definitelytyped/dtslint/dt.json",
|
||||
"rules": {
|
||||
"no-declare-current-package": false,
|
||||
"no-single-declare-module": false
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"rules": {
|
||||
"dt-header": "off",
|
||||
"no-any-union": "off"
|
||||
"no-any-union": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
"ban-types": false,
|
||||
"jsdoc-format": false,
|
||||
"no-consecutive-blank-lines": false,
|
||||
"no-declare-current-package": false,
|
||||
"no-redundant-jsdoc-2": false,
|
||||
"no-single-declare-module": false,
|
||||
"one-variable-per-declaration": false,
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"rules": {
|
||||
"dt-header": "off",
|
||||
"trim-file": "off"
|
||||
"trim-file": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
"extends": "@definitelytyped/dtslint/dt.json",
|
||||
"rules": {
|
||||
"no-consecutive-blank-lines": false,
|
||||
"no-declare-current-package": false,
|
||||
"no-single-declare-module": false,
|
||||
"no-var-keyword": false,
|
||||
"prefer-const": false
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-unnecessary-generics": "off"
|
||||
"no-unnecessary-generics": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
"rules": {
|
||||
"ban-types": false,
|
||||
"new-parens": false,
|
||||
"no-declare-current-package": false,
|
||||
"no-empty-interface": false,
|
||||
"no-redundant-jsdoc-2": false,
|
||||
"no-single-declare-module": false,
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-unnecessary-generics": "off"
|
||||
"no-unnecessary-generics": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
"extends": "@definitelytyped/dtslint/dt.json",
|
||||
"rules": {
|
||||
"adjacent-overload-signatures": false,
|
||||
"no-declare-current-package": false,
|
||||
"no-single-declare-module": false,
|
||||
"no-var-keyword": false,
|
||||
"unified-signatures": false
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"rules": {
|
||||
"dt-header": "off",
|
||||
"no-unnecessary-generics": "off"
|
||||
"no-unnecessary-generics": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
"extends": "@definitelytyped/dtslint/dt.json",
|
||||
"rules": {
|
||||
"ban-types": false,
|
||||
"no-declare-current-package": false,
|
||||
"no-padding": false,
|
||||
"no-single-declare-module": false,
|
||||
"semicolon": false,
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"rules": {
|
||||
"dt-header": "off"
|
||||
"dt-header": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
"rules": {
|
||||
"array-type": false,
|
||||
"ban-types": false,
|
||||
"no-declare-current-package": false,
|
||||
"no-empty-interface": false,
|
||||
"no-single-declare-module": false,
|
||||
"no-var-keyword": false,
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"rules": {
|
||||
"dt-header": "off",
|
||||
"trim-file": "off"
|
||||
"trim-file": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
"extends": "@definitelytyped/dtslint/dt.json",
|
||||
"rules": {
|
||||
"no-consecutive-blank-lines": false,
|
||||
"no-declare-current-package": false,
|
||||
"no-padding": false,
|
||||
"no-redundant-jsdoc-2": false,
|
||||
"no-self-import": false,
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"rules": {
|
||||
"dt-header": "off",
|
||||
"trim-file": "off"
|
||||
"trim-file": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
"extends": "@definitelytyped/dtslint/dt.json",
|
||||
"rules": {
|
||||
"no-consecutive-blank-lines": false,
|
||||
"no-declare-current-package": false,
|
||||
"no-single-declare-module": false,
|
||||
"no-var-keyword": false
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"rules": {
|
||||
"dt-header": "off"
|
||||
"dt-header": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
"extends": "@definitelytyped/dtslint/dt.json",
|
||||
"rules": {
|
||||
"no-consecutive-blank-lines": false,
|
||||
"no-declare-current-package": false,
|
||||
"no-redundant-jsdoc-2": false,
|
||||
"no-single-declare-module": false,
|
||||
"space-within-parens": false
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"rules": {
|
||||
"dt-header": "off"
|
||||
"dt-header": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
"rules": {
|
||||
"max-line-length": false,
|
||||
"no-consecutive-blank-lines": false,
|
||||
"no-declare-current-package": false,
|
||||
"no-redundant-jsdoc-2": false,
|
||||
"no-single-declare-module": false,
|
||||
"no-var-keyword": false,
|
||||
|
||||
5
types/confit/.eslintrc.json
Normal file
5
types/confit/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
@@ -4,7 +4,6 @@
|
||||
"ban-types": false,
|
||||
"comment-format": false,
|
||||
"interface-over-type-literal": false,
|
||||
"no-declare-current-package": false,
|
||||
"no-empty-interface": false,
|
||||
"no-object-literal-type-assertion": false,
|
||||
"no-single-declare-module": false,
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"rules": {
|
||||
"dt-header": "off",
|
||||
"trim-file": "off"
|
||||
"trim-file": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
"ban-types": false,
|
||||
"interface-name": false,
|
||||
"no-consecutive-blank-lines": false,
|
||||
"no-declare-current-package": false,
|
||||
"no-single-declare-module": false,
|
||||
"no-var-keyword": false,
|
||||
"only-arrow-functions": false,
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"rules": {
|
||||
"dt-header": "off"
|
||||
"dt-header": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
"extends": "@definitelytyped/dtslint/dt.json",
|
||||
"rules": {
|
||||
"ban-types": false,
|
||||
"no-declare-current-package": false,
|
||||
"no-misused-new": false,
|
||||
"no-single-declare-module": false,
|
||||
"prefer-const": false
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"rules": {
|
||||
"dt-header": "off"
|
||||
"dt-header": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
"extends": "@definitelytyped/dtslint/dt.json",
|
||||
"rules": {
|
||||
"ban-types": false,
|
||||
"no-declare-current-package": false,
|
||||
"no-redundant-jsdoc-2": false,
|
||||
"no-single-declare-module": false,
|
||||
"no-var-keyword": false,
|
||||
|
||||
5
types/convert-layout/.eslintrc.json
Normal file
5
types/convert-layout/.eslintrc.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,3 @@
|
||||
{
|
||||
"extends": "@definitelytyped/dtslint/dt.json",
|
||||
"rules": {
|
||||
"no-declare-current-package": false
|
||||
}
|
||||
"extends": "@definitelytyped/dtslint/dt.json"
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"rules": {
|
||||
"trim-file": "off"
|
||||
"trim-file": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
"array-type": false,
|
||||
"max-line-length": false,
|
||||
"no-consecutive-blank-lines": false,
|
||||
"no-declare-current-package": false,
|
||||
"no-empty-interface": false,
|
||||
"no-single-declare-module": false,
|
||||
"no-var-keyword": false,
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"rules": {
|
||||
"dt-header": "off"
|
||||
"dt-header": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
"extends": "@definitelytyped/dtslint/dt.json",
|
||||
"rules": {
|
||||
"new-parens": false,
|
||||
"no-declare-current-package": false,
|
||||
"no-var-keyword": false,
|
||||
"semicolon": false,
|
||||
"strict-export-declare-modifiers": false,
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"rules": {
|
||||
"dt-header": "off",
|
||||
"trim-file": "off"
|
||||
"trim-file": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
"comment-format": false,
|
||||
"jsdoc-format": false,
|
||||
"no-consecutive-blank-lines": false,
|
||||
"no-declare-current-package": false,
|
||||
"no-empty-interface": false,
|
||||
"no-single-declare-module": false,
|
||||
"no-var-keyword": false,
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"rules": {
|
||||
"no-unnecessary-generics": "off"
|
||||
"no-unnecessary-generics": "off",
|
||||
"no-declare-current-package": "off"
|
||||
}
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user