@viclafouch/eslint-config-viclafouch 3.9.3-beta.0 → 3.9.3-beta.2

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/index.js CHANGED
@@ -1,3 +1,6 @@
1
+ // This is a patch so that eslint will load the plugins as dependencies. Otherwise we can to install EVERYTHING in th root project
2
+ require('@rushstack/eslint-patch/modern-module-resolution')
3
+
1
4
  /**
2
5
  * @type {import("eslint").Linter.Config}
3
6
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viclafouch/eslint-config-viclafouch",
3
- "version": "3.9.3-beta.0",
3
+ "version": "3.9.3-beta.2",
4
4
  "description": "ESLint and Prettier Config from Victor de la Fouchardiere",
5
5
  "main": "index.js",
6
6
  "keywords": [
@@ -32,6 +32,7 @@
32
32
  "@babel/core": "^7.22.5",
33
33
  "@babel/eslint-parser": "^7.22.5",
34
34
  "@next/eslint-plugin-next": "^13.4.7",
35
+ "@rushstack/eslint-patch": "^1.3.2",
35
36
  "@typescript-eslint/eslint-plugin": "^5.60.1",
36
37
  "@typescript-eslint/parser": "^5.60.1",
37
38
  "babel-loader": "^9.1.2",
package/tsconfig.json CHANGED
@@ -1,4 +1,5 @@
1
1
  {
2
+ "include": ["./**/*"],
2
3
  "compilerOptions": {
3
4
  "target": "esnext",
4
5
  "lib": ["dom", "dom.iterable", "esnext"],
package/typescript.js ADDED
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @type {import("eslint").Linter.Config}
3
+ */
4
+ module.exports = {
5
+ extends: ['./rules/typescript.js'].map(require.resolve),
6
+ rules: {},
7
+ parserOptions: {
8
+ project: './tsconfig.json'
9
+ }
10
+ }