Skip to content

Commit d404c2c

Browse files
Merge branch 'main' into prefer-tag-over-role
2 parents 9ace470 + 7f6463e commit d404c2c

File tree

96 files changed

+2219
-869
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+2219
-869
lines changed

.eslintrc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,20 @@
2323
"eslint-plugin/require-meta-type": "off",
2424
},
2525
},
26+
{
27+
"files": ["markdown.config.js"],
28+
"parserOptions": {
29+
"sourceType": "script",
30+
},
31+
"rules": {
32+
"no-console": 0,
33+
"import/no-extraneous-dependencies": [
34+
"error",
35+
{ "devDependencies": true },
36+
],
37+
"strict": ["error", "global"],
38+
},
39+
},
2640
{
2741
"files": ["__tests__/src/rules/*.js"],
2842
"extends": ["plugin:eslint-plugin/tests-recommended"],

.flowconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[ignore]
2+
<PROJECT_ROOT>/node_modules/resolve/test/resolver/malformed_package_json/package.json
23
<PROJECT_ROOT>/lib/.*
34
<PROJECT_ROOT>/docs/.*
45
<PROJECT_ROOT>/reports/.*

.github/workflows/readme.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: 'Tests: readme'
2+
3+
on: [pull_request, push]
4+
5+
jobs:
6+
readme:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v2
11+
- uses: ljharb/actions/node/install@main
12+
name: 'nvm install lts/* && npm install'
13+
with:
14+
node-version: 'lts/*'
15+
- run: npm run generate-list-of-rules:check

CHANGELOG.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,50 @@
1+
6.6.1 / 2022-07-21
2+
==================
3+
- 38405ad [Fix] `no-interactive-tabindex`: allow role assignments using a ternary with literals on both sides
4+
- 7524e0c [Fix] `no-static-element-interactions`: allow role assignments using a ternary with literals on both sides (#865)
5+
- 1c06306 [readme] properly describe rule settings in builtin configs
6+
- 0c19f02 [Docs] `no-noninteractive-tabindex`, `no-static-element-interactions`: document `allowExpressionValues` (#870)
7+
- 2362832 [readme] added link to redirect eslint to relevant docs (#862)
8+
- 2c6926c [Deps] unpin `axe-core`
9+
- b78f19d [Deps] pin `axe-core` to v4.4.1, due to a breaking change in a patch
10+
- 768910e [Deps] update `@babel/runtime`
11+
- f0e04ce [Deps] update `@babel/runtime`, `jsx-ast-utils`
12+
- 93b2a9d [Dev Deps] update `@babel/cli`, `@babel/core`, `@babel/eslint-parser`, `@babel/plugin-transform-flow-strip-types`, `@babel/register`
13+
- a962211 [Dev Deps] update `@babel/cli`, `@babel/core`, `@babel/plugin-transform-flow-strip-types`, `@babel/register`
14+
- 0d2bc43 [Tests] `no-noninteractive-element-interactions`: add passing test cases (#876)
15+
- ffefbad [Tests] `no-noninteractive-element-interactions`: add passing tests for form with onSubmit (#871)
16+
- e7d405d [Tests] `no-static-element-interactions`: add passing test cases
17+
18+
6.6.0 / 2022-06-23
19+
==================
20+
- 566011b [New] `aria-role`: add `allowedInvalidRoles` option (#828)
21+
- 64dcac6 [New] Introduce a plugin-wide setting for custom components. (#844)
22+
- ce2c328 [Fix] `no-redundant-roles`, `role-supports-aria-props`: Remove implicit role from dl element (#848)
23+
- fb20bc4 [Refactor] `role-supports-aria-props`: clean up the logic a bit
24+
- 1826628 [Refactor] reduce egregious use of array spread, in favor of `[].concat` idiom
25+
- 0f1615a [Docs] `no-static-element-interactions`: Update error message (#843)
26+
- 9980d1d [Docs] Add infrastructure for auto-generating markdown table and list (#837)
27+
- f878d3b [Docs] Update project readme (#831)
28+
- aea7671 [Deps] update `@babel/runtime`, `array-includes`, `axe-core`, `jsx-ast-utils`
29+
- d74173a [Deps] update `jsx-ast-utils`
30+
- f6ba03c [Deps] update `@babel/runtime`, `jsx-ast-utils`
31+
- 547dab4 [Deps] update `@babel/runtime`, `axe-core`, `minimatch`
32+
- baaf791 [Deps] update `@babel/runtime`, `minimatch`, `semver`
33+
- c015fef [Deps] update `@babel/runtime`, `axe-core`, `damerau-levenshtein`
34+
- 832cbd6 [meta] add `export default` instead of `module.exports` (#861)
35+
- ee933a2 [meta] Add CONTRIBUTING.md to solicit contributions (#846)
36+
- fa3c869 [Dev Deps] update `@babel/cli`, `@babel/core`, `@babel/eslint-parser`, `@babel/plugin-transform-flow-strip-types`, `aud`, `eslint-plugin-eslint-plugin`, `eslint-plugin-flowtype`, `eslint-plugin-import`
37+
- fb3d51e [Dev Deps] update `@babel/core`, `@babel/register`, `eslint-plugin-import`, `minimist`
38+
- 8c1df4d [Dev Deps] pin `@technote-space/doctoc` because v2.5 is a breaking change
39+
- fb071ab [Dev Deps] update `@babel/cli`, `@babel/core`, `@babel/eslint-parser`, `@babel/plugin-transform-flow-strip-types`, `eslint-plugin-eslint-plugin`
40+
- 5e966e5 [Dev Deps] update `@babel/cli`
41+
- f597f5b [Dev Deps] update `@babel/cli`, `@babel/core`, `@babel/eslint-parser`
42+
- 287854a [Tests] Fix `npm run flow` (#856)
43+
- 112261c [Tests] skip fragment tests in eslint < 6
44+
- ea877c4 [Tests] `img-redundant-alt-test`: add passing tests (#832)
45+
- 685426d test: align usage of jest expect across tests (#827)
46+
- c460a8b [Tests] move invalid test case to valid; changed in axe-core v4.4
47+
148
6.5.1 / 2021-11-10
249
==================
350
- 8f7d0b0 [Fix] properly build `module.exports` (#824)

CONTRIBUTING.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
# Contributing to ``eslint-plugin-jsx-a11y``
3+
4+
Thank you for your interest in ``eslint-plugin-jsx-a11y``. [Here](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22) you can find the issues that are ready for contributions.
5+
6+
Please refer to the [following](https://github.com/jsx-eslint/.github/blob/HEAD/CONTRIBUTING.md) for further information.

0 commit comments

Comments
 (0)