@jsenv/eslint-config-relax 1.7.8 → 1.7.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/eslint-config-relax",
3
- "version": "1.7.8",
3
+ "version": "1.7.10",
4
4
  "description": "A pleaseant ESLint configuration for any project",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,8 +26,8 @@
26
26
  "dependencies": {
27
27
  "@babel/eslint-parser": "7.28.5",
28
28
  "@jsenv/eslint-import-resolver": "8.4.2",
29
- "@jsenv/eslint-plugin": "1.1.0",
30
- "@jsenv/urls": "2.9.3",
29
+ "@jsenv/eslint-plugin": "1.2.0",
30
+ "@jsenv/urls": "2.9.4",
31
31
  "eslint-plugin-html": "8.1.3",
32
32
  "eslint-plugin-import-x": "4.16.1",
33
33
  "eslint-plugin-react": "7.37.5",
@@ -77,7 +77,6 @@ export const eslintConfigRelax = ({
77
77
  preact,
78
78
  reactVersion = "detect",
79
79
  reactVersionForPreact = "19.2.0",
80
- importResolutionBrowserRootDirectoryUrl,
81
80
  importResolutionLogLevel,
82
81
  importResolutionDevConditions = [],
83
82
 
@@ -321,10 +320,7 @@ export const eslintConfigRelax = ({
321
320
  settings: {
322
321
  "import-x/resolver": {
323
322
  "@jsenv/eslint-import-resolver": {
324
- rootDirectoryUrl:
325
- importResolutionBrowserRootDirectoryUrl ||
326
- browserDirectoryUrl ||
327
- rootDirectoryUrl,
323
+ rootDirectoryUrl: browserDirectoryUrl || rootDirectoryUrl,
328
324
  packageConditions: [
329
325
  "browser",
330
326
  "development",
@@ -22,7 +22,12 @@ export const rulesReactRelax = {
22
22
  "react/no-is-mounted": ["error"],
23
23
  "react/no-render-return-value": ["error"],
24
24
  "react/no-string-refs": ["error"],
25
- "react/no-unescaped-entities": ["error"],
25
+ "react/no-unescaped-entities": [
26
+ "warn",
27
+ {
28
+ forbid: ["<", ">", "{", "}"],
29
+ },
30
+ ],
26
31
  "react/no-unknown-property": ["error"],
27
32
  "react/no-unsafe": ["off"],
28
33
  "react/prop-types": ["off"],