Skip to content

Commit

Permalink
๐Ÿ™…๐Ÿผโ€โ™‚๏ธ gitignore (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
bradgarropy authored Dec 17, 2024
1 parent f4ab14b commit 2e31aa5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 32 deletions.
11 changes: 1 addition & 10 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
import path from "node:path"
import {fileURLToPath} from "node:url"

import {includeIgnoreFile} from "@eslint/compat"
import js from "@eslint/js"
import vitest from "@vitest/eslint-plugin"
import jsxA11y from "eslint-plugin-jsx-a11y"
Expand All @@ -11,14 +7,9 @@ import simpleImportSort from "eslint-plugin-simple-import-sort"
import globals from "globals"
import ts from "typescript-eslint"

const filename = fileURLToPath(import.meta.url)
const dirname = path.dirname(filename)
const gitignore = path.resolve(dirname, ".gitignore")

const config = ts.config([
includeIgnoreFile(gitignore),
{
ignores: ["build", "coverage"],
ignores: ["build", "coverage", "node_modules"],
},
js.configs.recommended,
ts.configs.recommended,
Expand Down
22 changes: 2 additions & 20 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bradgarropy/eslint-config",
"version": "3.0.0",
"version": "3.0.1",
"type": "module",
"exports": "./index.js",
"description": "๐Ÿ’Ž eslint configuration",
Expand Down Expand Up @@ -28,7 +28,6 @@
"lint:fix": "eslint . --fix"
},
"dependencies": {
"@eslint/compat": "^1.2.4",
"@eslint/js": "^9.1.1",
"@types/eslint": "^9.6.1",
"@vitest/eslint-plugin": "^1.1.16",
Expand Down

0 comments on commit 2e31aa5

Please sign in to comment.