standard-tsx 0.0.2 → 0.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/HISTORY.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.0.3
2
+ * [Update README.md](https://github.com/extremeheat/standard-tsx/commit/0f6de2eac2d90cec95ad49ef887cfca79e6e35d1) (thanks @extremeheat)
3
+ * [Update eslint.config.js - glob: ignore node_modules](https://github.com/extremeheat/standard-tsx/commit/7f5f6735c0baebc1923ef86d12cbd00a1db22032) (thanks @extremeheat)
4
+
1
5
  ## 0.0.2
2
6
  * [Fix gitignore not being ignored in ESLint v9](https://github.com/extremeheat/standard-tsx/commit/5cf299712901d01b873102ef34929f7cef171189) (thanks @extremeheat)
3
7
 
package/README.md CHANGED
@@ -10,7 +10,7 @@ add any new rules. Instead, it applies standard's eslint config (https://github.
10
10
 
11
11
  ## Install
12
12
  ```
13
- npm install standard-tsx
13
+ npm install -D standard-tsx
14
14
  ```
15
15
 
16
16
  ## Usage
@@ -32,4 +32,4 @@ In package.json run scripts, you can add the following as aliases (which will ru
32
32
  "lint": "standard-tsx",
33
33
  "fix": "standard-tsx --fix"
34
34
  },
35
- ```
35
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "standard-tsx",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "standardjs lint with TypeScript and JSX file support (with no new typescript rules)",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -14,7 +14,7 @@ const { includeIgnoreFile } = require('@eslint/compat')
14
14
  const path = require('node:path')
15
15
  const glob = require('glob')
16
16
 
17
- const gitignoreFiles = glob.sync('**/.gitignore', { cwd: process.cwd() })
17
+ const gitignoreFiles = glob.sync('**/.gitignore', { cwd: process.cwd(), ignore: 'node_modules/**' })
18
18
 
19
19
  // Sort by directory depth (root to leaves) to match Git's override behavior
20
20
  const sortedGitignoreFiles = gitignoreFiles.sort((a, b) => {