@schoero/configs 1.1.2 → 1.1.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/eslint/jsx.js +4 -2
- package/package.json +1 -1
package/eslint/jsx.js
CHANGED
|
@@ -2,7 +2,8 @@ import eslintPluginStylisticJS from "@stylistic/eslint-plugin-js";
|
|
|
2
2
|
import eslintPluginStylisticJSX from "@stylistic/eslint-plugin-jsx";
|
|
3
3
|
import eslintPluginStylisticPlus from "@stylistic/eslint-plugin-plus";
|
|
4
4
|
import eslintPluginStylisticTS from "@stylistic/eslint-plugin-ts";
|
|
5
|
-
import eslintPluginTypeScript from "typescript-eslint";
|
|
5
|
+
import eslintPluginTypeScript from "@typescript-eslint/eslint-plugin";
|
|
6
|
+
import eslintParserTypeScript from "@typescript-eslint/parser";
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
/** @type {import("eslint").Linter.Config[]} */
|
|
@@ -58,10 +59,11 @@ export const jsx = [
|
|
|
58
59
|
{
|
|
59
60
|
files: ["**/*.{tsx,ctsx,mtsx}"],
|
|
60
61
|
plugins: {
|
|
61
|
-
"eslint-plugin-typescript": eslintPluginTypeScript
|
|
62
|
+
"eslint-plugin-typescript": eslintPluginTypeScript,
|
|
62
63
|
"eslint-plugin-stylistic-plus": eslintPluginStylisticPlus
|
|
63
64
|
},
|
|
64
65
|
languageOptions: {
|
|
66
|
+
parser: eslintParserTypeScript,
|
|
65
67
|
parserOptions: {
|
|
66
68
|
ecmaFeatures: {
|
|
67
69
|
jsx: true
|
package/package.json
CHANGED