@anolilab/eslint-config 11.3.3 → 11.3.5

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,3 +1,39 @@
1
+ ## @anolilab/eslint-config [11.3.5](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/eslint-config@11.3.4...@anolilab/eslint-config@11.3.5) (2023-08-30)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * updated dependencies to latest versions ([509bb76](https://github.com/anolilab/javascript-style-guide/commit/509bb763780a2fa85a275d8e91cc0525cc57e29f))
7
+ * updated URLs for ESLint rules ([e6edc33](https://github.com/anolilab/javascript-style-guide/commit/e6edc337e3a6c4f8d326a5a889cd008c6a4739af))
8
+ * updated URLs for ESLint rules and removed storybook jsx rules ([f8fbd16](https://github.com/anolilab/javascript-style-guide/commit/f8fbd16d2752e84fa490d350c4de80ff613833f5))
9
+
10
+
11
+ ### Miscellaneous Chores
12
+
13
+ * **deps:** update dependency typescript to v5.2.2 ([#745](https://github.com/anolilab/javascript-style-guide/issues/745)) ([90c1703](https://github.com/anolilab/javascript-style-guide/commit/90c1703dfc87ac2e16e181f3a42c099e47af609f))
14
+ * **deps:** update dependency vitest to ^0.34.3 ([#739](https://github.com/anolilab/javascript-style-guide/issues/739)) ([67dd404](https://github.com/anolilab/javascript-style-guide/commit/67dd404766bceb0103f637208fc646ed40aefb16))
15
+ * **deps:** update devdependencies ([#744](https://github.com/anolilab/javascript-style-guide/issues/744)) ([782b4fb](https://github.com/anolilab/javascript-style-guide/commit/782b4fbb8dc934f9db171c52878af44615bf0c29))
16
+
17
+
18
+
19
+ ### Dependencies
20
+
21
+ * **@anolilab/package-json-utils:** upgraded to 3.0.5
22
+ * **@anolilab/semantic-release-preset:** upgraded to 6.0.5
23
+
24
+ ## @anolilab/eslint-config [11.3.4](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/eslint-config@11.3.3...@anolilab/eslint-config@11.3.4) (2023-08-29)
25
+
26
+
27
+ ### Bug Fixes
28
+
29
+ * modifying markdown plugin to disable the 'no-cond-assign' ([8f2750f](https://github.com/anolilab/javascript-style-guide/commit/8f2750f1348fdb6a7be81edff06fd1907c5a1ad0))
30
+
31
+
32
+ ### Miscellaneous Chores
33
+
34
+ * **deps:** update all non-major dependencies ([#747](https://github.com/anolilab/javascript-style-guide/issues/747)) ([746f4c6](https://github.com/anolilab/javascript-style-guide/commit/746f4c6f59ddf6f3c5f7646be80599998011c43e))
35
+ * **deps:** update eslint ([#746](https://github.com/anolilab/javascript-style-guide/issues/746)) ([6b37144](https://github.com/anolilab/javascript-style-guide/commit/6b37144a8cb47fe3993bd9eccd075c695da8dde0))
36
+
1
37
  ## @anolilab/eslint-config [11.3.3](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/eslint-config@11.3.2...@anolilab/eslint-config@11.3.3) (2023-08-25)
2
38
 
3
39
 
@@ -2,10 +2,9 @@
2
2
 
3
3
  var chunkWG6GTAIA_js = require('../../chunk-WG6GTAIA.js');
4
4
  require('../../chunk-MFE6DF6Y.js');
5
- var packageJsonUtils = require('@anolilab/package-json-utils');
6
5
 
7
- !global.hasAnolilabEsLintConfigJsyA11yStorybook&&(packageJsonUtils.hasDevDependency("storybook")||packageJsonUtils.hasDependency("storybook"))&&(global.hasAnolilabEsLintConfigJsyA11yStorybook=!0);var a=chunkWG6GTAIA_js.a("jsx_and_tsx",{parserOptions:{ecmaFeatures:{jsx:!0}},plugins:["jsx-a11y"],rules:{"jsx-a11y/accessible-emoji":"off","jsx-a11y/alt-text":["error",{area:[],elements:["img","object","area",'input[type="image"]'],img:[],'input[type="image"]':[],object:[]}],"jsx-a11y/anchor-has-content":["error",{components:[]}],"jsx-a11y/anchor-is-valid":["error",{aspects:["noHref","invalidHref","preferButton",...global.hasAnolilabEsLintConfigJsyA11yStorybook?["overrideParams","kind","story","to"]:[]],components:["A","LinkTo","Link"],specialLink:["to"]}],"jsx-a11y/aria-activedescendant-has-tabindex":"error","jsx-a11y/aria-props":"error","jsx-a11y/aria-proptypes":"error","jsx-a11y/aria-role":["error",{ignoreNonDOM:!1}],"jsx-a11y/aria-unsupported-elements":"error","jsx-a11y/autocomplete-valid":["off",{inputComponents:[]}],"jsx-a11y/click-events-have-key-events":"error","jsx-a11y/control-has-associated-label":["error",{controlComponents:[],depth:5,ignoreElements:["audio","canvas","embed","input","textarea","tr","video"],ignoreRoles:["grid","listbox","menu","menubar","radiogroup","row","tablist","toolbar","tree","treegrid"],labelAttributes:["label"]}],"jsx-a11y/heading-has-content":["error",{components:[""]}],"jsx-a11y/html-has-lang":"error","jsx-a11y/iframe-has-title":"error","jsx-a11y/img-redundant-alt":"error","jsx-a11y/interactive-supports-focus":"error","jsx-a11y/label-has-associated-control":["error",{assert:"both",controlComponents:[],depth:25,labelAttributes:[],labelComponents:[]}],"jsx-a11y/label-has-for":["off",{allowChildren:!1,components:[],required:{every:["nesting","id"]}}],"jsx-a11y/lang":"error","jsx-a11y/media-has-caption":["error",{audio:[],track:[],video:[]}],"jsx-a11y/mouse-events-have-key-events":"error","jsx-a11y/no-access-key":"error","jsx-a11y/no-autofocus":["error",{ignoreNonDOM:!0}],"jsx-a11y/no-distracting-elements":["error",{elements:["marquee","blink"]}],"jsx-a11y/no-interactive-element-to-noninteractive-role":["error",{tr:["none","presentation"]}],"jsx-a11y/no-noninteractive-element-interactions":["error",{handlers:["onClick","onMouseDown","onMouseUp","onKeyPress","onKeyDown","onKeyUp"]}],"jsx-a11y/no-noninteractive-element-to-interactive-role":["error",{li:["menuitem","option","row","tab","treeitem"],ol:["listbox","menu","menubar","radiogroup","tablist","tree","treegrid"],table:["grid"],td:["gridcell"],ul:["listbox","menu","menubar","radiogroup","tablist","tree","treegrid"]}],"jsx-a11y/no-noninteractive-tabindex":["error",{roles:["tabpanel"],tags:[]}],"jsx-a11y/no-onchange":"off","jsx-a11y/no-redundant-roles":"error","jsx-a11y/no-static-element-interactions":["error",{handlers:["onClick","onMouseDown","onMouseUp","onKeyPress","onKeyDown","onKeyUp"]}],"jsx-a11y/role-has-required-aria-props":"error","jsx-a11y/role-supports-aria-props":"error","jsx-a11y/scope":"error","jsx-a11y/tabindex-no-positive":"error"}}),s=a;
6
+ var r=chunkWG6GTAIA_js.a("jsx_and_tsx",{parserOptions:{ecmaFeatures:{jsx:!0}},plugins:["jsx-a11y"],rules:{"jsx-a11y/accessible-emoji":"off","jsx-a11y/alt-text":["error",{area:[],elements:["img","object","area",'input[type="image"]'],img:[],'input[type="image"]':[],object:[]}],"jsx-a11y/anchor-has-content":["error",{components:[]}],"jsx-a11y/anchor-is-valid":["error",{aspects:["noHref","invalidHref","preferButton"],components:["A","LinkTo","Link"],specialLink:["to"]}],"jsx-a11y/aria-activedescendant-has-tabindex":"error","jsx-a11y/aria-props":"error","jsx-a11y/aria-proptypes":"error","jsx-a11y/aria-role":["error",{ignoreNonDOM:!1}],"jsx-a11y/aria-unsupported-elements":"error","jsx-a11y/autocomplete-valid":["off",{inputComponents:[]}],"jsx-a11y/click-events-have-key-events":"error","jsx-a11y/control-has-associated-label":["error",{controlComponents:[],depth:5,ignoreElements:["audio","canvas","embed","input","textarea","tr","video"],ignoreRoles:["grid","listbox","menu","menubar","radiogroup","row","tablist","toolbar","tree","treegrid"],labelAttributes:["label"]}],"jsx-a11y/heading-has-content":["error",{components:[""]}],"jsx-a11y/html-has-lang":"error","jsx-a11y/iframe-has-title":"error","jsx-a11y/img-redundant-alt":"error","jsx-a11y/interactive-supports-focus":"error","jsx-a11y/label-has-associated-control":["error",{assert:"both",controlComponents:[],depth:25,labelAttributes:[],labelComponents:[]}],"jsx-a11y/label-has-for":["off",{allowChildren:!1,components:[],required:{every:["nesting","id"]}}],"jsx-a11y/lang":"error","jsx-a11y/media-has-caption":["error",{audio:[],track:[],video:[]}],"jsx-a11y/mouse-events-have-key-events":"error","jsx-a11y/no-access-key":"error","jsx-a11y/no-autofocus":["error",{ignoreNonDOM:!0}],"jsx-a11y/no-distracting-elements":["error",{elements:["marquee","blink"]}],"jsx-a11y/no-interactive-element-to-noninteractive-role":["error",{tr:["none","presentation"]}],"jsx-a11y/no-noninteractive-element-interactions":["error",{handlers:["onClick","onMouseDown","onMouseUp","onKeyPress","onKeyDown","onKeyUp"]}],"jsx-a11y/no-noninteractive-element-to-interactive-role":["error",{li:["menuitem","option","row","tab","treeitem"],ol:["listbox","menu","menubar","radiogroup","tablist","tree","treegrid"],table:["grid"],td:["gridcell"],ul:["listbox","menu","menubar","radiogroup","tablist","tree","treegrid"]}],"jsx-a11y/no-noninteractive-tabindex":["error",{roles:["tabpanel"],tags:[]}],"jsx-a11y/no-onchange":"off","jsx-a11y/no-redundant-roles":"error","jsx-a11y/no-static-element-interactions":["error",{handlers:["onClick","onMouseDown","onMouseUp","onKeyPress","onKeyDown","onKeyUp"]}],"jsx-a11y/role-has-required-aria-props":"error","jsx-a11y/role-supports-aria-props":"error","jsx-a11y/scope":"error","jsx-a11y/tabindex-no-positive":"error"}}),a=r;
8
7
 
9
- module.exports = s;
8
+ module.exports = a;
10
9
  //# sourceMappingURL=out.js.map
11
10
  //# sourceMappingURL=jsx-a11y.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/config/plugins/jsx-a11y.ts"],"names":["hasDependency","hasDevDependency","config","createConfig","jsx_a11y_default"],"mappings":"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","sourcesContent":["import { hasDependency, hasDevDependency } from \"@anolilab/package-json-utils\";\nimport type { Linter } from \"eslint\";\nimport { createConfig } from \"../../utils/create-config\";\n\nif (!global.hasAnolilabEsLintConfigJsyA11yStorybook && (hasDevDependency(\"storybook\") || hasDependency(\"storybook\"))) {\n global.hasAnolilabEsLintConfigJsyA11yStorybook = true;\n}\n\nconst config: Linter.Config = createConfig(\"jsx_and_tsx\", {\n parserOptions: {\n ecmaFeatures: {\n jsx: true,\n },\n },\n\n plugins: [\"jsx-a11y\"],\n\n rules: {\n // Enforce that anchors have content\n // disabled; rule is deprecated\n \"jsx-a11y/accessible-emoji\": \"off\",\n\n // Require ARIA roles to be valid and non-abstract\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/alt-text.md\n \"jsx-a11y/alt-text\": [\n \"error\",\n {\n area: [],\n elements: [\"img\", \"object\", \"area\", 'input[type=\"image\"]'],\n img: [],\n 'input[type=\"image\"]': [],\n object: [],\n },\n ],\n\n // Enforce all aria-* props are valid.\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-has-content.md\n \"jsx-a11y/anchor-has-content\": [\"error\", { components: [] }],\n\n // Enforce ARIA state and property values are valid.\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/0745af376cdc8686d85a361ce36952b1fb1ccf6e/docs/rules/anchor-is-valid.md\n \"jsx-a11y/anchor-is-valid\": [\n \"error\",\n {\n aspects: [\n \"noHref\",\n \"invalidHref\",\n \"preferButton\",\n ...(global.hasAnolilabEsLintConfigJsyA11yStorybook ? [\"overrideParams\", \"kind\", \"story\", \"to\"] : []),\n ],\n components: [\"A\", \"LinkTo\", \"Link\"],\n specialLink: [\"to\"],\n },\n ],\n\n // Enforce that elements that do not support ARIA roles, states, and\n // properties do not have those attributes.\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-activedescendant-has-tabindex.md\n \"jsx-a11y/aria-activedescendant-has-tabindex\": \"error\",\n\n // Enforce that all elements that require alternative text have meaningful information\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-props.md\n \"jsx-a11y/aria-props\": \"error\",\n\n // Prevent img alt text from containing redundant words like \"image\", \"picture\", or \"photo\"\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-proptypes.md\n \"jsx-a11y/aria-proptypes\": \"error\",\n\n // require that JSX labels use \"htmlFor\"\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/label-has-for.md\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-role.md\n \"jsx-a11y/aria-role\": [\"error\", { ignoreNonDOM: false }],\n\n // Enforce that a label tag has a text label and an associated control.\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-unsupported-elements.md\n \"jsx-a11y/aria-unsupported-elements\": \"error\",\n\n // Enforce that a control (an interactive element) has a text label.\n // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/29c68596b15c4ff0a40daae6d4a2670e36e37d35/docs/rules/autocomplete-valid.md\n \"jsx-a11y/autocomplete-valid\": [\n \"off\",\n {\n inputComponents: [],\n },\n ],\n\n // require that mouseover/out come with focus/blur, for keyboard-only users\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/click-events-have-key-events.md\n \"jsx-a11y/click-events-have-key-events\": \"error\",\n\n // Prevent use of `accessKey`\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/control-has-associated-label.md\n \"jsx-a11y/control-has-associated-label\": [\n \"error\",\n {\n controlComponents: [],\n depth: 5,\n ignoreElements: [\"audio\", \"canvas\", \"embed\", \"input\", \"textarea\", \"tr\", \"video\"],\n ignoreRoles: [\"grid\", \"listbox\", \"menu\", \"menubar\", \"radiogroup\", \"row\", \"tablist\", \"toolbar\", \"tree\", \"treegrid\"],\n labelAttributes: [\"label\"],\n },\n ],\n\n // require onBlur instead of onChange\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/heading-has-content.md\n \"jsx-a11y/heading-has-content\": [\"error\", { components: [\"\"] }],\n\n // Elements with an interactive role and interaction handlers must be focusable\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/html-has-lang.md\n \"jsx-a11y/html-has-lang\": \"error\",\n\n // Enforce that elements with ARIA roles must have all required attributes\n // for that role.\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/iframe-has-title.md\n \"jsx-a11y/iframe-has-title\": \"error\",\n\n // Enforce that elements with explicit or implicit roles defined contain\n // only aria-* properties supported by that role.\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/img-redundant-alt.md\n \"jsx-a11y/img-redundant-alt\": \"error\",\n\n // Enforce tabIndex value is not greater than zero.\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/interactive-supports-focus.md\n \"jsx-a11y/interactive-supports-focus\": \"error\",\n\n // ensure <hX> tags have content and are not aria-hidden\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/b800f40a2a69ad48015ae9226fbe879f946757ed/docs/rules/label-has-associated-control.md\n \"jsx-a11y/label-has-associated-control\": [\n \"error\",\n {\n assert: \"both\",\n controlComponents: [],\n depth: 25,\n labelAttributes: [],\n labelComponents: [],\n },\n ],\n\n // require HTML elements to have a \"lang\" prop\n // deprecated: replaced by `label-has-associated-control` rule\n \"jsx-a11y/label-has-for\": [\n \"off\",\n {\n allowChildren: false,\n components: [],\n required: {\n every: [\"nesting\", \"id\"],\n },\n },\n ],\n\n // require HTML element's lang prop to be valid\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/lang.md\n \"jsx-a11y/lang\": \"error\",\n\n // prevent distracting elements, like <marquee> and <blink>\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/media-has-caption.md\n \"jsx-a11y/media-has-caption\": [\n \"error\",\n {\n audio: [],\n track: [],\n video: [],\n },\n ],\n\n // only allow <th> to have the \"scope\" attr\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/mouse-events-have-key-events.md\n \"jsx-a11y/mouse-events-have-key-events\": \"error\",\n\n // require onClick be accompanied by onKeyUp/onKeyDown/onKeyPress\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-access-key.md\n \"jsx-a11y/no-access-key\": \"error\",\n\n // Enforce that DOM elements without semantic behavior not have interaction handlers\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-autofocus.md\n \"jsx-a11y/no-autofocus\": [\"error\", { ignoreNonDOM: true }],\n\n // A non-interactive element does not support event handlers (mouse and key handlers)\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-distracting-elements.md\n \"jsx-a11y/no-distracting-elements\": [\n \"error\",\n {\n elements: [\"marquee\", \"blink\"],\n },\n ],\n\n // ensure emoji are accessible\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/accessible-emoji.md\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-interactive-element-to-noninteractive-role.md\n \"jsx-a11y/no-interactive-element-to-noninteractive-role\": [\n \"error\",\n {\n tr: [\"none\", \"presentation\"],\n },\n ],\n\n // elements with aria-activedescendant must be tabbable\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-noninteractive-element-interactions.md\n \"jsx-a11y/no-noninteractive-element-interactions\": [\n \"error\",\n {\n handlers: [\"onClick\", \"onMouseDown\", \"onMouseUp\", \"onKeyPress\", \"onKeyDown\", \"onKeyUp\"],\n },\n ],\n\n // ensure iframe elements have a unique title\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-noninteractive-element-to-interactive-role.md\n \"jsx-a11y/no-noninteractive-element-to-interactive-role\": [\n \"error\",\n {\n li: [\"menuitem\", \"option\", \"row\", \"tab\", \"treeitem\"],\n ol: [\"listbox\", \"menu\", \"menubar\", \"radiogroup\", \"tablist\", \"tree\", \"treegrid\"],\n table: [\"grid\"],\n td: [\"gridcell\"],\n ul: [\"listbox\", \"menu\", \"menubar\", \"radiogroup\", \"tablist\", \"tree\", \"treegrid\"],\n },\n ],\n\n // prohibit autoFocus prop\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-noninteractive-tabindex.md\n \"jsx-a11y/no-noninteractive-tabindex\": [\n \"error\",\n {\n roles: [\"tabpanel\"],\n tags: [],\n },\n ],\n\n // ensure HTML elements do not specify redundant ARIA roles\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-onchange.md\n \"jsx-a11y/no-onchange\": \"off\",\n\n // media elements must have captions\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-redundant-roles.md\n \"jsx-a11y/no-redundant-roles\": \"error\",\n\n // WAI-ARIA roles should not be used to convert an interactive element to non-interactive\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-static-element-interactions.md\n \"jsx-a11y/no-static-element-interactions\": [\n \"error\",\n {\n handlers: [\"onClick\", \"onMouseDown\", \"onMouseUp\", \"onKeyPress\", \"onKeyDown\", \"onKeyUp\"],\n },\n ],\n\n // WAI-ARIA roles should not be used to convert a non-interactive element to interactive\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/role-has-required-aria-props.md\n \"jsx-a11y/role-has-required-aria-props\": \"error\",\n\n // Tab key navigation should be limited to elements on the page that can be interacted with.\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/role-supports-aria-props.md\n \"jsx-a11y/role-supports-aria-props\": \"error\",\n\n // ensure <a> tags are valid\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/scope.md\n \"jsx-a11y/scope\": \"error\",\n\n // Ensure the autocomplete attribute is correct and suitable for the form field it is used with\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/tabindex-no-positive.md\n \"jsx-a11y/tabindex-no-positive\": \"error\",\n },\n});\n\nexport default config;\n"]}
1
+ {"version":3,"sources":["../../../src/config/plugins/jsx-a11y.ts"],"names":["config","createConfig","jsx_a11y_default"],"mappings":"4EAGA,IAAMA,EAAwBC,EAAa,cAAe,CACtD,cAAe,CACX,aAAc,CACV,IAAK,EACT,CACJ,EAEA,QAAS,CAAC,UAAU,EAEpB,MAAO,CAGH,4BAA6B,MAI7B,oBAAqB,CACjB,QACA,CACI,KAAM,CAAC,EACP,SAAU,CAAC,MAAO,SAAU,OAAQ,qBAAqB,EACzD,IAAK,CAAC,EACN,sBAAuB,CAAC,EACxB,OAAQ,CAAC,CACb,CACJ,EAIA,8BAA+B,CAAC,QAAS,CAAE,WAAY,CAAC,CAAE,CAAC,EAI3D,2BAA4B,CACxB,QACA,CACI,QAAS,CAAC,SAAU,cAAe,cAAc,EACjD,WAAY,CAAC,IAAK,SAAU,MAAM,EAClC,YAAa,CAAC,IAAI,CACtB,CACJ,EAKA,8CAA+C,QAI/C,sBAAuB,QAIvB,0BAA2B,QAK3B,qBAAsB,CAAC,QAAS,CAAE,aAAc,EAAM,CAAC,EAIvD,qCAAsC,QAItC,8BAA+B,CAC3B,MACA,CACI,gBAAiB,CAAC,CACtB,CACJ,EAIA,wCAAyC,QAIzC,wCAAyC,CACrC,QACA,CACI,kBAAmB,CAAC,EACpB,MAAO,EACP,eAAgB,CAAC,QAAS,SAAU,QAAS,QAAS,WAAY,KAAM,OAAO,EAC/E,YAAa,CAAC,OAAQ,UAAW,OAAQ,UAAW,aAAc,MAAO,UAAW,UAAW,OAAQ,UAAU,EACjH,gBAAiB,CAAC,OAAO,CAC7B,CACJ,EAIA,+BAAgC,CAAC,QAAS,CAAE,WAAY,CAAC,EAAE,CAAE,CAAC,EAI9D,yBAA0B,QAK1B,4BAA6B,QAK7B,6BAA8B,QAI9B,sCAAuC,QAIvC,wCAAyC,CACrC,QACA,CACI,OAAQ,OACR,kBAAmB,CAAC,EACpB,MAAO,GACP,gBAAiB,CAAC,EAClB,gBAAiB,CAAC,CACtB,CACJ,EAIA,yBAA0B,CACtB,MACA,CACI,cAAe,GACf,WAAY,CAAC,EACb,SAAU,CACN,MAAO,CAAC,UAAW,IAAI,CAC3B,CACJ,CACJ,EAIA,gBAAiB,QAIjB,6BAA8B,CAC1B,QACA,CACI,MAAO,CAAC,EACR,MAAO,CAAC,EACR,MAAO,CAAC,CACZ,CACJ,EAIA,wCAAyC,QAIzC,yBAA0B,QAI1B,wBAAyB,CAAC,QAAS,CAAE,aAAc,EAAK,CAAC,EAIzD,mCAAoC,CAChC,QACA,CACI,SAAU,CAAC,UAAW,OAAO,CACjC,CACJ,EAKA,yDAA0D,CACtD,QACA,CACI,GAAI,CAAC,OAAQ,cAAc,CAC/B,CACJ,EAIA,kDAAmD,CAC/C,QACA,CACI,SAAU,CAAC,UAAW,cAAe,YAAa,aAAc,YAAa,SAAS,CAC1F,CACJ,EAIA,yDAA0D,CACtD,QACA,CACI,GAAI,CAAC,WAAY,SAAU,MAAO,MAAO,UAAU,EACnD,GAAI,CAAC,UAAW,OAAQ,UAAW,aAAc,UAAW,OAAQ,UAAU,EAC9E,MAAO,CAAC,MAAM,EACd,GAAI,CAAC,UAAU,EACf,GAAI,CAAC,UAAW,OAAQ,UAAW,aAAc,UAAW,OAAQ,UAAU,CAClF,CACJ,EAIA,sCAAuC,CACnC,QACA,CACI,MAAO,CAAC,UAAU,EAClB,KAAM,CAAC,CACX,CACJ,EAIA,uBAAwB,MAIxB,8BAA+B,QAI/B,0CAA2C,CACvC,QACA,CACI,SAAU,CAAC,UAAW,cAAe,YAAa,aAAc,YAAa,SAAS,CAC1F,CACJ,EAIA,wCAAyC,QAIzC,oCAAqC,QAIrC,iBAAkB,QAIlB,gCAAiC,OACrC,CACJ,CAAC,EAEMC,EAAQF","sourcesContent":["import type { Linter } from \"eslint\";\nimport { createConfig } from \"../../utils/create-config\";\n\nconst config: Linter.Config = createConfig(\"jsx_and_tsx\", {\n parserOptions: {\n ecmaFeatures: {\n jsx: true,\n },\n },\n\n plugins: [\"jsx-a11y\"],\n\n rules: {\n // Enforce that anchors have content\n // disabled; rule is deprecated\n \"jsx-a11y/accessible-emoji\": \"off\",\n\n // Require ARIA roles to be valid and non-abstract\n // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/alt-text.md\n \"jsx-a11y/alt-text\": [\n \"error\",\n {\n area: [],\n elements: [\"img\", \"object\", \"area\", 'input[type=\"image\"]'],\n img: [],\n 'input[type=\"image\"]': [],\n object: [],\n },\n ],\n\n // Enforce all aria-* props are valid.\n // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/anchor-has-content.md\n \"jsx-a11y/anchor-has-content\": [\"error\", { components: [] }],\n\n // Enforce ARIA state and property values are valid.\n // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/anchor-is-valid.md\n \"jsx-a11y/anchor-is-valid\": [\n \"error\",\n {\n aspects: [\"noHref\", \"invalidHref\", \"preferButton\"],\n components: [\"A\", \"LinkTo\", \"Link\"],\n specialLink: [\"to\"],\n },\n ],\n\n // Enforce that elements that do not support ARIA roles, states, and\n // properties do not have those attributes.\n // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/aria-activedescendant-has-tabindex.md\n \"jsx-a11y/aria-activedescendant-has-tabindex\": \"error\",\n\n // Enforce that all elements that require alternative text have meaningful information\n // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/aria-props.md\n \"jsx-a11y/aria-props\": \"error\",\n\n // Prevent img alt text from containing redundant words like \"image\", \"picture\", or \"photo\"\n // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/aria-proptypes.md\n \"jsx-a11y/aria-proptypes\": \"error\",\n\n // require that JSX labels use \"htmlFor\"\n // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/label-has-for.md\n // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/aria-role.md\n \"jsx-a11y/aria-role\": [\"error\", { ignoreNonDOM: false }],\n\n // Enforce that a label tag has a text label and an associated control.\n // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/aria-unsupported-elements.md\n \"jsx-a11y/aria-unsupported-elements\": \"error\",\n\n // Enforce that a control (an interactive element) has a text label.\n // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/29c68596b15c4ff0a40daae6d4a2670e36e37d35/docs/rules/autocomplete-valid.md\n \"jsx-a11y/autocomplete-valid\": [\n \"off\",\n {\n inputComponents: [],\n },\n ],\n\n // require that mouseover/out come with focus/blur, for keyboard-only users\n // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/click-events-have-key-events.md\n \"jsx-a11y/click-events-have-key-events\": \"error\",\n\n // Prevent use of `accessKey`\n // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/control-has-associated-label.md\n \"jsx-a11y/control-has-associated-label\": [\n \"error\",\n {\n controlComponents: [],\n depth: 5,\n ignoreElements: [\"audio\", \"canvas\", \"embed\", \"input\", \"textarea\", \"tr\", \"video\"],\n ignoreRoles: [\"grid\", \"listbox\", \"menu\", \"menubar\", \"radiogroup\", \"row\", \"tablist\", \"toolbar\", \"tree\", \"treegrid\"],\n labelAttributes: [\"label\"],\n },\n ],\n\n // require onBlur instead of onChange\n // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/heading-has-content.md\n \"jsx-a11y/heading-has-content\": [\"error\", { components: [\"\"] }],\n\n // Elements with an interactive role and interaction handlers must be focusable\n // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/html-has-lang.md\n \"jsx-a11y/html-has-lang\": \"error\",\n\n // Enforce that elements with ARIA roles must have all required attributes\n // for that role.\n // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/iframe-has-title.md\n \"jsx-a11y/iframe-has-title\": \"error\",\n\n // Enforce that elements with explicit or implicit roles defined contain\n // only aria-* properties supported by that role.\n // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/img-redundant-alt.md\n \"jsx-a11y/img-redundant-alt\": \"error\",\n\n // Enforce tabIndex value is not greater than zero.\n // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/interactive-supports-focus.md\n \"jsx-a11y/interactive-supports-focus\": \"error\",\n\n // ensure <hX> tags have content and are not aria-hidden\n // https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/b800f40a2a69ad48015ae9226fbe879f946757ed/docs/rules/label-has-associated-control.md\n \"jsx-a11y/label-has-associated-control\": [\n \"error\",\n {\n assert: \"both\",\n controlComponents: [],\n depth: 25,\n labelAttributes: [],\n labelComponents: [],\n },\n ],\n\n // require HTML elements to have a \"lang\" prop\n // deprecated: replaced by `label-has-associated-control` rule\n \"jsx-a11y/label-has-for\": [\n \"off\",\n {\n allowChildren: false,\n components: [],\n required: {\n every: [\"nesting\", \"id\"],\n },\n },\n ],\n\n // require HTML element's lang prop to be valid\n // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/lang.md\n \"jsx-a11y/lang\": \"error\",\n\n // prevent distracting elements, like <marquee> and <blink>\n // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/media-has-caption.md\n \"jsx-a11y/media-has-caption\": [\n \"error\",\n {\n audio: [],\n track: [],\n video: [],\n },\n ],\n\n // only allow <th> to have the \"scope\" attr\n // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/mouse-events-have-key-events.md\n \"jsx-a11y/mouse-events-have-key-events\": \"error\",\n\n // require onClick be accompanied by onKeyUp/onKeyDown/onKeyPress\n // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/no-access-key.md\n \"jsx-a11y/no-access-key\": \"error\",\n\n // Enforce that DOM elements without semantic behavior not have interaction handlers\n // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/no-autofocus.md\n \"jsx-a11y/no-autofocus\": [\"error\", { ignoreNonDOM: true }],\n\n // A non-interactive element does not support event handlers (mouse and key handlers)\n // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/no-distracting-elements.md\n \"jsx-a11y/no-distracting-elements\": [\n \"error\",\n {\n elements: [\"marquee\", \"blink\"],\n },\n ],\n\n // ensure emoji are accessible\n // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/accessible-emoji.md\n // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/no-interactive-element-to-noninteractive-role.md\n \"jsx-a11y/no-interactive-element-to-noninteractive-role\": [\n \"error\",\n {\n tr: [\"none\", \"presentation\"],\n },\n ],\n\n // elements with aria-activedescendant must be tabbable\n // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/no-noninteractive-element-interactions.md\n \"jsx-a11y/no-noninteractive-element-interactions\": [\n \"error\",\n {\n handlers: [\"onClick\", \"onMouseDown\", \"onMouseUp\", \"onKeyPress\", \"onKeyDown\", \"onKeyUp\"],\n },\n ],\n\n // ensure iframe elements have a unique title\n // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/no-noninteractive-element-to-interactive-role.md\n \"jsx-a11y/no-noninteractive-element-to-interactive-role\": [\n \"error\",\n {\n li: [\"menuitem\", \"option\", \"row\", \"tab\", \"treeitem\"],\n ol: [\"listbox\", \"menu\", \"menubar\", \"radiogroup\", \"tablist\", \"tree\", \"treegrid\"],\n table: [\"grid\"],\n td: [\"gridcell\"],\n ul: [\"listbox\", \"menu\", \"menubar\", \"radiogroup\", \"tablist\", \"tree\", \"treegrid\"],\n },\n ],\n\n // prohibit autoFocus prop\n // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/no-noninteractive-tabindex.md\n \"jsx-a11y/no-noninteractive-tabindex\": [\n \"error\",\n {\n roles: [\"tabpanel\"],\n tags: [],\n },\n ],\n\n // ensure HTML elements do not specify redundant ARIA roles\n // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/no-onchange.md\n \"jsx-a11y/no-onchange\": \"off\",\n\n // media elements must have captions\n // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/no-redundant-roles.md\n \"jsx-a11y/no-redundant-roles\": \"error\",\n\n // WAI-ARIA roles should not be used to convert an interactive element to non-interactive\n // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/no-static-element-interactions.md\n \"jsx-a11y/no-static-element-interactions\": [\n \"error\",\n {\n handlers: [\"onClick\", \"onMouseDown\", \"onMouseUp\", \"onKeyPress\", \"onKeyDown\", \"onKeyUp\"],\n },\n ],\n\n // WAI-ARIA roles should not be used to convert a non-interactive element to interactive\n // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/role-has-required-aria-props.md\n \"jsx-a11y/role-has-required-aria-props\": \"error\",\n\n // Tab key navigation should be limited to elements on the page that can be interacted with.\n // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/role-supports-aria-props.md\n \"jsx-a11y/role-supports-aria-props\": \"error\",\n\n // ensure <a> tags are valid\n // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/scope.md\n \"jsx-a11y/scope\": \"error\",\n\n // Ensure the autocomplete attribute is correct and suitable for the form field it is used with\n // https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/tabindex-no-positive.md\n \"jsx-a11y/tabindex-no-positive\": \"error\",\n },\n});\n\nexport default config;\n"]}
@@ -3,7 +3,7 @@
3
3
  var chunkWG6GTAIA_js = require('../../chunk-WG6GTAIA.js');
4
4
  require('../../chunk-MFE6DF6Y.js');
5
5
 
6
- var o=chunkWG6GTAIA_js.b([{config:{extends:"plugin:markdown/recommended",plugins:["markdown"],processor:"markdown/markdown"},type:"markdown"},{config:{extends:"plugin:markdown/recommended",parserOptions:{ecmacFeatures:{impliedStrict:!0}},plugins:["markdown"],processor:"markdown/markdown",rules:{"@typescript-eslint/comma-dangle":"off","@typescript-eslint/no-redeclare":"off","@typescript-eslint/no-unused-vars":"off","@typescript-eslint/no-use-before-define":"off","@typescript-eslint/no-var-requires":"off","global-require":"off","import/no-unresolved":"off","import/order":"off","no-alert":"off","no-console":"off","no-restricted-imports":"off","no-undef":"off","no-unused-expressions":"off","no-unused-vars":"off","prefer-reflect":"off","sonar/no-dead-store":"off",strict:"off"}},type:"markdown_inline_js_jsx"}]),n=o;
6
+ var o=chunkWG6GTAIA_js.b([{config:{extends:"plugin:markdown/recommended",plugins:["markdown"],processor:"markdown/markdown",rules:{"no-cond-assign":"off"}},type:"markdown"},{config:{extends:"plugin:markdown/recommended",parserOptions:{ecmacFeatures:{impliedStrict:!0}},plugins:["markdown"],processor:"markdown/markdown",rules:{"@typescript-eslint/comma-dangle":"off","@typescript-eslint/no-redeclare":"off","@typescript-eslint/no-unused-vars":"off","@typescript-eslint/no-use-before-define":"off","@typescript-eslint/no-var-requires":"off","global-require":"off","import/no-unresolved":"off","import/order":"off","no-alert":"off","no-console":"off","no-restricted-imports":"off","no-undef":"off","no-unused-expressions":"off","no-unused-vars":"off","prefer-reflect":"off","sonar/no-dead-store":"off",strict:"off"}},type:"markdown_inline_js_jsx"}]),n=o;
7
7
 
8
8
  module.exports = n;
9
9
  //# sourceMappingURL=out.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/config/plugins/markdown.ts"],"names":["config","createConfigs","markdown_default"],"mappings":"4EAIA,IAAMA,EAAwBC,EAAc,CACxC,CACI,OAAQ,CACJ,QAAS,8BACT,QAAS,CAAC,UAAU,EACpB,UAAW,mBACf,EACA,KAAM,UACV,EACA,CACI,OAAQ,CACJ,QAAS,8BACT,cAAe,CACX,cAAe,CACX,cAAe,EACnB,CACJ,EACA,QAAS,CAAC,UAAU,EACpB,UAAW,oBACX,MAAO,CACH,kCAAmC,MACnC,kCAAmC,MACnC,oCAAqC,MACrC,0CAA2C,MAC3C,qCAAsC,MAEtC,iBAAkB,MAElB,uBAAwB,MACxB,eAAgB,MAEhB,WAAY,MACZ,aAAc,MACd,wBAAyB,MACzB,WAAY,MACZ,wBAAyB,MACzB,iBAAkB,MAElB,iBAAkB,MAClB,sBAAuB,MAEvB,OAAQ,KACZ,CACJ,EACA,KAAM,wBACV,CACJ,CAAC,EAEMC,EAAQF","sourcesContent":["import type { Linter } from \"eslint\";\n\nimport { createConfigs } from \"../../utils/create-config\";\n\nconst config: Linter.Config = createConfigs([\n {\n config: {\n extends: \"plugin:markdown/recommended\",\n plugins: [\"markdown\"],\n processor: \"markdown/markdown\",\n },\n type: \"markdown\",\n },\n {\n config: {\n extends: \"plugin:markdown/recommended\",\n parserOptions: {\n ecmacFeatures: {\n impliedStrict: true,\n },\n },\n plugins: [\"markdown\"],\n processor: \"markdown/markdown\",\n rules: {\n \"@typescript-eslint/comma-dangle\": \"off\",\n \"@typescript-eslint/no-redeclare\": \"off\",\n \"@typescript-eslint/no-unused-vars\": \"off\",\n \"@typescript-eslint/no-use-before-define\": \"off\",\n \"@typescript-eslint/no-var-requires\": \"off\",\n\n \"global-require\": \"off\",\n\n \"import/no-unresolved\": \"off\",\n \"import/order\": \"off\",\n\n \"no-alert\": \"off\",\n \"no-console\": \"off\",\n \"no-restricted-imports\": \"off\",\n \"no-undef\": \"off\",\n \"no-unused-expressions\": \"off\",\n \"no-unused-vars\": \"off\",\n\n \"prefer-reflect\": \"off\",\n \"sonar/no-dead-store\": \"off\",\n\n strict: \"off\",\n },\n },\n type: \"markdown_inline_js_jsx\",\n },\n]);\n\nexport default config;\n"]}
1
+ {"version":3,"sources":["../../../src/config/plugins/markdown.ts"],"names":["config","createConfigs","markdown_default"],"mappings":"4EAIA,IAAMA,EAAwBC,EAAc,CACxC,CACI,OAAQ,CACJ,QAAS,8BACT,QAAS,CAAC,UAAU,EACpB,UAAW,oBACX,MAAO,CACH,iBAAkB,KACtB,CACJ,EACA,KAAM,UACV,EACA,CACI,OAAQ,CACJ,QAAS,8BACT,cAAe,CACX,cAAe,CACX,cAAe,EACnB,CACJ,EACA,QAAS,CAAC,UAAU,EACpB,UAAW,oBACX,MAAO,CACH,kCAAmC,MACnC,kCAAmC,MACnC,oCAAqC,MACrC,0CAA2C,MAC3C,qCAAsC,MAEtC,iBAAkB,MAElB,uBAAwB,MACxB,eAAgB,MAEhB,WAAY,MACZ,aAAc,MACd,wBAAyB,MACzB,WAAY,MACZ,wBAAyB,MACzB,iBAAkB,MAElB,iBAAkB,MAClB,sBAAuB,MAEvB,OAAQ,KACZ,CACJ,EACA,KAAM,wBACV,CACJ,CAAC,EAEMC,EAAQF","sourcesContent":["import type { Linter } from \"eslint\";\n\nimport { createConfigs } from \"../../utils/create-config\";\n\nconst config: Linter.Config = createConfigs([\n {\n config: {\n extends: \"plugin:markdown/recommended\",\n plugins: [\"markdown\"],\n processor: \"markdown/markdown\",\n rules: {\n \"no-cond-assign\": \"off\",\n },\n },\n type: \"markdown\",\n },\n {\n config: {\n extends: \"plugin:markdown/recommended\",\n parserOptions: {\n ecmacFeatures: {\n impliedStrict: true,\n },\n },\n plugins: [\"markdown\"],\n processor: \"markdown/markdown\",\n rules: {\n \"@typescript-eslint/comma-dangle\": \"off\",\n \"@typescript-eslint/no-redeclare\": \"off\",\n \"@typescript-eslint/no-unused-vars\": \"off\",\n \"@typescript-eslint/no-use-before-define\": \"off\",\n \"@typescript-eslint/no-var-requires\": \"off\",\n\n \"global-require\": \"off\",\n\n \"import/no-unresolved\": \"off\",\n \"import/order\": \"off\",\n\n \"no-alert\": \"off\",\n \"no-console\": \"off\",\n \"no-restricted-imports\": \"off\",\n \"no-undef\": \"off\",\n \"no-unused-expressions\": \"off\",\n \"no-unused-vars\": \"off\",\n\n \"prefer-reflect\": \"off\",\n \"sonar/no-dead-store\": \"off\",\n\n strict: \"off\",\n },\n },\n type: \"markdown_inline_js_jsx\",\n },\n]);\n\nexport default config;\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anolilab/eslint-config",
3
- "version": "11.3.3",
3
+ "version": "11.3.5",
4
4
  "description": "ESLint shareable config for the Anolilab JavaScript style guide.",
5
5
  "keywords": [
6
6
  "anolilab",
@@ -126,21 +126,21 @@
126
126
  "postinstall": "node ./skip.js || node ./dist/postinstall.js"
127
127
  },
128
128
  "dependencies": {
129
- "@anolilab/package-json-utils": "3.0.4",
130
- "@babel/eslint-parser": "^7.22.10",
129
+ "@anolilab/package-json-utils": "3.0.5",
130
+ "@babel/eslint-parser": "^7.22.11",
131
131
  "@babel/plugin-syntax-import-assertions": "^7.22.5",
132
132
  "@html-eslint/eslint-plugin": "^0.19.1",
133
133
  "@html-eslint/parser": "^0.19.1",
134
134
  "@rushstack/eslint-patch": "^1.3.3",
135
135
  "@rushstack/eslint-plugin-security": "^0.6.0",
136
- "@typescript-eslint/eslint-plugin": ">=6.3.0",
137
- "@typescript-eslint/parser": "^6.3.0",
136
+ "@typescript-eslint/eslint-plugin": ">=6.5.0",
137
+ "@typescript-eslint/parser": "^6.5.0",
138
138
  "confusing-browser-globals": "^1.0.11",
139
139
  "eslint-define-config": "^1.23.0",
140
140
  "eslint-import-resolver-node": "^0.3.9",
141
141
  "eslint-import-resolver-typescript": "^3.6.0",
142
142
  "eslint-plugin-antfu": "^0.41.0",
143
- "eslint-plugin-compat": "^4.1.4",
143
+ "eslint-plugin-compat": "^4.2.0",
144
144
  "eslint-plugin-es-x": "^7.2.0",
145
145
  "eslint-plugin-eslint-comments": "^3.2.0",
146
146
  "eslint-plugin-html": "^7.1.0",
@@ -161,7 +161,7 @@
161
161
  "eslint-plugin-unicorn": "^48.0.1",
162
162
  "eslint-plugin-yml": "^1.8.0",
163
163
  "find-up": "5.0.0",
164
- "globals": "^13.20.0",
164
+ "globals": "^13.21.0",
165
165
  "jsonc-eslint-parser": "^2.3.0",
166
166
  "read-pkg-up": "^7.0.1",
167
167
  "semver": "^7.5.4",
@@ -170,14 +170,14 @@
170
170
  "yaml-eslint-parser": "^1.2.2"
171
171
  },
172
172
  "devDependencies": {
173
- "@anolilab/semantic-release-preset": "6.0.4",
173
+ "@anolilab/semantic-release-preset": "6.0.5",
174
174
  "@arthurgeron/eslint-plugin-react-usememo": "^1.1.4",
175
175
  "@testing-library/dom": "^9.3.1",
176
176
  "@total-typescript/ts-reset": "^0.5.1",
177
177
  "@types/confusing-browser-globals": "^1.0.0",
178
178
  "@types/eslint": "^8.44.2",
179
- "@types/semver": "^7.5.0",
180
- "eslint": "^8.47.0",
179
+ "@types/semver": "^7.5.1",
180
+ "eslint": "^8.48.0",
181
181
  "eslint-find-rules": "^4.1.0",
182
182
  "eslint-plugin-babel": "^5.3.1",
183
183
  "eslint-plugin-cypress": "^2.14.0",
@@ -185,9 +185,9 @@
185
185
  "eslint-plugin-etc": "^2.0.3",
186
186
  "eslint-plugin-jest": "^27.2.3",
187
187
  "eslint-plugin-jest-async": "^1.0.3",
188
- "eslint-plugin-jest-dom": "^5.0.2",
188
+ "eslint-plugin-jest-dom": "^5.1.0",
189
189
  "eslint-plugin-jest-formatting": "^3.1.0",
190
- "eslint-plugin-jsdoc": "^46.5.0",
190
+ "eslint-plugin-jsdoc": "^46.5.1",
191
191
  "eslint-plugin-jsx-a11y": "^6.7.1",
192
192
  "eslint-plugin-no-unsanitized": "^4.0.2",
193
193
  "eslint-plugin-prefer-object-spread": "^1.2.1",
@@ -206,16 +206,16 @@
206
206
  "rimraf": "^5.0.1",
207
207
  "semantic-release": "^21.1.1",
208
208
  "tsup": "^7.2.0",
209
- "type-fest": "^4.2.0",
210
- "typescript": "^5.1.6",
211
- "vitest": "^0.34.1"
209
+ "type-fest": "^4.3.1",
210
+ "typescript": "^5.2.2",
211
+ "vitest": "^0.34.3"
212
212
  },
213
213
  "peerDependencies": {
214
214
  "eslint": "^8.15.0"
215
215
  },
216
216
  "optionalDependencies": {
217
217
  "@arthurgeron/eslint-plugin-react-usememo": "^1.1.4",
218
- "@tanstack/eslint-plugin-query": "^4.32.5",
218
+ "@tanstack/eslint-plugin-query": "^4.34.1",
219
219
  "eslint-plugin-array-func": "^3.1.8",
220
220
  "eslint-plugin-ava": "^14.0.0",
221
221
  "eslint-plugin-babel": "^5.3.1",
@@ -223,13 +223,13 @@
223
223
  "eslint-plugin-editorconfig": "^4.0.3",
224
224
  "eslint-plugin-jest": "^27.2.3",
225
225
  "eslint-plugin-jest-async": "^1.0.3",
226
- "eslint-plugin-jest-dom": "^5.0.2",
226
+ "eslint-plugin-jest-dom": "^5.1.0",
227
227
  "eslint-plugin-jest-formatting": "^3.1.0",
228
- "eslint-plugin-jsdoc": "^46.5.0",
228
+ "eslint-plugin-jsdoc": "^46.5.1",
229
229
  "eslint-plugin-jsx-a11y": "^6.7.1",
230
230
  "eslint-plugin-n": "^16.0.2",
231
231
  "eslint-plugin-no-unsanitized": "^4.0.2",
232
- "eslint-plugin-playwright": "^0.15.3",
232
+ "eslint-plugin-playwright": "^0.16.0",
233
233
  "eslint-plugin-prefer-object-spread": "^1.2.1",
234
234
  "eslint-plugin-react": "^7.33.2",
235
235
  "eslint-plugin-react-hooks": "^4.6.0",