@evaneos/front-config 1.2.0 → 5.1.0
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/index.js +18 -6
- package/eslint/index.mjs +18 -6
- package/package.json +1 -1
package/eslint/index.js
CHANGED
|
@@ -3080,7 +3080,8 @@ var react_default = [
|
|
|
3080
3080
|
{
|
|
3081
3081
|
files: ["**/*.{js,jsx,mjs,cjs,ts,tsx}"],
|
|
3082
3082
|
plugins: {
|
|
3083
|
-
react: import_eslint_plugin_react.default
|
|
3083
|
+
react: import_eslint_plugin_react.default,
|
|
3084
|
+
"jsx-a11y": import_eslint_plugin_jsx_a11y.default
|
|
3084
3085
|
},
|
|
3085
3086
|
languageOptions: {
|
|
3086
3087
|
parserOptions: {
|
|
@@ -3091,13 +3092,13 @@ var react_default = [
|
|
|
3091
3092
|
globals: __spreadValues({}, import_globals.default.browser)
|
|
3092
3093
|
}
|
|
3093
3094
|
},
|
|
3094
|
-
|
|
3095
|
-
files: ["**/*.{js,mjs,cjs,jsx,mjsx,ts,tsx,mtsx}"]
|
|
3096
|
-
|
|
3095
|
+
{
|
|
3096
|
+
files: ["**/*.{js,mjs,cjs,jsx,mjsx,ts,tsx,mtsx}"],
|
|
3097
|
+
rules: __spreadValues({}, import_eslint_plugin_jsx_a11y.default.flatConfigs.recommended.rules),
|
|
3097
3098
|
languageOptions: __spreadProps(__spreadValues({}, import_eslint_plugin_jsx_a11y.default.flatConfigs.recommended.languageOptions), {
|
|
3098
3099
|
globals: __spreadValues(__spreadValues({}, import_globals.default.serviceworker), import_globals.default.browser)
|
|
3099
3100
|
})
|
|
3100
|
-
}
|
|
3101
|
+
}
|
|
3101
3102
|
];
|
|
3102
3103
|
|
|
3103
3104
|
// src/eslint/rules/test.ts
|
|
@@ -3137,7 +3138,18 @@ var override_default = [
|
|
|
3137
3138
|
"react/jsx-uses-react": "error",
|
|
3138
3139
|
"react/jsx-uses-vars": "error",
|
|
3139
3140
|
"@typescript-eslint/no-unsafe-member-access": "off",
|
|
3140
|
-
"@typescript-eslint/no-unsafe-assignment": "off"
|
|
3141
|
+
"@typescript-eslint/no-unsafe-assignment": "off",
|
|
3142
|
+
"no-restricted-imports": [
|
|
3143
|
+
"warn",
|
|
3144
|
+
{
|
|
3145
|
+
paths: [
|
|
3146
|
+
{
|
|
3147
|
+
name: "react-intl",
|
|
3148
|
+
message: "Please use next-intl instead of react-intl. See official documentation: https://next-intl-docs.vercel.app/ and internal ADR: https://www.notion.so/leather-yard-6b5/ADR-Next-intl-et-internationalisation-d-une-app-Next-17da97006602800bafd9cf4ebdfde508"
|
|
3149
|
+
}
|
|
3150
|
+
]
|
|
3151
|
+
}
|
|
3152
|
+
]
|
|
3141
3153
|
}
|
|
3142
3154
|
}
|
|
3143
3155
|
];
|
package/eslint/index.mjs
CHANGED
|
@@ -3069,7 +3069,8 @@ var react_default = [
|
|
|
3069
3069
|
{
|
|
3070
3070
|
files: ["**/*.{js,jsx,mjs,cjs,ts,tsx}"],
|
|
3071
3071
|
plugins: {
|
|
3072
|
-
react: reactPlugin
|
|
3072
|
+
react: reactPlugin,
|
|
3073
|
+
"jsx-a11y": jsxA11y
|
|
3073
3074
|
},
|
|
3074
3075
|
languageOptions: {
|
|
3075
3076
|
parserOptions: {
|
|
@@ -3080,13 +3081,13 @@ var react_default = [
|
|
|
3080
3081
|
globals: __spreadValues({}, import_globals.default.browser)
|
|
3081
3082
|
}
|
|
3082
3083
|
},
|
|
3083
|
-
|
|
3084
|
-
files: ["**/*.{js,mjs,cjs,jsx,mjsx,ts,tsx,mtsx}"]
|
|
3085
|
-
|
|
3084
|
+
{
|
|
3085
|
+
files: ["**/*.{js,mjs,cjs,jsx,mjsx,ts,tsx,mtsx}"],
|
|
3086
|
+
rules: __spreadValues({}, jsxA11y.flatConfigs.recommended.rules),
|
|
3086
3087
|
languageOptions: __spreadProps(__spreadValues({}, jsxA11y.flatConfigs.recommended.languageOptions), {
|
|
3087
3088
|
globals: __spreadValues(__spreadValues({}, import_globals.default.serviceworker), import_globals.default.browser)
|
|
3088
3089
|
})
|
|
3089
|
-
}
|
|
3090
|
+
}
|
|
3090
3091
|
];
|
|
3091
3092
|
|
|
3092
3093
|
// src/eslint/rules/test.ts
|
|
@@ -3126,7 +3127,18 @@ var override_default = [
|
|
|
3126
3127
|
"react/jsx-uses-react": "error",
|
|
3127
3128
|
"react/jsx-uses-vars": "error",
|
|
3128
3129
|
"@typescript-eslint/no-unsafe-member-access": "off",
|
|
3129
|
-
"@typescript-eslint/no-unsafe-assignment": "off"
|
|
3130
|
+
"@typescript-eslint/no-unsafe-assignment": "off",
|
|
3131
|
+
"no-restricted-imports": [
|
|
3132
|
+
"warn",
|
|
3133
|
+
{
|
|
3134
|
+
paths: [
|
|
3135
|
+
{
|
|
3136
|
+
name: "react-intl",
|
|
3137
|
+
message: "Please use next-intl instead of react-intl. See official documentation: https://next-intl-docs.vercel.app/ and internal ADR: https://www.notion.so/leather-yard-6b5/ADR-Next-intl-et-internationalisation-d-une-app-Next-17da97006602800bafd9cf4ebdfde508"
|
|
3138
|
+
}
|
|
3139
|
+
]
|
|
3140
|
+
}
|
|
3141
|
+
]
|
|
3130
3142
|
}
|
|
3131
3143
|
}
|
|
3132
3144
|
];
|