eslint-plugin-eslint-plugin
Advanced tools
Comparing version 5.5.1 to 6.0.0
@@ -77,2 +77,3 @@ /** | ||
[`flat/${configName}`]: { | ||
name: `eslint-plugin/flat/${configName}`, | ||
plugins: { 'eslint-plugin': plugin }, | ||
@@ -79,0 +80,0 @@ rules: Object.fromEntries( |
@@ -22,3 +22,3 @@ /** | ||
category: 'Tests', | ||
recommended: true, | ||
recommended: false, | ||
url: 'https://github.com/eslint-community/eslint-plugin-eslint-plugin/tree/HEAD/docs/rules/consistent-output.md', | ||
@@ -25,0 +25,0 @@ }, |
@@ -48,3 +48,6 @@ /** | ||
'hasSuggestions', | ||
'deprecated', | ||
'replacedBy', | ||
'schema', | ||
'defaultOptions', // https://github.com/eslint/rfcs/tree/main/designs/2023-rule-options-defaults | ||
'messages', | ||
@@ -51,0 +54,0 @@ ]; |
@@ -104,5 +104,8 @@ /** | ||
messageValue.replace(PLACEHOLDER_MATCHER, (fullMatch, term) => { | ||
placeholdersInMessage.add(term); | ||
}); | ||
messageValue.replaceAll( | ||
PLACEHOLDER_MATCHER, | ||
(fullMatch, term) => { | ||
placeholdersInMessage.add(term); | ||
} | ||
); | ||
@@ -109,0 +112,0 @@ data.properties.forEach((prop) => { |
@@ -65,3 +65,3 @@ /** | ||
? undefined | ||
: options.pattern.replace(/{{\s*name\s*}}/g, ruleName); | ||
: options.pattern.replaceAll(/{{\s*name\s*}}/g, ruleName); | ||
@@ -68,0 +68,0 @@ /** |
@@ -48,5 +48,6 @@ /** | ||
'parser', | ||
'parserOptions', | ||
'globals', | ||
'env', | ||
'languageOptions', // flat-mode only | ||
'parserOptions', // eslintrc-mode only | ||
'globals', // eslintrc-mode only | ||
'env', // eslintrc-mode only | ||
'errors', | ||
@@ -53,0 +54,0 @@ ]; |
@@ -722,3 +722,3 @@ 'use strict'; | ||
return fixer.insertTextAfter( | ||
sourceCode.getLastToken(node.properties[node.properties.length - 1]), | ||
sourceCode.getLastToken(node.properties.at(-1)), | ||
`,\n${propertyText}` | ||
@@ -725,0 +725,0 @@ ); |
{ | ||
"name": "eslint-plugin-eslint-plugin", | ||
"version": "5.5.1", | ||
"version": "6.0.0", | ||
"description": "An ESLint plugin for linting ESLint plugins", | ||
@@ -20,5 +20,5 @@ "author": "Teddy Katz", | ||
"lint:package-json": "npmPkgJsonLint .", | ||
"lint:remote": "eslint-remote-tester", | ||
"release": "release-it", | ||
"test": "nyc --all --check-coverage --include lib mocha tests --recursive", | ||
"test:remote": "eslint-remote-tester", | ||
"update:eslint-docs": "eslint-doc-generator" | ||
@@ -56,12 +56,12 @@ }, | ||
"@commitlint/config-conventional": "^17.1.0", | ||
"@eslint/eslintrc": "^2.0.2", | ||
"@eslint/js": "^8.57.0", | ||
"@eslint/eslintrc": "^3.0.2", | ||
"@eslint/js": "^9.0.0", | ||
"@release-it/conventional-changelog": "^4.3.0", | ||
"@types/eslint": "^8.56.6", | ||
"@types/eslint": "^8.56.7", | ||
"@types/estree": "^1.0.5", | ||
"@typescript-eslint/parser": "^5.62.0", | ||
"@typescript-eslint/utils": "^5.62.0", | ||
"@typescript-eslint/parser": "^7.5.0", | ||
"@typescript-eslint/utils": "^7.5.0", | ||
"chai": "^4.3.6", | ||
"dirty-chai": "^2.0.1", | ||
"eslint": "^8.57.0", | ||
"eslint": "^9.0.0", | ||
"eslint-config-not-an-aardvark": "^2.1.0", | ||
@@ -73,9 +73,9 @@ "eslint-config-prettier": "^8.5.0", | ||
"eslint-plugin-markdown": "^3.0.0", | ||
"eslint-plugin-n": "^16.6.2", | ||
"eslint-plugin-n": "^17.0.0", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"eslint-plugin-unicorn": "^46.0.0", | ||
"eslint-plugin-unicorn": "^52.0.0", | ||
"eslint-remote-tester": "^3.0.1", | ||
"eslint-scope": "^7.1.1", | ||
"espree": "^9.4.0", | ||
"globals": "^13.20.0", | ||
"eslint-scope": "^8.0.1", | ||
"espree": "^10.0.1", | ||
"globals": "^15.0.0", | ||
"husky": "^8.0.1", | ||
@@ -93,6 +93,6 @@ "lodash": "^4.17.21", | ||
"peerDependencies": { | ||
"eslint": ">=7.0.0" | ||
"eslint": ">=8.23.0" | ||
}, | ||
"engines": { | ||
"node": "^14.17.0 || ^16.0.0 || >= 18.0.0" | ||
"node": "^18.18.0 || ^20.9.0 || >=21.1.0" | ||
}, | ||
@@ -99,0 +99,0 @@ "release-it": { |
@@ -111,3 +111,3 @@ # eslint-plugin-eslint-plugin ![CI](https://github.com/eslint-community/eslint-plugin-eslint-plugin/workflows/CI/badge.svg) [![NPM version](https://img.shields.io/npm/v/eslint-plugin-eslint-plugin.svg?style=flat)](https://npmjs.org/package/eslint-plugin-eslint-plugin) [![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org) <!-- omit from toc --> | ||
| :----------------------------------------------------------------------- | :--------------------------------------------------------------------------- | :-- | :-- | :-- | :-- | | ||
| [consistent-output](docs/rules/consistent-output.md) | enforce consistent use of `output` assertions in rule tests | ✅ | | | | | ||
| [consistent-output](docs/rules/consistent-output.md) | enforce consistent use of `output` assertions in rule tests | | | | | | ||
| [no-identical-tests](docs/rules/no-identical-tests.md) | disallow identical tests | ✅ | 🔧 | | | | ||
@@ -114,0 +114,0 @@ | [no-only-tests](docs/rules/no-only-tests.md) | disallow the test case property `only` | ✅ | | 💡 | | |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
156053
3814