Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update devDependencies #197

Merged
merged 1 commit into from
Nov 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 20 additions & 20 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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"
}
}
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
}
}