Skip to content

Commit b1c1a52

Browse files
committed
Meta tweaks
1 parent b5561e4 commit b1c1a52

Some content is hidden

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

49 files changed

+204
-178
lines changed

โ€Ž.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
matrix:
1616
node-version: [^18.18]
1717
steps:
18-
- uses: actions/checkout@v3
19-
- uses: actions/setup-node@v3
18+
- uses: actions/checkout@v4
19+
- uses: actions/setup-node@v4
2020
with:
2121
node-version: ${{ matrix.node-version }}
2222
- run: npm install --no-audit
@@ -27,8 +27,8 @@ jobs:
2727
name: Integration tests
2828
runs-on: ubuntu-latest
2929
steps:
30-
- uses: actions/checkout@v3
31-
- uses: actions/setup-node@v3
30+
- uses: actions/checkout@v4
31+
- uses: actions/setup-node@v4
3232
- run: npm install --no-audit
3333
- run: npm run integration
3434
- uses: codecov/codecov-action@v3

โ€Žcreate-ava-rule.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22

3-
const {isDeepStrictEqual} = require('util');
3+
const {isDeepStrictEqual} = require('node:util');
44
const espurify = require('espurify');
55
const enhance = require('enhance-visitors');
66
const util = require('./util');
@@ -216,7 +216,7 @@ module.exports = () => {
216216
};
217217

218218
return {
219-
hasTestModifier: mod => getTestModifierNames(currentTestNode).includes(mod),
219+
hasTestModifier: module_ => getTestModifierNames(currentTestNode).includes(module_),
220220
hasNoUtilityModifier() {
221221
const modifiers = getTestModifierNames(currentTestNode);
222222
return !modifiers.includes('before')

โ€Ždocs/rules/assertion-arguments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Enforce passing correct arguments to assertions (`ava/assertion-arguments`)
22

3-
๐Ÿ’ผ This rule is enabled in the following [configs](https://github.com/avajs/eslint-plugin-ava#recommended-config): `flat/recommended`, โœ… `recommended`.
3+
๐Ÿ’ผ This rule is enabled in the โœ… `recommended` [config](https://github.com/avajs/eslint-plugin-ava#recommended-config).
44

55
๐Ÿ”ง This rule is automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/latest/user-guide/command-line-interface#--fix).
66

โ€Ždocs/rules/hooks-order.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Enforce test hook ordering (`ava/hooks-order`)
22

3-
๐Ÿ’ผ This rule is enabled in the following [configs](https://github.com/avajs/eslint-plugin-ava#recommended-config): `flat/recommended`, โœ… `recommended`.
3+
๐Ÿ’ผ This rule is enabled in the โœ… `recommended` [config](https://github.com/avajs/eslint-plugin-ava#recommended-config).
44

55
๐Ÿ”ง This rule is automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/latest/user-guide/command-line-interface#--fix).
66

โ€Ždocs/rules/max-asserts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Enforce a limit on the number of assertions in a test (`ava/max-asserts`)
22

3-
๐Ÿšซ This rule is _disabled_ in the following [configs](https://github.com/avajs/eslint-plugin-ava#recommended-config): `flat/recommended`, โœ… `recommended`.
3+
๐Ÿšซ This rule is _disabled_ in the โœ… `recommended` [config](https://github.com/avajs/eslint-plugin-ava#recommended-config).
44

55
<!-- end auto-generated rule header -->
66

โ€Ždocs/rules/no-async-fn-without-await.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Ensure that async tests use `await` (`ava/no-async-fn-without-await`)
22

3-
๐Ÿ’ผ This rule is enabled in the following [configs](https://github.com/avajs/eslint-plugin-ava#recommended-config): `flat/recommended`, โœ… `recommended`.
3+
๐Ÿ’ผ This rule is enabled in the โœ… `recommended` [config](https://github.com/avajs/eslint-plugin-ava#recommended-config).
44

55
<!-- end auto-generated rule header -->
66

โ€Ždocs/rules/no-duplicate-modifiers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Ensure tests do not have duplicate modifiers (`ava/no-duplicate-modifiers`)
22

3-
๐Ÿ’ผ This rule is enabled in the following [configs](https://github.com/avajs/eslint-plugin-ava#recommended-config): `flat/recommended`, โœ… `recommended`.
3+
๐Ÿ’ผ This rule is enabled in the โœ… `recommended` [config](https://github.com/avajs/eslint-plugin-ava#recommended-config).
44

55
<!-- end auto-generated rule header -->
66

โ€Ždocs/rules/no-identical-title.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Ensure no tests have the same title (`ava/no-identical-title`)
22

3-
๐Ÿ’ผ This rule is enabled in the following [configs](https://github.com/avajs/eslint-plugin-ava#recommended-config): `flat/recommended`, โœ… `recommended`.
3+
๐Ÿ’ผ This rule is enabled in the โœ… `recommended` [config](https://github.com/avajs/eslint-plugin-ava#recommended-config).
44

55
<!-- end auto-generated rule header -->
66

โ€Ždocs/rules/no-ignored-test-files.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Ensure no tests are written in ignored files (`ava/no-ignored-test-files`)
22

3-
๐Ÿ’ผ This rule is enabled in the following [configs](https://github.com/avajs/eslint-plugin-ava#recommended-config): `flat/recommended`, โœ… `recommended`.
3+
๐Ÿ’ผ This rule is enabled in the โœ… `recommended` [config](https://github.com/avajs/eslint-plugin-ava#recommended-config).
44

55
<!-- end auto-generated rule header -->
66

โ€Ždocs/rules/no-import-test-files.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Ensure no test files are imported anywhere (`ava/no-import-test-files`)
22

3-
๐Ÿ’ผ This rule is enabled in the following [configs](https://github.com/avajs/eslint-plugin-ava#recommended-config): `flat/recommended`, โœ… `recommended`.
3+
๐Ÿ’ผ This rule is enabled in the โœ… `recommended` [config](https://github.com/avajs/eslint-plugin-ava#recommended-config).
44

55
<!-- end auto-generated rule header -->
66

0 commit comments

Comments
ย (0)