mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-06 12:52:31 +02:00
chore(v2): Fix more eslint errors (#2976)
This commit is contained in:
parent
3611c96f90
commit
6e43c9bd34
81 changed files with 375 additions and 237 deletions
|
@ -4,13 +4,16 @@
|
|||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
import {LoadContext} from '@docusaurus/types';
|
||||
import {LoadContext, Plugin} from '@docusaurus/types';
|
||||
import {PluginOptions} from './types';
|
||||
import {Configuration} from 'webpack';
|
||||
|
||||
import path from 'path';
|
||||
|
||||
export default function (_context: LoadContext, options: PluginOptions) {
|
||||
export default function (
|
||||
_context: LoadContext,
|
||||
options: PluginOptions,
|
||||
): Plugin<void> {
|
||||
const isProd = process.env.NODE_ENV === 'production';
|
||||
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue