mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-26 06:27:59 +02:00
chore: tighten ESLint config (#6931)
* chore: tighten ESLint config * more refactor * refactor push * fix
This commit is contained in:
parent
f70ddf7e69
commit
cc0bceab9c
54 changed files with 177 additions and 193 deletions
|
@ -10,8 +10,19 @@ import fs from 'fs-extra';
|
|||
|
||||
type PackageJsonFile = {
|
||||
file: string;
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
content: any;
|
||||
content: {
|
||||
name?: string;
|
||||
private?: boolean;
|
||||
version?: string;
|
||||
repository?: {
|
||||
type?: string;
|
||||
url?: string;
|
||||
directory?: string;
|
||||
};
|
||||
publishConfig?: {
|
||||
access?: string;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
async function getPackagesJsonFiles(): Promise<PackageJsonFile[]> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue