Skip to content

Commit

Permalink
release 8.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
wintercounter committed Oct 23, 2021
1 parent c0d64ab commit f93f2da
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 2 additions & 0 deletions index.js
Expand Up @@ -3,6 +3,7 @@ const fs = require('fs')

const f1 = path.resolve(__dirname, '../eslint/lib/shared/relative-module-resolver.js')
const f2 = path.resolve(__dirname, '../@eslint/eslintrc/lib/shared/relative-module-resolver.js')
const f3 = path.resolve(__dirname, '../@eslint/eslintrc/dist/eslintrc.cjs')

function doPatch(file) {
if (fs.existsSync(file)) {
Expand All @@ -29,3 +30,4 @@ try {

doPatch(f1)
doPatch(f2)
doPatch(f3)
5 changes: 0 additions & 5 deletions package-lock.json

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "eslint-global-patch",
"version": "7.12.1",
"version": "8.1.1",
"description": "From ESLint@6 the possibility was removed to use global configs and plugins. This npm package will patch you eslint installation to add support back.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit f93f2da

Please sign in to comment.