From aa13e294c26d0c54348dca0b8d298b9a2e5f6828 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20De=20Boey?= Date: Tue, 23 Nov 2021 12:56:20 +0100 Subject: [PATCH] chore: update `devDependencies` --- .eslintrc.js | 40 ++++++++++++++++++++-------------------- package.json | 10 +++++----- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 805090a4..2b419350 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,9 +1,9 @@ "use strict"; -var fs = require("fs"); -var path = require("path"); -var PACKAGE_NAME = require("./package").name; -var SYMLINK_LOCATION = path.join(__dirname, "node_modules", PACKAGE_NAME); +const fs = require("fs"); +const path = require("path"); +const PACKAGE_NAME = require("./package").name; +const SYMLINK_LOCATION = path.join(__dirname, "node_modules", PACKAGE_NAME); // Symlink node_modules/eslint-plugin-markdown to this directory so that ESLint // resolves this plugin name correctly. @@ -12,37 +12,37 @@ if (!fs.existsSync(SYMLINK_LOCATION)) { } module.exports = { - "root": true, + root: true, - "parserOptions": { - "ecmaVersion": 2018 + parserOptions: { + ecmaVersion: 2018 }, - "plugins": [ + plugins: [ PACKAGE_NAME ], - "env": { - "node": true + env: { + node: true }, - "extends": "eslint", + extends: "eslint", - "ignorePatterns": ["examples"], + ignorePatterns: ["examples"], - "overrides": [ + overrides: [ { - "files": ["**/*.md"], - "processor": "markdown/markdown" + files: ["**/*.md"], + processor: "markdown/markdown" }, { - "files": ["**/*.md/*.js"], - "parserOptions": { - "ecmaFeatures": { - "impliedStrict": true + files: ["**/*.md/*.js"], + parserOptions: { + ecmaFeatures: { + impliedStrict: true } }, - "rules": { + rules: { "lines-around-comment": "off" } } diff --git a/package.json b/package.json index d1a50208..bf242d43 100644 --- a/package.json +++ b/package.json @@ -38,10 +38,10 @@ ], "devDependencies": { "chai": "^4.2.0", - "eslint": "^6.8.0", - "eslint-config-eslint": "^6.0.0", - "eslint-plugin-jsdoc": "^15.9.5", - "eslint-plugin-node": "^9.0.0", + "eslint": "^7.32.0", + "eslint-config-eslint": "^7.0.0", + "eslint-plugin-jsdoc": "^37.0.3", + "eslint-plugin-node": "^11.1.0", "eslint-release": "^3.1.2", "mocha": "^6.2.2", "nyc": "^14.1.1" @@ -53,6 +53,6 @@ "eslint": ">=6.0.0" }, "engines": { - "node": "^8.10.0 || ^10.12.0 || >= 12.0.0" + "node": "^8.10.0 || ^10.12.0 || >=12.0.0" } }