Update
This commit is contained in:
25
patch/eslint-plugin-n.patch
Normal file
25
patch/eslint-plugin-n.patch
Normal file
@ -0,0 +1,25 @@
|
||||
diff --git a/lib/index.js b/lib/index.js
|
||||
index 341c86d..3fb26d1 100644
|
||||
--- a/lib/index.js
|
||||
+++ b/lib/index.js
|
||||
@@ -1,15 +1,16 @@
|
||||
/* DON'T EDIT THIS FILE. This is generated by 'scripts/update-lib-index.js' */
|
||||
"use strict"
|
||||
|
||||
-const pkg = require("../package.json")
|
||||
+import { name, version } from "../package.json"
|
||||
+import recommendedModule from "./configs/recommended-module"
|
||||
|
||||
module.exports = {
|
||||
meta: {
|
||||
- name: pkg.name,
|
||||
- version: pkg.version,
|
||||
+ name,
|
||||
+ version,
|
||||
},
|
||||
configs: {
|
||||
- "recommended-module": require("./configs/recommended-module"),
|
||||
+ "recommended-module": recommendedModule,
|
||||
"recommended-script": require("./configs/recommended-script"),
|
||||
get recommended() {
|
||||
return require("./configs/recommended")()
|
Reference in New Issue
Block a user