2502 Commits

Author SHA1 Message Date
Nathan Shively-Sanders
3c92bd1108 Allow .eslintrc.json (#496)
The FS and unused-packages check both need to know about .eslintrc.json

The FS check for `./foo` is too simple, but I expanded the existing
allow-list instead of making the check stricter.
2022-07-05 14:41:11 -07:00
TypeScript Bot
c8d00292a3 v0.0.120-next.2 v0.0.120-next.2 2022-07-05 20:47:38 +00:00
Nathan Shively-Sanders
91640e2473 Port two rules from tslint to eslint (#489)
* Half-done work from pairing with Josh Goldberg

* Cleanup

1. Update @typescript-eslint deps again.
2. Remove tslint versions of new eslint rules.
3. Add no-dead-reference eslint test.

* Fix formatting

* Fix lint

* Stop using @definitelytyped/eslint-config-dtslint

Instead, rely on Definitely Typed having a .eslintrc.json at the root.
It already one with `{ root: true }` and
https://github.com/DefinitelyTyped/DefinitelyTyped/pull/61051 adds
the rest of eslint-config-dtslint to it.

Also, switch cwd to the current package directory so that .eslintignore
is determined correctly.

* Remove eslint-config-dtslint

It's not needed if Definitely Typed has its own .eslintrc.json:
https://github.com/DefinitelyTyped/DefinitelyTyped/pull/61051

* Add a couple of tests of multiple bad references
v0.0.120
2022-07-05 13:43:35 -07:00
TypeScript Bot
4d924b2d2e v0.0.120-next.1 v0.0.120-next.1 2022-06-29 22:42:22 +00:00
Nathan Shively-Sanders
c8a1901724 Disable config cascading (#493)
Attempt 2: This time in the ESLint API setup
2022-06-29 15:38:47 -07:00
TypeScript Bot
df47c61ed4 v0.0.120-next.0 v0.0.120-next.0 2022-06-29 21:43:56 +00:00
Nathan Shively-Sanders
2a5e826697 Turn off config cascading. (#492)
It's unwanted in CI and broken in DT on-demand tests, which are run
inside two (!) other repos with their own .eslintrc.json files.

(Attempt 1 -- I don't know if this will work since the documentation
never mentions config packages, only .eslintrc.json)
2022-06-29 14:39:52 -07:00
TypeScript Bot
4011b70de0 v0.0.119 v0.0.119 2022-06-28 17:57:56 +00:00
TypeScript Bot
e35d3de627 v0.0.119-next.5 v0.0.119-next.5 2022-06-28 17:54:21 +00:00
Jack Bates
90eac4dbf8 Use pacote second attempt (#483)
* Use cached npm metadata

* Simply read the npm cache

* Use pacote
2022-06-28 10:51:02 -07:00
TypeScript Bot
a14dcb64ec v0.0.119-next.4 v0.0.119-next.4 2022-06-28 17:01:01 +00:00
Nathan Shively-Sanders
06efe33996 Remove mongoose dependents from expectedFailures.txt (#490)
A new version has shipped with the latest fix.
2022-06-28 09:57:10 -07:00
TypeScript Bot
751acf3303 v0.0.119-next.3 v0.0.119-next.3 2022-06-27 21:59:23 +00:00
Nathan Shively-Sanders
78774a7bc9 Fix eslint-disable check (#488)
The last part of the check was backward, so it forbid `eslint-disable rule-name` but not `eslint-disable` on its own, which is backward.
2022-06-27 14:55:37 -07:00
TypeScript Bot
16fd67839e v0.0.119-next.2 v0.0.119-next.2 2022-06-24 15:54:02 +00:00
Jack Bates
998ba34666 Use GitHub Actions to publish registry (#449) 2022-06-24 08:50:30 -07:00
TypeScript Bot
8139e13fb8 v0.0.119-next.1 v0.0.119-next.1 2022-06-23 17:28:39 +00:00
Nathan Shively-Sanders
82647fb150 Add 1 more mongoose dependent that I missed (#487)
to expectedFailures.
2022-06-23 10:25:22 -07:00
TypeScript Bot
c4469e46db v0.0.119-next.0 v0.0.119-next.0 2022-06-22 23:15:45 +00:00
Nathan Shively-Sanders
19449f65c4 Add mongoose dependents to expectedFailures.txt (#486)
Fix is up at https://github.com/Automattic/mongoose/pull/11978 but I
don't know how long it will take to ship.
2022-06-22 16:11:58 -07:00
TypeScript Bot
ed04e19aee v0.0.118 v0.0.118 2022-06-22 19:35:04 +00:00
TypeScript Bot
468790bfc2 v0.0.118-next.0 v0.0.118-next.0 2022-06-22 18:47:00 +00:00
Jack Bates
3e6aab8c62 Registry API no longer needs %2f-encoding (#445) 2022-06-22 11:43:32 -07:00
TypeScript Bot
305cdef85c v0.0.117 v0.0.117 2022-06-22 15:58:43 +00:00
TypeScript Bot
fc587498c4 v0.0.117-next.1 v0.0.117-next.1 2022-06-22 15:30:26 +00:00
Jack Bates
cf254e3523 Add deprecated field to not-needed package.json (#471) 2022-06-22 08:26:29 -07:00
TypeScript Bot
ca115bbf14 v0.0.117-next.0 v0.0.117-next.0 2022-06-21 17:05:11 +00:00
Denis Tokarev
9714cfc577 Add pino-pretty to the list of allowed dependencies (#485)
Add `pino-pretty` to the list of allowed dependencies, because it's shipped with its own typings
2022-06-21 10:01:52 -07:00
TypeScript Bot
110f92a10a v0.0.116 v0.0.116 2022-06-21 16:28:29 +00:00
TypeScript Bot
fee3851b75 v0.0.116-next.1 v0.0.116-next.1 2022-06-21 16:18:00 +00:00
TypeScript Bot
f58b4899b3 Format 2022-06-21 16:17:33 +00:00
Nathan Shively-Sanders
b0f4669783 Add eslint support with empty ruleset (#482)
* Add eslint support with empty ruleset

1. Add base config at @definitelytyped/eslint
2. dtslint now runs this base config, or .eslintrc.json if present in a DT
package.
3. No rules or anything else turned on yet.

* More complete support for eslint in lint.ts

More things will have to change when we get rid of tslint, though.

* twiddle new package version

* rename built-in eslint config to eslint-config-dtslint

* add instructions to dtslint-runner README on running locally
2022-06-21 09:14:28 -07:00
TypeScript Bot
d93078cd1d v0.0.116-next.0 v0.0.116-next.0 2022-06-13 22:55:51 +00:00
Denis Tokarev
258743a07c Add pino and pino-http to the list of allowed dependencies (#481)
Add `pino` and `pino-http` to the list of allowed dependencies, since these packages come with their own typings now
2022-06-13 15:51:49 -07:00
TypeScript Bot
ce776145ca v0.0.115 v0.0.115 2022-06-09 20:43:49 +00:00
TypeScript Bot
aeb3d11e59 v0.0.115-next.1 v0.0.115-next.1 2022-06-09 20:38:57 +00:00
Andrew Branch
cbb1d4d1fa Revert "Use cached npm info (#451)" (#480)
* Revert "Use cached npm info (#451)"

This reverts commit e246b08817.

* Fix package.json version
2022-06-09 13:34:46 -07:00
TypeScript Bot
6011b4ef3c v0.0.115-next.0 v0.0.115-next.0 2022-06-09 20:08:30 +00:00
Andrew Branch
886e0e94d7 Revert "Fix cache dir path (#478)" (#479)
This reverts commit 3f2f642501.
2022-06-09 13:04:21 -07:00
TypeScript Bot
d90f66ae94 v0.0.114 v0.0.114 2022-06-09 19:49:09 +00:00
Andrew Branch
3f2f642501 Fix cache dir path (#478) 2022-06-09 12:46:09 -07:00
TypeScript Bot
e377a7eaac v0.0.113 v0.0.113 2022-06-09 18:56:10 +00:00
TypeScript Bot
8b01655fc1 v0.0.113-next.22 v0.0.113-next.22 2022-06-09 18:44:50 +00:00
Jack Bates
e246b08817 Use cached npm info (#451)
* Registry API no longer needs %2f-encoding

* Use cached npm info

* Simply read the npm cache

* Delete create-search-index.ts

* Use pacote
2022-06-09 11:41:21 -07:00
TypeScript Bot
47c36041ec v0.0.113-next.21 v0.0.113-next.21 2022-06-09 18:21:07 +00:00
Jack Bates
3e1d59e0eb Delete create-search-index.ts (#456) 2022-06-09 11:17:40 -07:00
TypeScript Bot
c246cffed0 v0.0.113-next.20 v0.0.113-next.20 2022-06-07 18:07:02 +00:00
Matthew
f1d3998366 Allow @aws-sdk/client-s3 dependency (#477) 2022-06-07 11:03:48 -07:00
TypeScript Bot
aea7482683 v0.0.113-next.19 v0.0.113-next.19 2022-06-06 22:04:14 +00:00
Nathan Shively-Sanders
5746e1117d Re-add failing packages to expectedFailures (#476)
Failures on DT caused by changing the assignability rule for
unconstrained type parameters. This is back in Typescript 4.8.
2022-06-06 15:00:56 -07:00