mirror of
https://github.com/Dan6erbond/sk-auth.git
synced 2025-06-17 01:17:13 +02:00
🔧 Fix various glob patterns to properly ignore dirs
This commit is contained in:
parent
e664ca602f
commit
6b99759905
@ -1,2 +1,3 @@
|
|||||||
README.md
|
README.md
|
||||||
app/**/*
|
app/
|
||||||
|
*.cjs
|
||||||
|
@ -4,7 +4,6 @@ module.exports = {
|
|||||||
extends: [
|
extends: [
|
||||||
"eslint:recommended",
|
"eslint:recommended",
|
||||||
"plugin:@typescript-eslint/recommended",
|
"plugin:@typescript-eslint/recommended",
|
||||||
"./.eslintrc.shared.cjs",
|
"./.eslintrc-shared.cjs",
|
||||||
],
|
],
|
||||||
ignorePatterns: ["*.cjs", "app/**/*"],
|
|
||||||
};
|
};
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
dist/**
|
dist/
|
||||||
node_modules/**
|
node_modules/
|
||||||
README.md
|
README.md
|
||||||
app/**/*
|
app/
|
||||||
|
2
app/.eslintignore
Normal file
2
app/.eslintignore
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
README.md
|
||||||
|
*.cjs
|
@ -1,7 +1,7 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
root: true,
|
root: true,
|
||||||
parser: "@typescript-eslint/parser",
|
parser: "@typescript-eslint/parser",
|
||||||
extends: ["../.eslintrc.shared.cjs"],
|
extends: ["../.eslintrc-shared.cjs"],
|
||||||
plugins: ["svelte3"],
|
plugins: ["svelte3"],
|
||||||
overrides: [
|
overrides: [
|
||||||
{
|
{
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
.svelte-kit/**
|
.svelte-kit/
|
||||||
static/**
|
static/
|
||||||
build/**
|
build/
|
||||||
node_modules/**
|
node_modules/
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
"build": "rollup --config",
|
"build": "rollup --config",
|
||||||
"dev": "rollup --config --watch",
|
"dev": "rollup --config --watch",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
"lint": "prettier --check --plugin-search-dir=. . && eslint --ignore-path .gitignore .",
|
"lint": "prettier --check --plugin-search-dir=. . && eslint .",
|
||||||
"format": "prettier --write --plugin-search-dir=. ."
|
"format": "prettier --write --plugin-search-dir=. ."
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
Loading…
Reference in New Issue
Block a user