chore: enable import/order rule (#7418)

This commit is contained in:
Joshua Chen 2022-05-14 23:39:50 +08:00 committed by GitHub
parent a4c54aba45
commit 0838884f67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
300 changed files with 712 additions and 727 deletions

View file

@ -5,8 +5,8 @@
* LICENSE file in the root directory of this source tree.
*/
import Joi from './Joi';
import {isValidPathname, DEFAULT_PLUGIN_ID, type Tag} from '@docusaurus/utils';
import Joi from './Joi';
import {JoiFrontMatter} from './JoiFrontMatter';
export const PluginIdSchema = Joi.string()

View file

@ -5,10 +5,10 @@
* LICENSE file in the root directory of this source tree.
*/
import type Joi from './Joi';
import logger from '@docusaurus/logger';
import Yaml from 'js-yaml';
import {PluginIdSchema} from './validationSchemas';
import type Joi from './Joi';
/** Print warnings returned from Joi validation. */
export function printWarning(warning?: Joi.ValidationError): void {