From 8ac2cb7912f5dec13089e02a71b99c65c98165be Mon Sep 17 00:00:00 2001 From: Alan Cruikshanks Date: Wed, 13 Nov 2024 17:56:09 +0000 Subject: [PATCH] Be consistent with plugins --- eslint.config.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index 1f4130344e..8ea50f77a1 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,10 +1,10 @@ 'use strict' +const stylisticPlugin = require('@stylistic/eslint-plugin-js') const importPlugin = require('eslint-plugin-import') -const jsdoc = require('eslint-plugin-jsdoc') +const jsdocPlugin = require('eslint-plugin-jsdoc') const nPlugin = require('eslint-plugin-n') const promisePlugin = require('eslint-plugin-promise') -const stylistic = require('@stylistic/eslint-plugin-js') const globals = require('globals') module.exports = [ @@ -21,9 +21,9 @@ module.exports = [ // Ignore the folder created when jsdocs are generated ignores: ['docs/**/*'], plugins: { - '@stylistic/js': stylistic, + '@stylistic/js': stylisticPlugin, import: importPlugin, - jsdoc, + jsdoc: jsdocPlugin, n: nPlugin, promise: promisePlugin },