@eslint-sukka/node 8.0.2 → 8.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("@eslint-sukka/shared"),r=require("@eslint-sukka/eslint-plugin-sukka-full"),o=require("eslint-plugin-n");exports.node=function(n={}){let s=n.module??e.getPackageJson()?.type==="module",l=e.UNSAFE_excludeJsonYamlFiles([r.configs.node,{name:"@eslint-sukka/node base",plugins:{n:
|
|
1
|
+
"use strict";var e=require("@eslint-sukka/shared"),r=require("@eslint-sukka/eslint-plugin-sukka-full"),o=require("eslint-plugin-n");exports.node=function(n={}){let s=n.module??e.getPackageJson()?.type==="module",l=e.UNSAFE_excludeJsonYamlFiles([r.configs.node,{name:"@eslint-sukka/node base",plugins:{n:o},rules:{"n/no-unsupported-features/es-syntax":"off","handle-callback-err":"off","no-new-require":"off","n/no-new-require":"error","no-path-concat":"off","n/no-path-concat":"error","no-process-env":"off","n/no-process-exit":"off","no-restricted-modules":"off","no-sync":"off","n/no-deprecated-api":["error",{ignoreModuleItems:["url.parse","url.resolve"]}],"n/no-missing-import":"off","n/no-missing-require":"off","n/no-extraneous-import":"off","n/no-extraneous-require":"off","n/no-restricted-require":n.hasTypeScript?"off":["error",e.RESTRICTED_IMPORT_NODE_REQUIRE],"n/prefer-node-protocol":"off","n/process-exit-as-throw":"error","n/prefer-global/buffer":["error","never"],"n/prefer-global/console":["error","always"],"n/prefer-global/process":n.hasReact?"off":["error","never"],"n/prefer-global/text-decoder":["error","always"],"n/prefer-global/text-encoder":["error","always"],"n/prefer-global/url":["error","always"],"n/prefer-global/url-search-params":["error","always"],"n/prefer-promises/dns":"error"},languageOptions:{globals:e.globals.node}}]);return!1!==n.strict&&l.push({name:"@eslint-sukka/node use strict",files:n.files??(s?["*.cjs",".*.cjs"]:["*.cjs",".*.cjs","*.js",".*.js"]),rules:{strict:["warn","global"]}}),l};
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{getPackageJson as e,UNSAFE_excludeJsonYamlFiles as r,globals as o,RESTRICTED_IMPORT_NODE_REQUIRE as n
|
|
1
|
+
import{getPackageJson as e,UNSAFE_excludeJsonYamlFiles as r,globals as o,RESTRICTED_IMPORT_NODE_REQUIRE as n}from"@eslint-sukka/shared";import s from"@eslint-sukka/eslint-plugin-sukka-full";import l from"eslint-plugin-n";function a(f={}){let t=f.module??e()?.type==="module",i=r([s.configs.node,{name:"@eslint-sukka/node base",plugins:{n:l},rules:{"n/no-unsupported-features/es-syntax":"off","handle-callback-err":"off","no-new-require":"off","n/no-new-require":"error","no-path-concat":"off","n/no-path-concat":"error","no-process-env":"off","n/no-process-exit":"off","no-restricted-modules":"off","no-sync":"off","n/no-deprecated-api":["error",{ignoreModuleItems:["url.parse","url.resolve"]}],"n/no-missing-import":"off","n/no-missing-require":"off","n/no-extraneous-import":"off","n/no-extraneous-require":"off","n/no-restricted-require":f.hasTypeScript?"off":["error",n],"n/prefer-node-protocol":"off","n/process-exit-as-throw":"error","n/prefer-global/buffer":["error","never"],"n/prefer-global/console":["error","always"],"n/prefer-global/process":f.hasReact?"off":["error","never"],"n/prefer-global/text-decoder":["error","always"],"n/prefer-global/text-encoder":["error","always"],"n/prefer-global/url":["error","always"],"n/prefer-global/url-search-params":["error","always"],"n/prefer-promises/dns":"error"},languageOptions:{globals:o.node}}]);return!1!==f.strict&&i.push({name:"@eslint-sukka/node use strict",files:f.files??(t?["*.cjs",".*.cjs"]:["*.cjs",".*.cjs","*.js",".*.js"]),rules:{strict:["warn","global"]}}),i}export{a as node};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-sukka/node",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.3",
|
|
4
4
|
"description": "Sukka's ESLint config",
|
|
5
5
|
"homepage": "https://github.com/SukkaW/eslint-config-sukka",
|
|
6
6
|
"repository": {
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
"license": "MIT",
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"eslint-plugin-n": "^17.23.1",
|
|
32
|
-
"@eslint-sukka/eslint-plugin-sukka-full": "8.0.
|
|
33
|
-
"@eslint-sukka/shared": "8.0.
|
|
32
|
+
"@eslint-sukka/eslint-plugin-sukka-full": "8.0.3",
|
|
33
|
+
"@eslint-sukka/shared": "8.0.3"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@eslint-sukka/rollup-config": "8.0.
|
|
36
|
+
"@eslint-sukka/rollup-config": "8.0.3"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"build": "rollup -c rollup.config.ts --configPlugin swc3"
|