@bsara/eslint-config-node
Advanced tools
Comparing version 1.0.3 to 1.0.4
13
index.js
@@ -12,3 +12,3 @@ /** | ||
/** @type {import('eslint').Linter.Config} */ | ||
/** @type {import('eslint').Linter.Config[]} */ | ||
export const node = [ | ||
@@ -47,3 +47,3 @@ n.configs['flat/recommended'], | ||
/** @type {import('eslint').Linter.Config} */ | ||
/** @type {import('eslint').Linter.Config[]} */ | ||
export const eslintConfigs = [ | ||
@@ -68,9 +68,2 @@ { | ||
], | ||
})) | ||
export default [ | ||
...node, | ||
...eslintConfigs | ||
]; | ||
})); |
{ | ||
"name": "@bsara/eslint-config-node", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "bsara's Node ESLint config", | ||
@@ -19,6 +19,6 @@ "authors": [ | ||
"prebuild": "npm run clean", | ||
"build": "npx eslint-config-inspector build --config index.js --base /node --files false", | ||
"postbuild": "mv .eslint-config-inspector ../../public/node", | ||
"build": "npx eslint-config-inspector build --config ./for-config-inspector.js --base /bsara-eslint-configs/node --files false", | ||
"postbuild": "node ../../.scripts/add-proj-info.js node \"-node\" && mv .eslint-config-inspector ../../public/node", | ||
"clean": "[ -d \"../../public/node\" ] && rm -R ../../public/node || echo done", | ||
"start": "npx eslint-config-inspector start --config ./index.js --port 7771 --files false" | ||
"start": "npx eslint-config-inspector start --config ./for-config-inspector.js --port 7771 --files false" | ||
}, | ||
@@ -25,0 +25,0 @@ "exports": { |
@@ -9,3 +9,3 @@ @bsara/eslint-config-node | ||
[Configs Inspector](https://bsara.gitlab.io/bsara-eslint-configs) | ||
[Config Inspector](https://bsara.gitlab.io/bsara-eslint-configs/node) | ||
@@ -12,0 +12,0 @@ |
4172
55