From c9e49752511d35c494281a92385add86cfc13538 Mon Sep 17 00:00:00 2001 From: Josh Goldberg Date: Fri, 19 Aug 2022 18:17:50 -0400 Subject: [PATCH] Tooling: dt-header fast follow fixes (#61805) * Tooling: dt-header fast follow fixes * Enable JSDoc, jakebailey is right * Improve type annotations slightly A little less precision globally, a little more where it's useful. Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> --- scripts/jsconfig.json | 2 +- scripts/tslint-rule-to-eslint.js | 18 +++++++++++++++++- types/amplitude-js/v4/.eslintrc.json | 5 +++++ types/amplitude-js/v4/tslint.json | 1 - types/bitcore-lib-cash/tslint.json | 3 +-- types/bitcore-lib/tslint.json | 3 +-- types/bluebird/v1/.eslintrc.json | 5 +++++ types/bluebird/v1/tslint.json | 1 - types/bluebird/v2/.eslintrc.json | 5 +++++ types/bluebird/v2/tslint.json | 1 - types/bull/v2/.eslintrc.json | 5 +++++ types/bull/v2/tslint.json | 1 - types/chai/v2/.eslintrc.json | 5 +++++ types/chai/v2/tslint.json | 1 - types/chroma-js/v0/.eslintrc.json | 5 +++++ types/chroma-js/v0/tslint.json | 1 - types/clean-css/v3/.eslintrc.json | 5 +++++ types/clean-css/v3/tslint.json | 1 - types/color/v0/.eslintrc.json | 5 +++++ types/color/v0/tslint.json | 1 - types/d3-dsv/v0/.eslintrc.json | 5 +++++ types/d3-dsv/v0/tslint.json | 5 +---- types/d3kit/v1/.eslintrc.json | 5 +++++ types/d3kit/v1/tslint.json | 1 - types/deasync/tslint.json | 3 +-- types/devexpress-web/v161/.eslintrc.json | 5 +++++ types/devexpress-web/v161/tslint.json | 1 - types/devexpress-web/v162/.eslintrc.json | 5 +++++ types/devexpress-web/v162/tslint.json | 1 - types/devexpress-web/v171/.eslintrc.json | 5 +++++ types/devexpress-web/v171/tslint.json | 1 - types/devexpress-web/v172/.eslintrc.json | 5 +++++ types/devexpress-web/v172/tslint.json | 1 - types/devexpress-web/v181/.eslintrc.json | 5 +++++ types/devexpress-web/v181/tslint.json | 1 - types/devexpress-web/v182/.eslintrc.json | 5 +++++ types/devexpress-web/v182/tslint.json | 1 - types/devexpress-web/v191/.eslintrc.json | 5 +++++ types/devexpress-web/v191/tslint.json | 1 - types/devexpress-web/v192/.eslintrc.json | 5 +++++ types/devexpress-web/v192/tslint.json | 1 - types/devexpress-web/v201/.eslintrc.json | 5 +++++ types/devexpress-web/v201/tslint.json | 1 - types/digibyte/tslint.json | 3 +-- types/dragula/v2/.eslintrc.json | 5 +++++ types/dragula/v2/tslint.json | 1 - types/dropzone/v4/.eslintrc.json | 5 +++++ types/dropzone/v4/tslint.json | 1 - types/durandal/v1/.eslintrc.json | 5 +++++ types/durandal/v1/tslint.json | 1 - types/ember/v1/.eslintrc.json | 5 +++++ types/ember/v1/tslint.json | 1 - types/epilogue/tslint.json | 3 +-- types/esprima/v2/.eslintrc.json | 5 +++++ types/esprima/v2/tslint.json | 1 - types/express-boom/tslint.json | 3 +-- types/express-useragent/v0/.eslintrc.json | 5 +++++ types/express-useragent/v0/tslint.json | 1 - types/frida-gum/tslint.json | 3 +-- types/frisby/v0/.eslintrc.json | 5 +++++ types/frisby/v0/tslint.json | 1 - types/grecaptcha/v0/.eslintrc.json | 5 +++++ types/grecaptcha/v0/tslint.json | 1 - types/gulp/v3/.eslintrc.json | 5 +++++ types/gulp/v3/tslint.json | 1 - types/hammerjs/v1/.eslintrc.json | 5 +++++ types/hammerjs/v1/tslint.json | 1 - types/hapi/v12/.eslintrc.json | 5 +++++ types/hapi/v12/tslint.json | 1 - types/hapi/v8/.eslintrc.json | 5 +++++ types/hapi/v8/tslint.json | 1 - types/hashmap/v1/.eslintrc.json | 5 +++++ types/hashmap/v1/tslint.json | 1 - types/icepick/tslint.json | 3 +-- types/leaflet/v0/.eslintrc.json | 5 +++++ types/leaflet/v0/tslint.json | 1 - types/node-notifier/v5/.eslintrc.json | 5 +++++ types/node-notifier/v5/tslint.json | 1 - types/openlayers/v3/.eslintrc.json | 5 +++++ types/openlayers/v3/tslint.json | 1 - types/parse/v1/.eslintrc.json | 7 ++++--- types/parse/v1/tslint.json | 1 - types/postal/v0/.eslintrc.json | 5 +++++ types/postal/v0/tslint.json | 1 - types/q/v0/.eslintrc.json | 5 +++++ types/q/v0/tslint.json | 1 - types/qunit/v1/.eslintrc.json | 5 +++++ types/qunit/v1/tslint.json | 1 - types/rbush/v2/.eslintrc.json | 5 +++++ types/rbush/v2/tslint.json | 1 - types/react-dom/v15/.eslintrc.json | 5 +++++ types/react-dom/v15/tslint.json | 1 - types/react-dom/v16/.eslintrc.json | 5 +++++ types/react-dom/v16/tslint.json | 1 - types/react-dom/v17/.eslintrc.json | 5 +++++ types/react-dom/v17/tslint.json | 1 - types/react-relay/tslint.json | 3 +-- types/react-relay/v7/tslint.json | 3 +-- types/react-spinkit/v1/.eslintrc.json | 5 +++++ types/react-spinkit/v1/tslint.json | 1 - types/react/v15/.eslintrc.json | 5 +++++ types/react/v15/tslint.json | 1 - types/react/v16/.eslintrc.json | 5 +++++ types/react/v16/tslint.json | 1 - types/react/v17/.eslintrc.json | 5 +++++ types/react/v17/tslint.json | 1 - types/recursive-readdir/v1/.eslintrc.json | 5 +++++ types/recursive-readdir/v1/tslint.json | 1 - types/redux-immutable/v3/.eslintrc.json | 5 +++++ types/redux-immutable/v3/tslint.json | 1 - types/redux-mock-store/v0/.eslintrc.json | 5 +++++ types/redux-mock-store/v0/tslint.json | 1 - types/save-csv/tslint.json | 3 +-- types/seedrandom/v2/.eslintrc.json | 5 +++++ types/seedrandom/v2/tslint.json | 1 - types/sequelize/v3/.eslintrc.json | 5 +++++ types/sequelize/v3/tslint.json | 1 - types/sinon-chai/v2/.eslintrc.json | 5 +++++ types/sinon-chai/v2/tslint.json | 1 - types/smtp-server/v1/.eslintrc.json | 5 +++++ types/smtp-server/v1/tslint.json | 1 - types/sparkpost/v1/.eslintrc.json | 5 +++++ types/sparkpost/v1/tslint.json | 1 - types/sqlanywhere/tslint.json | 3 +-- types/store/v1/.eslintrc.json | 5 +++++ types/store/v1/tslint.json | 1 - types/tapable/v0/.eslintrc.json | 5 +++++ types/tapable/v0/tslint.json | 1 - types/tapable/v1/.eslintrc.json | 5 +++++ types/tapable/v1/tslint.json | 1 - types/through2/v0/.eslintrc.json | 5 +++++ types/through2/v0/tslint.json | 1 - types/treeify/tslint.json | 3 +-- types/type-detect/v0/.eslintrc.json | 5 +++++ types/type-detect/v0/tslint.json | 1 - types/uglify-js/v2/.eslintrc.json | 5 +++++ types/uglify-js/v2/tslint.json | 1 - types/uuid/v2/.eslintrc.json | 5 +++++ types/uuid/v2/tslint.json | 1 - types/vinyl/v0/.eslintrc.json | 5 +++++ types/vinyl/v0/tslint.json | 1 - types/winjs/v1/.eslintrc.json | 5 +++++ types/winjs/v1/tslint.json | 1 - types/winjs/v2/.eslintrc.json | 5 +++++ types/winjs/v2/tslint.json | 1 - types/wreck/v7/.eslintrc.json | 5 +++++ types/wreck/v7/tslint.json | 1 - types/xrm/v6/.eslintrc.json | 5 +++++ types/xrm/v6/tslint.json | 1 - types/xrm/v7/.eslintrc.json | 5 +++++ types/xrm/v7/tslint.json | 1 - 151 files changed, 371 insertions(+), 102 deletions(-) create mode 100644 types/amplitude-js/v4/.eslintrc.json create mode 100644 types/bluebird/v1/.eslintrc.json create mode 100644 types/bluebird/v2/.eslintrc.json create mode 100644 types/bull/v2/.eslintrc.json create mode 100644 types/chai/v2/.eslintrc.json create mode 100644 types/chroma-js/v0/.eslintrc.json create mode 100644 types/clean-css/v3/.eslintrc.json create mode 100644 types/color/v0/.eslintrc.json create mode 100644 types/d3-dsv/v0/.eslintrc.json create mode 100644 types/d3kit/v1/.eslintrc.json create mode 100644 types/devexpress-web/v161/.eslintrc.json create mode 100644 types/devexpress-web/v162/.eslintrc.json create mode 100644 types/devexpress-web/v171/.eslintrc.json create mode 100644 types/devexpress-web/v172/.eslintrc.json create mode 100644 types/devexpress-web/v181/.eslintrc.json create mode 100644 types/devexpress-web/v182/.eslintrc.json create mode 100644 types/devexpress-web/v191/.eslintrc.json create mode 100644 types/devexpress-web/v192/.eslintrc.json create mode 100644 types/devexpress-web/v201/.eslintrc.json create mode 100644 types/dragula/v2/.eslintrc.json create mode 100644 types/dropzone/v4/.eslintrc.json create mode 100644 types/durandal/v1/.eslintrc.json create mode 100644 types/ember/v1/.eslintrc.json create mode 100644 types/esprima/v2/.eslintrc.json create mode 100644 types/express-useragent/v0/.eslintrc.json create mode 100644 types/frisby/v0/.eslintrc.json create mode 100644 types/grecaptcha/v0/.eslintrc.json create mode 100644 types/gulp/v3/.eslintrc.json create mode 100644 types/hammerjs/v1/.eslintrc.json create mode 100644 types/hapi/v12/.eslintrc.json create mode 100644 types/hapi/v8/.eslintrc.json create mode 100644 types/hashmap/v1/.eslintrc.json create mode 100644 types/leaflet/v0/.eslintrc.json create mode 100644 types/node-notifier/v5/.eslintrc.json create mode 100644 types/openlayers/v3/.eslintrc.json create mode 100644 types/postal/v0/.eslintrc.json create mode 100644 types/q/v0/.eslintrc.json create mode 100644 types/qunit/v1/.eslintrc.json create mode 100644 types/rbush/v2/.eslintrc.json create mode 100644 types/react-dom/v15/.eslintrc.json create mode 100644 types/react-dom/v16/.eslintrc.json create mode 100644 types/react-dom/v17/.eslintrc.json create mode 100644 types/react-spinkit/v1/.eslintrc.json create mode 100644 types/react/v15/.eslintrc.json create mode 100644 types/react/v16/.eslintrc.json create mode 100644 types/react/v17/.eslintrc.json create mode 100644 types/recursive-readdir/v1/.eslintrc.json create mode 100644 types/redux-immutable/v3/.eslintrc.json create mode 100644 types/redux-mock-store/v0/.eslintrc.json create mode 100644 types/seedrandom/v2/.eslintrc.json create mode 100644 types/sequelize/v3/.eslintrc.json create mode 100644 types/sinon-chai/v2/.eslintrc.json create mode 100644 types/smtp-server/v1/.eslintrc.json create mode 100644 types/sparkpost/v1/.eslintrc.json create mode 100644 types/store/v1/.eslintrc.json create mode 100644 types/tapable/v0/.eslintrc.json create mode 100644 types/tapable/v1/.eslintrc.json create mode 100644 types/through2/v0/.eslintrc.json create mode 100644 types/type-detect/v0/.eslintrc.json create mode 100644 types/uglify-js/v2/.eslintrc.json create mode 100644 types/uuid/v2/.eslintrc.json create mode 100644 types/vinyl/v0/.eslintrc.json create mode 100644 types/winjs/v1/.eslintrc.json create mode 100644 types/winjs/v2/.eslintrc.json create mode 100644 types/wreck/v7/.eslintrc.json create mode 100644 types/xrm/v6/.eslintrc.json create mode 100644 types/xrm/v7/.eslintrc.json diff --git a/scripts/jsconfig.json b/scripts/jsconfig.json index a454497dc2..2a27ed812c 100644 --- a/scripts/jsconfig.json +++ b/scripts/jsconfig.json @@ -1,5 +1,5 @@ { - "exclude": ["close-old-issues.js", "fix-tslint.js", "tslint-rule-to-eslint.js"], + "exclude": ["close-old-issues.js", "fix-tslint.js"], "compilerOptions": { "noUnusedLocals": true, "target": "es6", diff --git a/scripts/tslint-rule-to-eslint.js b/scripts/tslint-rule-to-eslint.js index ac58babfc5..67f7d16fec 100644 --- a/scripts/tslint-rule-to-eslint.js +++ b/scripts/tslint-rule-to-eslint.js @@ -3,8 +3,13 @@ import { promises as fs } from 'fs'; import { format } from 'prettier'; import * as path from 'path'; +/** @type {any} */ const emptyObject = {}; +/** + * @param {string} filePath + * @returns {Promise} + */ const parseAndReadFileContents = async filePath => { try { return parse((await fs.readFile(filePath)).toString()); @@ -16,6 +21,10 @@ const parseAndReadFileContents = async filePath => { (async () => { const prettierConfig = await parseAndReadFileContents('.prettierrc.json'); + /** + * @param {string} filePath + * @param {unknown} contents + */ const writeFileFormatted = async (filePath, contents) => { await fs.writeFile( filePath, @@ -32,7 +41,14 @@ const parseAndReadFileContents = async filePath => { for (const typeName of typeNames) { const typeDirectory = path.join('types', typeName); + typeNames.push( + ...(await fs.readdir(typeDirectory)) + .filter(childDirectory => /^(ts|v)(\d+|\.)+$/.test(childDirectory)) + .map(childDirectory => path.join(typeName, childDirectory)), + ); + const tslintFilePath = path.join(typeDirectory, 'tslint.json'); + /** @type {{ rules?: { [s:string]: boolean }}} */ const tslintData = await parseAndReadFileContents(tslintFilePath); if (tslintData?.rules?.[tslintRuleName] !== false) { continue; @@ -43,7 +59,7 @@ const parseAndReadFileContents = async filePath => { delete tslintData.rules[tslintRuleName]; if (Object.keys(tslintData.rules).length === 0) { console.log(`\t${tslintFilePath} has no remaining rules; deleting rules property.`); - delete tslintFilePath.rules; + delete tslintData.rules; } else { console.log(`\t${tslintFilePath} has remaining rules.`); } diff --git a/types/amplitude-js/v4/.eslintrc.json b/types/amplitude-js/v4/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/amplitude-js/v4/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/amplitude-js/v4/tslint.json b/types/amplitude-js/v4/tslint.json index 292472e0cf..e662b324af 100644 --- a/types/amplitude-js/v4/tslint.json +++ b/types/amplitude-js/v4/tslint.json @@ -1,7 +1,6 @@ { "extends": "@definitelytyped/dtslint/dt.json", "rules": { - "dt-header": false, "no-boolean-literal-compare": false, "no-consecutive-blank-lines": false, "no-internal-module": false, diff --git a/types/bitcore-lib-cash/tslint.json b/types/bitcore-lib-cash/tslint.json index 663959b0a0..b0a453f4d4 100644 --- a/types/bitcore-lib-cash/tslint.json +++ b/types/bitcore-lib-cash/tslint.json @@ -1,4 +1,3 @@ { - "extends": "@definitelytyped/dtslint/dt.json", - "rules": {} + "extends": "@definitelytyped/dtslint/dt.json" } diff --git a/types/bitcore-lib/tslint.json b/types/bitcore-lib/tslint.json index 663959b0a0..b0a453f4d4 100644 --- a/types/bitcore-lib/tslint.json +++ b/types/bitcore-lib/tslint.json @@ -1,4 +1,3 @@ { - "extends": "@definitelytyped/dtslint/dt.json", - "rules": {} + "extends": "@definitelytyped/dtslint/dt.json" } diff --git a/types/bluebird/v1/.eslintrc.json b/types/bluebird/v1/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/bluebird/v1/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/bluebird/v1/tslint.json b/types/bluebird/v1/tslint.json index cb39830bf1..1646372ba4 100644 --- a/types/bluebird/v1/tslint.json +++ b/types/bluebird/v1/tslint.json @@ -5,7 +5,6 @@ "array-type": false, "ban-types": false, "comment-format": false, - "dt-header": false, "jsdoc-format": false, "max-line-length": false, "no-consecutive-blank-lines": false, diff --git a/types/bluebird/v2/.eslintrc.json b/types/bluebird/v2/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/bluebird/v2/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/bluebird/v2/tslint.json b/types/bluebird/v2/tslint.json index 4bc45dc5f5..9d979217e7 100644 --- a/types/bluebird/v2/tslint.json +++ b/types/bluebird/v2/tslint.json @@ -5,7 +5,6 @@ "array-type": false, "ban-types": false, "comment-format": false, - "dt-header": false, "jsdoc-format": false, "max-line-length": false, "no-consecutive-blank-lines": false, diff --git a/types/bull/v2/.eslintrc.json b/types/bull/v2/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/bull/v2/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/bull/v2/tslint.json b/types/bull/v2/tslint.json index 1616cb336c..e55990301a 100644 --- a/types/bull/v2/tslint.json +++ b/types/bull/v2/tslint.json @@ -3,7 +3,6 @@ "rules": { "arrow-return-shorthand": false, "ban-types": false, - "dt-header": false, "jsdoc-format": false, "no-consecutive-blank-lines": false, "no-padding": false, diff --git a/types/chai/v2/.eslintrc.json b/types/chai/v2/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/chai/v2/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/chai/v2/tslint.json b/types/chai/v2/tslint.json index b47f70d178..1336164645 100644 --- a/types/chai/v2/tslint.json +++ b/types/chai/v2/tslint.json @@ -3,7 +3,6 @@ "rules": { "ban-types": false, "comment-format": false, - "dt-header": false, "no-empty-interface": false, "no-padding": false, "no-single-declare-module": false, diff --git a/types/chroma-js/v0/.eslintrc.json b/types/chroma-js/v0/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/chroma-js/v0/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/chroma-js/v0/tslint.json b/types/chroma-js/v0/tslint.json index fb7d394801..3cc69b3dfd 100644 --- a/types/chroma-js/v0/tslint.json +++ b/types/chroma-js/v0/tslint.json @@ -2,7 +2,6 @@ "extends": "@definitelytyped/dtslint/dt.json", "rules": { "comment-format": false, - "dt-header": false, "no-duplicate-variable": false, "no-misused-new": false, "no-padding": false, diff --git a/types/clean-css/v3/.eslintrc.json b/types/clean-css/v3/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/clean-css/v3/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/clean-css/v3/tslint.json b/types/clean-css/v3/tslint.json index 73ad0f37e4..e906d7c985 100644 --- a/types/clean-css/v3/tslint.json +++ b/types/clean-css/v3/tslint.json @@ -3,7 +3,6 @@ "rules": { "array-type": false, "ban-types": false, - "dt-header": false, "max-line-length": false, "no-consecutive-blank-lines": false, "no-duplicate-variable": false, diff --git a/types/color/v0/.eslintrc.json b/types/color/v0/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/color/v0/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/color/v0/tslint.json b/types/color/v0/tslint.json index 8567dc36cf..4406cd88d3 100644 --- a/types/color/v0/tslint.json +++ b/types/color/v0/tslint.json @@ -2,7 +2,6 @@ "extends": "@definitelytyped/dtslint/dt.json", "rules": { "array-type": false, - "dt-header": false, "no-duplicate-variable": false, "no-padding": false, "no-var-keyword": false, diff --git a/types/d3-dsv/v0/.eslintrc.json b/types/d3-dsv/v0/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/d3-dsv/v0/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/d3-dsv/v0/tslint.json b/types/d3-dsv/v0/tslint.json index da3ab6f822..2efa283002 100644 --- a/types/d3-dsv/v0/tslint.json +++ b/types/d3-dsv/v0/tslint.json @@ -1,6 +1,3 @@ { - "extends": "@definitelytyped/dtslint/dt.json", - "rules": { - "dt-header": false - } + "extends": "@definitelytyped/dtslint/dt.json" } diff --git a/types/d3kit/v1/.eslintrc.json b/types/d3kit/v1/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/d3kit/v1/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/d3kit/v1/tslint.json b/types/d3kit/v1/tslint.json index 6f66db32ff..e075baabed 100644 --- a/types/d3kit/v1/tslint.json +++ b/types/d3kit/v1/tslint.json @@ -3,7 +3,6 @@ "rules": { "array-type": false, "ban-types": false, - "dt-header": false, "export-just-namespace": false, "no-any-union": false, "no-consecutive-blank-lines": false, diff --git a/types/deasync/tslint.json b/types/deasync/tslint.json index 2bd2da5951..2efa283002 100644 --- a/types/deasync/tslint.json +++ b/types/deasync/tslint.json @@ -1,4 +1,3 @@ { - "extends": "@definitelytyped/dtslint/dt.json", - "rules": {} + "extends": "@definitelytyped/dtslint/dt.json" } diff --git a/types/devexpress-web/v161/.eslintrc.json b/types/devexpress-web/v161/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/devexpress-web/v161/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/devexpress-web/v161/tslint.json b/types/devexpress-web/v161/tslint.json index 0b18539cd8..b8341a4b11 100644 --- a/types/devexpress-web/v161/tslint.json +++ b/types/devexpress-web/v161/tslint.json @@ -3,7 +3,6 @@ "rules": { "adjacent-overload-signatures": false, "ban-types": false, - "dt-header": false, "max-line-length": false, "no-consecutive-blank-lines": false, "no-duplicate-variable": false, diff --git a/types/devexpress-web/v162/.eslintrc.json b/types/devexpress-web/v162/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/devexpress-web/v162/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/devexpress-web/v162/tslint.json b/types/devexpress-web/v162/tslint.json index 0b18539cd8..b8341a4b11 100644 --- a/types/devexpress-web/v162/tslint.json +++ b/types/devexpress-web/v162/tslint.json @@ -3,7 +3,6 @@ "rules": { "adjacent-overload-signatures": false, "ban-types": false, - "dt-header": false, "max-line-length": false, "no-consecutive-blank-lines": false, "no-duplicate-variable": false, diff --git a/types/devexpress-web/v171/.eslintrc.json b/types/devexpress-web/v171/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/devexpress-web/v171/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/devexpress-web/v171/tslint.json b/types/devexpress-web/v171/tslint.json index fcd3ed7e34..4cb4d5b01d 100644 --- a/types/devexpress-web/v171/tslint.json +++ b/types/devexpress-web/v171/tslint.json @@ -3,7 +3,6 @@ "rules": { "adjacent-overload-signatures": false, "ban-types": false, - "dt-header": false, "interface-name": false, "max-line-length": false, "no-consecutive-blank-lines": false, diff --git a/types/devexpress-web/v172/.eslintrc.json b/types/devexpress-web/v172/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/devexpress-web/v172/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/devexpress-web/v172/tslint.json b/types/devexpress-web/v172/tslint.json index fcd3ed7e34..4cb4d5b01d 100644 --- a/types/devexpress-web/v172/tslint.json +++ b/types/devexpress-web/v172/tslint.json @@ -3,7 +3,6 @@ "rules": { "adjacent-overload-signatures": false, "ban-types": false, - "dt-header": false, "interface-name": false, "max-line-length": false, "no-consecutive-blank-lines": false, diff --git a/types/devexpress-web/v181/.eslintrc.json b/types/devexpress-web/v181/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/devexpress-web/v181/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/devexpress-web/v181/tslint.json b/types/devexpress-web/v181/tslint.json index fcd3ed7e34..4cb4d5b01d 100644 --- a/types/devexpress-web/v181/tslint.json +++ b/types/devexpress-web/v181/tslint.json @@ -3,7 +3,6 @@ "rules": { "adjacent-overload-signatures": false, "ban-types": false, - "dt-header": false, "interface-name": false, "max-line-length": false, "no-consecutive-blank-lines": false, diff --git a/types/devexpress-web/v182/.eslintrc.json b/types/devexpress-web/v182/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/devexpress-web/v182/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/devexpress-web/v182/tslint.json b/types/devexpress-web/v182/tslint.json index 9d5440fe2c..4385087534 100644 --- a/types/devexpress-web/v182/tslint.json +++ b/types/devexpress-web/v182/tslint.json @@ -3,7 +3,6 @@ "rules": { "adjacent-overload-signatures": false, "ban-types": false, - "dt-header": false, "max-line-length": false, "no-duplicate-variable": false, "no-empty-interface": false, diff --git a/types/devexpress-web/v191/.eslintrc.json b/types/devexpress-web/v191/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/devexpress-web/v191/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/devexpress-web/v191/tslint.json b/types/devexpress-web/v191/tslint.json index e4f980244c..ff179fd606 100644 --- a/types/devexpress-web/v191/tslint.json +++ b/types/devexpress-web/v191/tslint.json @@ -2,7 +2,6 @@ "extends": "@definitelytyped/dtslint/dt.json", "rules": { "ban-types": false, - "dt-header": false, "interface-name": false, "jsdoc-format": false, "max-line-length": false, diff --git a/types/devexpress-web/v192/.eslintrc.json b/types/devexpress-web/v192/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/devexpress-web/v192/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/devexpress-web/v192/tslint.json b/types/devexpress-web/v192/tslint.json index e4f980244c..ff179fd606 100644 --- a/types/devexpress-web/v192/tslint.json +++ b/types/devexpress-web/v192/tslint.json @@ -2,7 +2,6 @@ "extends": "@definitelytyped/dtslint/dt.json", "rules": { "ban-types": false, - "dt-header": false, "interface-name": false, "jsdoc-format": false, "max-line-length": false, diff --git a/types/devexpress-web/v201/.eslintrc.json b/types/devexpress-web/v201/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/devexpress-web/v201/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/devexpress-web/v201/tslint.json b/types/devexpress-web/v201/tslint.json index 2fc4fb1084..261d9eb989 100644 --- a/types/devexpress-web/v201/tslint.json +++ b/types/devexpress-web/v201/tslint.json @@ -2,7 +2,6 @@ "extends": "@definitelytyped/dtslint/dt.json", "rules": { "ban-types": false, - "dt-header": false, "interface-name": false, "jsdoc-format": false, "max-line-length": false, diff --git a/types/digibyte/tslint.json b/types/digibyte/tslint.json index 663959b0a0..b0a453f4d4 100644 --- a/types/digibyte/tslint.json +++ b/types/digibyte/tslint.json @@ -1,4 +1,3 @@ { - "extends": "@definitelytyped/dtslint/dt.json", - "rules": {} + "extends": "@definitelytyped/dtslint/dt.json" } diff --git a/types/dragula/v2/.eslintrc.json b/types/dragula/v2/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/dragula/v2/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/dragula/v2/tslint.json b/types/dragula/v2/tslint.json index c81016df8d..f568fa3acc 100644 --- a/types/dragula/v2/tslint.json +++ b/types/dragula/v2/tslint.json @@ -2,7 +2,6 @@ "extends": "@definitelytyped/dtslint/dt.json", "rules": { "ban-types": false, - "dt-header": false, "no-var-keyword": false, "object-literal-shorthand": false, "only-arrow-functions": false, diff --git a/types/dropzone/v4/.eslintrc.json b/types/dropzone/v4/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/dropzone/v4/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/dropzone/v4/tslint.json b/types/dropzone/v4/tslint.json index bcc7eed789..310b676e27 100644 --- a/types/dropzone/v4/tslint.json +++ b/types/dropzone/v4/tslint.json @@ -4,7 +4,6 @@ "adjacent-overload-signatures": false, "array-type": false, "ban-types": false, - "dt-header": false, "max-line-length": false, "no-padding": false, "no-reference-import": false, diff --git a/types/durandal/v1/.eslintrc.json b/types/durandal/v1/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/durandal/v1/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/durandal/v1/tslint.json b/types/durandal/v1/tslint.json index 8eb9c3652e..9cd8a81023 100644 --- a/types/durandal/v1/tslint.json +++ b/types/durandal/v1/tslint.json @@ -2,7 +2,6 @@ "extends": "@definitelytyped/dtslint/dt.json", "rules": { "ban-types": false, - "dt-header": false, "interface-name": false, "jsdoc-format": false, "max-line-length": false, diff --git a/types/ember/v1/.eslintrc.json b/types/ember/v1/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/ember/v1/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/ember/v1/tslint.json b/types/ember/v1/tslint.json index 446728627c..254942a2be 100644 --- a/types/ember/v1/tslint.json +++ b/types/ember/v1/tslint.json @@ -3,7 +3,6 @@ "rules": { "adjacent-overload-signatures": false, "ban-types": false, - "dt-header": false, "jsdoc-format": false, "no-any-union": false, "no-consecutive-blank-lines": false, diff --git a/types/epilogue/tslint.json b/types/epilogue/tslint.json index 2bd2da5951..2efa283002 100644 --- a/types/epilogue/tslint.json +++ b/types/epilogue/tslint.json @@ -1,4 +1,3 @@ { - "extends": "@definitelytyped/dtslint/dt.json", - "rules": {} + "extends": "@definitelytyped/dtslint/dt.json" } diff --git a/types/esprima/v2/.eslintrc.json b/types/esprima/v2/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/esprima/v2/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/esprima/v2/tslint.json b/types/esprima/v2/tslint.json index 9edb7026fd..cd91212641 100644 --- a/types/esprima/v2/tslint.json +++ b/types/esprima/v2/tslint.json @@ -2,7 +2,6 @@ "extends": "@definitelytyped/dtslint/dt.json", "rules": { "array-type": false, - "dt-header": false, "export-just-namespace": false, "no-padding": false, "no-reference-import": false, diff --git a/types/express-boom/tslint.json b/types/express-boom/tslint.json index 2bd2da5951..2efa283002 100644 --- a/types/express-boom/tslint.json +++ b/types/express-boom/tslint.json @@ -1,4 +1,3 @@ { - "extends": "@definitelytyped/dtslint/dt.json", - "rules": {} + "extends": "@definitelytyped/dtslint/dt.json" } diff --git a/types/express-useragent/v0/.eslintrc.json b/types/express-useragent/v0/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/express-useragent/v0/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/express-useragent/v0/tslint.json b/types/express-useragent/v0/tslint.json index f9aea3355a..3c2accbcf0 100644 --- a/types/express-useragent/v0/tslint.json +++ b/types/express-useragent/v0/tslint.json @@ -2,7 +2,6 @@ "extends": "@definitelytyped/dtslint/dt.json", "rules": { "ban-types": false, - "dt-header": false, "no-single-declare-module": false, "no-unnecessary-type-assertion": false, "no-var-keyword": false, diff --git a/types/frida-gum/tslint.json b/types/frida-gum/tslint.json index 2bd2da5951..2efa283002 100644 --- a/types/frida-gum/tslint.json +++ b/types/frida-gum/tslint.json @@ -1,4 +1,3 @@ { - "extends": "@definitelytyped/dtslint/dt.json", - "rules": {} + "extends": "@definitelytyped/dtslint/dt.json" } diff --git a/types/frisby/v0/.eslintrc.json b/types/frisby/v0/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/frisby/v0/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/frisby/v0/tslint.json b/types/frisby/v0/tslint.json index c19e342769..5098b0c312 100644 --- a/types/frisby/v0/tslint.json +++ b/types/frisby/v0/tslint.json @@ -2,7 +2,6 @@ "extends": "@definitelytyped/dtslint/dt.json", "rules": { "comment-format": false, - "dt-header": false, "no-padding": false, "no-var-keyword": false, "prefer-const": false, diff --git a/types/grecaptcha/v0/.eslintrc.json b/types/grecaptcha/v0/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/grecaptcha/v0/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/grecaptcha/v0/tslint.json b/types/grecaptcha/v0/tslint.json index 3fe8c445dd..9c8ea15055 100644 --- a/types/grecaptcha/v0/tslint.json +++ b/types/grecaptcha/v0/tslint.json @@ -2,7 +2,6 @@ "extends": "@definitelytyped/dtslint/dt.json", "rules": { "ban-types": false, - "dt-header": false, "no-duplicate-variable": false, "no-unnecessary-class": false, "no-var-keyword": false diff --git a/types/gulp/v3/.eslintrc.json b/types/gulp/v3/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/gulp/v3/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/gulp/v3/tslint.json b/types/gulp/v3/tslint.json index e3f4cfce1a..9525c50fab 100644 --- a/types/gulp/v3/tslint.json +++ b/types/gulp/v3/tslint.json @@ -2,7 +2,6 @@ "extends": "@definitelytyped/dtslint/dt.json", "rules": { "array-type": false, - "dt-header": false, "no-consecutive-blank-lines": false, "no-padding": false, "no-reference-import": false, diff --git a/types/hammerjs/v1/.eslintrc.json b/types/hammerjs/v1/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/hammerjs/v1/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/hammerjs/v1/tslint.json b/types/hammerjs/v1/tslint.json index 3f19467542..ce53187f27 100644 --- a/types/hammerjs/v1/tslint.json +++ b/types/hammerjs/v1/tslint.json @@ -1,7 +1,6 @@ { "extends": "@definitelytyped/dtslint/dt.json", "rules": { - "dt-header": false, "no-consecutive-blank-lines": false, "no-padding": false, "no-var-keyword": false, diff --git a/types/hapi/v12/.eslintrc.json b/types/hapi/v12/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/hapi/v12/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/hapi/v12/tslint.json b/types/hapi/v12/tslint.json index c1987d3677..ece8bdcccc 100644 --- a/types/hapi/v12/tslint.json +++ b/types/hapi/v12/tslint.json @@ -4,7 +4,6 @@ "array-type": false, "ban-types": false, "comment-format": false, - "dt-header": false, "interface-name": false, "jsdoc-format": false, "max-line-length": false, diff --git a/types/hapi/v8/.eslintrc.json b/types/hapi/v8/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/hapi/v8/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/hapi/v8/tslint.json b/types/hapi/v8/tslint.json index b05600b20b..e826f2f7e1 100644 --- a/types/hapi/v8/tslint.json +++ b/types/hapi/v8/tslint.json @@ -4,7 +4,6 @@ "array-type": false, "ban-types": false, "comment-format": false, - "dt-header": false, "interface-name": false, "jsdoc-format": false, "max-line-length": false, diff --git a/types/hashmap/v1/.eslintrc.json b/types/hashmap/v1/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/hashmap/v1/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/hashmap/v1/tslint.json b/types/hashmap/v1/tslint.json index 08056abf12..a75b872f0a 100644 --- a/types/hashmap/v1/tslint.json +++ b/types/hashmap/v1/tslint.json @@ -1,7 +1,6 @@ { "extends": "@definitelytyped/dtslint/dt.json", "rules": { - "dt-header": false, "no-consecutive-blank-lines": false, "no-var-keyword": false, "only-arrow-functions": false, diff --git a/types/icepick/tslint.json b/types/icepick/tslint.json index 2bd2da5951..2efa283002 100644 --- a/types/icepick/tslint.json +++ b/types/icepick/tslint.json @@ -1,4 +1,3 @@ { - "extends": "@definitelytyped/dtslint/dt.json", - "rules": {} + "extends": "@definitelytyped/dtslint/dt.json" } diff --git a/types/leaflet/v0/.eslintrc.json b/types/leaflet/v0/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/leaflet/v0/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/leaflet/v0/tslint.json b/types/leaflet/v0/tslint.json index 59b90e0c60..584917971b 100644 --- a/types/leaflet/v0/tslint.json +++ b/types/leaflet/v0/tslint.json @@ -4,7 +4,6 @@ "adjacent-overload-signatures": false, "ban-types": false, "comment-format": false, - "dt-header": false, "interface-name": false, "jsdoc-format": false, "no-consecutive-blank-lines": false, diff --git a/types/node-notifier/v5/.eslintrc.json b/types/node-notifier/v5/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/node-notifier/v5/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/node-notifier/v5/tslint.json b/types/node-notifier/v5/tslint.json index 7c4599325a..8656345dae 100644 --- a/types/node-notifier/v5/tslint.json +++ b/types/node-notifier/v5/tslint.json @@ -1,7 +1,6 @@ { "extends": "@definitelytyped/dtslint/dt.json", "rules": { - "dt-header": false, "jsdoc-format": false, "no-consecutive-blank-lines": false, "no-var-keyword": false, diff --git a/types/openlayers/v3/.eslintrc.json b/types/openlayers/v3/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/openlayers/v3/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/openlayers/v3/tslint.json b/types/openlayers/v3/tslint.json index 7816d5165c..0c9a8e8dd3 100644 --- a/types/openlayers/v3/tslint.json +++ b/types/openlayers/v3/tslint.json @@ -4,7 +4,6 @@ "array-type": false, "ban-types": false, "comment-format": false, - "dt-header": false, "interface-name": false, "jsdoc-format": false, "max-line-length": false, diff --git a/types/parse/v1/.eslintrc.json b/types/parse/v1/.eslintrc.json index 6d13f588f0..e686ad775e 100644 --- a/types/parse/v1/.eslintrc.json +++ b/types/parse/v1/.eslintrc.json @@ -1,5 +1,6 @@ { - "rules": { - "no-const-enum": "off" - } + "rules": { + "no-const-enum": "off", + "dt-header": "off" + } } diff --git a/types/parse/v1/tslint.json b/types/parse/v1/tslint.json index d095216261..b8fa25af3e 100644 --- a/types/parse/v1/tslint.json +++ b/types/parse/v1/tslint.json @@ -5,7 +5,6 @@ "array-type": false, "ban-types": false, "comment-format": false, - "dt-header": false, "interface-name": false, "jsdoc-format": false, "no-any-union": false, diff --git a/types/postal/v0/.eslintrc.json b/types/postal/v0/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/postal/v0/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/postal/v0/tslint.json b/types/postal/v0/tslint.json index c1ef663b2d..c293b5df02 100644 --- a/types/postal/v0/tslint.json +++ b/types/postal/v0/tslint.json @@ -3,7 +3,6 @@ "rules": { "array-type": false, "ban-types": false, - "dt-header": false, "interface-name": false, "no-consecutive-blank-lines": false, "no-single-declare-module": false, diff --git a/types/q/v0/.eslintrc.json b/types/q/v0/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/q/v0/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/q/v0/tslint.json b/types/q/v0/tslint.json index 7a2db3339e..973bdec933 100644 --- a/types/q/v0/tslint.json +++ b/types/q/v0/tslint.json @@ -5,7 +5,6 @@ "array-type": false, "ban-types": false, "comment-format": false, - "dt-header": false, "interface-name": false, "jsdoc-format": false, "max-line-length": false, diff --git a/types/qunit/v1/.eslintrc.json b/types/qunit/v1/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/qunit/v1/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/qunit/v1/tslint.json b/types/qunit/v1/tslint.json index 35c08a1027..5145c9f7e6 100644 --- a/types/qunit/v1/tslint.json +++ b/types/qunit/v1/tslint.json @@ -4,7 +4,6 @@ "array-type": false, "ban-types": false, "comment-format": false, - "dt-header": false, "jsdoc-format": false, "no-consecutive-blank-lines": false, "no-padding": false, diff --git a/types/rbush/v2/.eslintrc.json b/types/rbush/v2/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/rbush/v2/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/rbush/v2/tslint.json b/types/rbush/v2/tslint.json index 8194afbd89..bac033ed84 100644 --- a/types/rbush/v2/tslint.json +++ b/types/rbush/v2/tslint.json @@ -1,7 +1,6 @@ { "extends": "@definitelytyped/dtslint/dt.json", "rules": { - "dt-header": false, "interface-name": false, "no-single-declare-module": false, "no-unnecessary-generics": false, diff --git a/types/react-dom/v15/.eslintrc.json b/types/react-dom/v15/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/react-dom/v15/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/react-dom/v15/tslint.json b/types/react-dom/v15/tslint.json index 0f7edf15a9..f8a984e6ca 100644 --- a/types/react-dom/v15/tslint.json +++ b/types/react-dom/v15/tslint.json @@ -1,7 +1,6 @@ { "extends": "@definitelytyped/dtslint/dt.json", "rules": { - "dt-header": false, "no-unnecessary-generics": false, "no-unnecessary-type-assertion": false } diff --git a/types/react-dom/v16/.eslintrc.json b/types/react-dom/v16/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/react-dom/v16/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/react-dom/v16/tslint.json b/types/react-dom/v16/tslint.json index df0e470257..b2281eff64 100644 --- a/types/react-dom/v16/tslint.json +++ b/types/react-dom/v16/tslint.json @@ -1,7 +1,6 @@ { "extends": "@definitelytyped/dtslint/dt.json", "rules": { - "dt-header": false, "no-unnecessary-generics": false } } diff --git a/types/react-dom/v17/.eslintrc.json b/types/react-dom/v17/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/react-dom/v17/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/react-dom/v17/tslint.json b/types/react-dom/v17/tslint.json index df0e470257..b2281eff64 100644 --- a/types/react-dom/v17/tslint.json +++ b/types/react-dom/v17/tslint.json @@ -1,7 +1,6 @@ { "extends": "@definitelytyped/dtslint/dt.json", "rules": { - "dt-header": false, "no-unnecessary-generics": false } } diff --git a/types/react-relay/tslint.json b/types/react-relay/tslint.json index 2bd2da5951..2efa283002 100644 --- a/types/react-relay/tslint.json +++ b/types/react-relay/tslint.json @@ -1,4 +1,3 @@ { - "extends": "@definitelytyped/dtslint/dt.json", - "rules": {} + "extends": "@definitelytyped/dtslint/dt.json" } diff --git a/types/react-relay/v7/tslint.json b/types/react-relay/v7/tslint.json index 2bd2da5951..2efa283002 100644 --- a/types/react-relay/v7/tslint.json +++ b/types/react-relay/v7/tslint.json @@ -1,4 +1,3 @@ { - "extends": "@definitelytyped/dtslint/dt.json", - "rules": {} + "extends": "@definitelytyped/dtslint/dt.json" } diff --git a/types/react-spinkit/v1/.eslintrc.json b/types/react-spinkit/v1/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/react-spinkit/v1/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/react-spinkit/v1/tslint.json b/types/react-spinkit/v1/tslint.json index 5689aa53c2..5f31da55a9 100644 --- a/types/react-spinkit/v1/tslint.json +++ b/types/react-spinkit/v1/tslint.json @@ -1,7 +1,6 @@ { "extends": "@definitelytyped/dtslint/dt.json", "rules": { - "dt-header": false, "strict-export-declare-modifiers": false } } diff --git a/types/react/v15/.eslintrc.json b/types/react/v15/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/react/v15/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/react/v15/tslint.json b/types/react/v15/tslint.json index e927faf2c9..294d07ad91 100644 --- a/types/react/v15/tslint.json +++ b/types/react/v15/tslint.json @@ -1,7 +1,6 @@ { "extends": "@definitelytyped/dtslint/dt.json", "rules": { - "dt-header": false, "no-any-union": false, "no-object-literal-type-assertion": false, "no-unnecessary-generics": false, diff --git a/types/react/v16/.eslintrc.json b/types/react/v16/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/react/v16/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/react/v16/tslint.json b/types/react/v16/tslint.json index a77da0b0c4..47e30ef2e4 100644 --- a/types/react/v16/tslint.json +++ b/types/react/v16/tslint.json @@ -1,7 +1,6 @@ { "extends": "@definitelytyped/dtslint/dt.json", "rules": { - "dt-header": false, "no-empty-interface": false, "no-object-literal-type-assertion": false, "no-unnecessary-generics": false, diff --git a/types/react/v17/.eslintrc.json b/types/react/v17/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/react/v17/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/react/v17/tslint.json b/types/react/v17/tslint.json index a77da0b0c4..47e30ef2e4 100644 --- a/types/react/v17/tslint.json +++ b/types/react/v17/tslint.json @@ -1,7 +1,6 @@ { "extends": "@definitelytyped/dtslint/dt.json", "rules": { - "dt-header": false, "no-empty-interface": false, "no-object-literal-type-assertion": false, "no-unnecessary-generics": false, diff --git a/types/recursive-readdir/v1/.eslintrc.json b/types/recursive-readdir/v1/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/recursive-readdir/v1/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/recursive-readdir/v1/tslint.json b/types/recursive-readdir/v1/tslint.json index 3919d64514..847d37332b 100644 --- a/types/recursive-readdir/v1/tslint.json +++ b/types/recursive-readdir/v1/tslint.json @@ -2,7 +2,6 @@ "extends": "@definitelytyped/dtslint/dt.json", "rules": { "array-type": false, - "dt-header": false, "no-consecutive-blank-lines": false, "trim-file": false, "unified-signatures": false diff --git a/types/redux-immutable/v3/.eslintrc.json b/types/redux-immutable/v3/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/redux-immutable/v3/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/redux-immutable/v3/tslint.json b/types/redux-immutable/v3/tslint.json index b31e722402..72bfbbc330 100644 --- a/types/redux-immutable/v3/tslint.json +++ b/types/redux-immutable/v3/tslint.json @@ -2,7 +2,6 @@ "extends": "@definitelytyped/dtslint/dt.json", "rules": { "arrow-return-shorthand": false, - "dt-header": false, "no-empty-interface": false, "no-unnecessary-generics": false, "semicolon": false, diff --git a/types/redux-mock-store/v0/.eslintrc.json b/types/redux-mock-store/v0/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/redux-mock-store/v0/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/redux-mock-store/v0/tslint.json b/types/redux-mock-store/v0/tslint.json index df0e470257..b2281eff64 100644 --- a/types/redux-mock-store/v0/tslint.json +++ b/types/redux-mock-store/v0/tslint.json @@ -1,7 +1,6 @@ { "extends": "@definitelytyped/dtslint/dt.json", "rules": { - "dt-header": false, "no-unnecessary-generics": false } } diff --git a/types/save-csv/tslint.json b/types/save-csv/tslint.json index 2bd2da5951..2efa283002 100644 --- a/types/save-csv/tslint.json +++ b/types/save-csv/tslint.json @@ -1,4 +1,3 @@ { - "extends": "@definitelytyped/dtslint/dt.json", - "rules": {} + "extends": "@definitelytyped/dtslint/dt.json" } diff --git a/types/seedrandom/v2/.eslintrc.json b/types/seedrandom/v2/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/seedrandom/v2/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/seedrandom/v2/tslint.json b/types/seedrandom/v2/tslint.json index f4a9b58084..300650a7d7 100644 --- a/types/seedrandom/v2/tslint.json +++ b/types/seedrandom/v2/tslint.json @@ -1,7 +1,6 @@ { "extends": "@definitelytyped/dtslint/dt.json", "rules": { - "dt-header": false, "interface-over-type-literal": false, "no-consecutive-blank-lines": false, "no-misused-new": false, diff --git a/types/sequelize/v3/.eslintrc.json b/types/sequelize/v3/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/sequelize/v3/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/sequelize/v3/tslint.json b/types/sequelize/v3/tslint.json index 58f74e86b4..10abdc49ff 100644 --- a/types/sequelize/v3/tslint.json +++ b/types/sequelize/v3/tslint.json @@ -3,7 +3,6 @@ "rules": { "array-type": false, "ban-types": false, - "dt-header": false, "jsdoc-format": false, "max-line-length": false, "no-consecutive-blank-lines": false, diff --git a/types/sinon-chai/v2/.eslintrc.json b/types/sinon-chai/v2/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/sinon-chai/v2/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/sinon-chai/v2/tslint.json b/types/sinon-chai/v2/tslint.json index daaa919876..f6e5a176df 100644 --- a/types/sinon-chai/v2/tslint.json +++ b/types/sinon-chai/v2/tslint.json @@ -1,7 +1,6 @@ { "extends": "@definitelytyped/dtslint/dt.json", "rules": { - "dt-header": false, "no-padding": false, "no-reference-import": false, "no-var-keyword": false, diff --git a/types/smtp-server/v1/.eslintrc.json b/types/smtp-server/v1/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/smtp-server/v1/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/smtp-server/v1/tslint.json b/types/smtp-server/v1/tslint.json index a941646e66..4c3d7dd471 100644 --- a/types/smtp-server/v1/tslint.json +++ b/types/smtp-server/v1/tslint.json @@ -3,7 +3,6 @@ "rules": { "ban-types": false, "comment-format": false, - "dt-header": false, "no-consecutive-blank-lines": false, "no-redundant-jsdoc-2": false, "no-trailing-whitespace": false, diff --git a/types/sparkpost/v1/.eslintrc.json b/types/sparkpost/v1/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/sparkpost/v1/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/sparkpost/v1/tslint.json b/types/sparkpost/v1/tslint.json index ebea3b07b9..a51a58dd4a 100644 --- a/types/sparkpost/v1/tslint.json +++ b/types/sparkpost/v1/tslint.json @@ -2,7 +2,6 @@ "extends": "@definitelytyped/dtslint/dt.json", "rules": { "array-type": false, - "dt-header": false, "no-consecutive-blank-lines": false, "no-padding": false, "no-redundant-jsdoc-2": false, diff --git a/types/sqlanywhere/tslint.json b/types/sqlanywhere/tslint.json index 2bd2da5951..2efa283002 100644 --- a/types/sqlanywhere/tslint.json +++ b/types/sqlanywhere/tslint.json @@ -1,4 +1,3 @@ { - "extends": "@definitelytyped/dtslint/dt.json", - "rules": {} + "extends": "@definitelytyped/dtslint/dt.json" } diff --git a/types/store/v1/.eslintrc.json b/types/store/v1/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/store/v1/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/store/v1/tslint.json b/types/store/v1/tslint.json index b7630ecc26..3d35c35a21 100644 --- a/types/store/v1/tslint.json +++ b/types/store/v1/tslint.json @@ -1,7 +1,6 @@ { "extends": "@definitelytyped/dtslint/dt.json", "rules": { - "dt-header": false, "no-consecutive-blank-lines": false, "no-single-declare-module": false, "no-var-keyword": false, diff --git a/types/tapable/v0/.eslintrc.json b/types/tapable/v0/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/tapable/v0/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/tapable/v0/tslint.json b/types/tapable/v0/tslint.json index 6208a0f1e6..652ddb05ba 100644 --- a/types/tapable/v0/tslint.json +++ b/types/tapable/v0/tslint.json @@ -2,7 +2,6 @@ "extends": "@definitelytyped/dtslint/dt.json", "rules": { "array-type": false, - "dt-header": false, "no-padding": false, "one-line": false, "only-arrow-functions": false, diff --git a/types/tapable/v1/.eslintrc.json b/types/tapable/v1/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/tapable/v1/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/tapable/v1/tslint.json b/types/tapable/v1/tslint.json index 632ab5307f..bac64208f6 100644 --- a/types/tapable/v1/tslint.json +++ b/types/tapable/v1/tslint.json @@ -3,7 +3,6 @@ "rules": { "array-type": false, "ban-types": false, - "dt-header": false, "interface-over-type-literal": false, "no-padding": false, "no-unnecessary-class": false, diff --git a/types/through2/v0/.eslintrc.json b/types/through2/v0/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/through2/v0/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/through2/v0/tslint.json b/types/through2/v0/tslint.json index 971c3287dd..38769067f7 100644 --- a/types/through2/v0/tslint.json +++ b/types/through2/v0/tslint.json @@ -1,7 +1,6 @@ { "extends": "@definitelytyped/dtslint/dt.json", "rules": { - "dt-header": false, "no-consecutive-blank-lines": false, "no-padding": false, "no-var-keyword": false, diff --git a/types/treeify/tslint.json b/types/treeify/tslint.json index 2bd2da5951..2efa283002 100644 --- a/types/treeify/tslint.json +++ b/types/treeify/tslint.json @@ -1,4 +1,3 @@ { - "extends": "@definitelytyped/dtslint/dt.json", - "rules": {} + "extends": "@definitelytyped/dtslint/dt.json" } diff --git a/types/type-detect/v0/.eslintrc.json b/types/type-detect/v0/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/type-detect/v0/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/type-detect/v0/tslint.json b/types/type-detect/v0/tslint.json index 25397ac79d..b2e258a105 100644 --- a/types/type-detect/v0/tslint.json +++ b/types/type-detect/v0/tslint.json @@ -1,7 +1,6 @@ { "extends": "@definitelytyped/dtslint/dt.json", "rules": { - "dt-header": false, "no-consecutive-blank-lines": false, "no-var-keyword": false, "prefer-const": false, diff --git a/types/uglify-js/v2/.eslintrc.json b/types/uglify-js/v2/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/uglify-js/v2/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/uglify-js/v2/tslint.json b/types/uglify-js/v2/tslint.json index d8a8ccc2e3..f2f6993575 100644 --- a/types/uglify-js/v2/tslint.json +++ b/types/uglify-js/v2/tslint.json @@ -4,7 +4,6 @@ "array-type": false, "ban-types": false, "comment-format": false, - "dt-header": false, "export-just-namespace": false, "max-line-length": false, "no-consecutive-blank-lines": false, diff --git a/types/uuid/v2/.eslintrc.json b/types/uuid/v2/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/uuid/v2/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/uuid/v2/tslint.json b/types/uuid/v2/tslint.json index 466bd9638f..2cd167cf81 100644 --- a/types/uuid/v2/tslint.json +++ b/types/uuid/v2/tslint.json @@ -1,7 +1,6 @@ { "extends": "@definitelytyped/dtslint/dt.json", "rules": { - "dt-header": false, "semicolon": false, "unified-signatures": false } diff --git a/types/vinyl/v0/.eslintrc.json b/types/vinyl/v0/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/vinyl/v0/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/vinyl/v0/tslint.json b/types/vinyl/v0/tslint.json index a3818b3492..aa2d57646e 100644 --- a/types/vinyl/v0/tslint.json +++ b/types/vinyl/v0/tslint.json @@ -1,7 +1,6 @@ { "extends": "@definitelytyped/dtslint/dt.json", "rules": { - "dt-header": false, "jsdoc-format": false, "member-access": false, "no-consecutive-blank-lines": false, diff --git a/types/winjs/v1/.eslintrc.json b/types/winjs/v1/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/winjs/v1/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/winjs/v1/tslint.json b/types/winjs/v1/tslint.json index 0e91e2ef32..e4e329f417 100644 --- a/types/winjs/v1/tslint.json +++ b/types/winjs/v1/tslint.json @@ -3,7 +3,6 @@ "rules": { "array-type": false, "ban-types": false, - "dt-header": false, "interface-name": false, "jsdoc-format": false, "max-line-length": false, diff --git a/types/winjs/v2/.eslintrc.json b/types/winjs/v2/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/winjs/v2/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/winjs/v2/tslint.json b/types/winjs/v2/tslint.json index 7feaf394ee..466c34b431 100644 --- a/types/winjs/v2/tslint.json +++ b/types/winjs/v2/tslint.json @@ -3,7 +3,6 @@ "rules": { "array-type": false, "ban-types": false, - "dt-header": false, "interface-name": false, "jsdoc-format": false, "max-line-length": false, diff --git a/types/wreck/v7/.eslintrc.json b/types/wreck/v7/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/wreck/v7/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/wreck/v7/tslint.json b/types/wreck/v7/tslint.json index 17fc980d19..b58aec785c 100644 --- a/types/wreck/v7/tslint.json +++ b/types/wreck/v7/tslint.json @@ -1,7 +1,6 @@ { "extends": "@definitelytyped/dtslint/dt.json", "rules": { - "dt-header": false, "no-consecutive-blank-lines": false, "no-padding": false, "no-var-keyword": false, diff --git a/types/xrm/v6/.eslintrc.json b/types/xrm/v6/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/xrm/v6/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/xrm/v6/tslint.json b/types/xrm/v6/tslint.json index 2b54689903..93a1353cd5 100644 --- a/types/xrm/v6/tslint.json +++ b/types/xrm/v6/tslint.json @@ -1,7 +1,6 @@ { "extends": "@definitelytyped/dtslint/dt.json", "rules": { - "dt-header": false, "no-const-enum": false, "no-internal-module": false, "no-redundant-jsdoc-2": false, diff --git a/types/xrm/v7/.eslintrc.json b/types/xrm/v7/.eslintrc.json new file mode 100644 index 0000000000..01fa17ea99 --- /dev/null +++ b/types/xrm/v7/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "dt-header": "off" + } +} diff --git a/types/xrm/v7/tslint.json b/types/xrm/v7/tslint.json index 08c606dbe5..376e7eb595 100644 --- a/types/xrm/v7/tslint.json +++ b/types/xrm/v7/tslint.json @@ -1,7 +1,6 @@ { "extends": "@definitelytyped/dtslint/dt.json", "rules": { - "dt-header": false, "interface-over-type-literal": false, "no-const-enum": false, "no-internal-module": false,