@will-stone/eslint-config 0.0.1 → 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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @will-stone/eslint-config
2
2
 
3
+ ## 0.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - fd613ec: Fixed cannot find TS plugin.
8
+
9
+ ## 0.0.2
10
+
11
+ ### Patch Changes
12
+
13
+ - e49eee7: Fixed TS parser not loading.
14
+
3
15
  ## 0.0.1
4
16
 
5
17
  ### Patch Changes
package/eslint-config.js CHANGED
@@ -1,5 +1,7 @@
1
1
  import fs from 'node:fs'
2
2
 
3
+ import tsPlugin from '@typescript-eslint/eslint-plugin'
4
+ import tsParser from '@typescript-eslint/parser'
3
5
  import importPlugin from 'eslint-plugin-import'
4
6
  import jestPlugin from 'eslint-plugin-jest'
5
7
  import jsxA11yPlugin from 'eslint-plugin-jsx-a11y'
@@ -106,7 +108,10 @@ export default [
106
108
  {
107
109
  files: ['**/*.{ts,tsx}'],
108
110
  languageOptions: {
109
- parser: '@typescript-eslint/parser',
111
+ parser: tsParser,
112
+ },
113
+ plugins: {
114
+ '@typescript-eslint': tsPlugin,
110
115
  },
111
116
  rules: tsRules,
112
117
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@will-stone/eslint-config",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "description": "Will Stone's ESLint config, using the Flat Config style.",
5
5
  "keywords": [
6
6
  "ESLint"