Skip to content

chore: upgrade deps #508

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,4 @@ jobs:
with:
node-version: "lts/*"
- run: npm install
- run: npm install --save-dev eslint@8 # eslint-remote-tester does not support eslint v9.
- run: npm run test:remote
29 changes: 15 additions & 14 deletions eslint-remote-tester.config.js → eslint-remote-tester.config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
'use strict';
import eslintPlugin from 'eslint-plugin-eslint-plugin';
import tsparser from '@typescript-eslint/parser';

/** @type {import('eslint-remote-tester').Config} */
module.exports = {
export default {
/** Repositories to scan */
repositories: [
// A few dozen top ESLint plugins.
Expand Down Expand Up @@ -41,18 +42,18 @@ module.exports = {
/** Optional boolean flag used to enable caching of cloned repositories. For CIs it's ideal to disable caching. Defaults to true. */
cache: false,

pathIgnorePattern: 'fixtures',

/** ESLint configuration */
eslintrc: {
root: true,
extends: ['plugin:eslint-plugin/all'],
// ignorePatterns: ['fixtures/**/*'], // not working somehow - using `pathIgnorePattern` as of now.
overrides: [
{
files: ['*.ts', '*.mts', '*.cts'],
parser: '@typescript-eslint/parser',
eslintConfig: [
{
files: ['**/*.{js,mjs,cjs,ts,mts,cts}'],
...eslintPlugin.configs['flat/all'],
},
{
files: ['*.ts', '*.mts', '*.cts'],
...eslintPlugin.configs['flat/all-type-checked'],
languageOptions: {
parser: tsparser,
},
],
},
},
],
};
2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module.exports = [
'plugin:prettier/recommended',
'plugin:unicorn/recommended',
),
pluginN.configs['flat/recommended'],
...pluginN.configs['flat/mixed-esm-and-cjs'],
{
rules: {
'@eslint-community/eslint-comments/no-unused-disable': 'error',
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/test-case-property-ordering.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ module.exports = {
// current < lastChecked to catch unordered;
// and lastChecked === -1 to catch extra properties before.
if (
current > -1 &&
current !== -1 &&
(current < lastChecked || lastChecked === -1)
) {
let orderMsg = order.filter((item) =>
Expand Down
39 changes: 19 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"lint:package-json": "npmPkgJsonLint .",
"release": "release-it",
"test": "nyc --all --check-coverage --include lib mocha tests --recursive",
"test:remote": "eslint-remote-tester",
"test:remote": "eslint-remote-tester -c ./eslint-remote-tester.config.mjs",
"update:eslint-docs": "eslint-doc-generator"
},
"files": [
Expand Down Expand Up @@ -50,41 +50,40 @@
"statements": 99
},
"devDependencies": {
"@commitlint/cli": "^19.2.2",
"@commitlint/config-conventional": "^19.2.2",
"@commitlint/cli": "^19.6.0",
"@commitlint/config-conventional": "^19.6.0",
"@eslint-community/eslint-plugin-eslint-comments": "^4.3.0",
"@eslint/eslintrc": "^3.0.2",
"@eslint/js": "^9.0.0",
"@release-it/conventional-changelog": "^8.0.1",
"@types/eslint": "^8.56.9",
"@eslint/js": "^9.16.0",
"@release-it/conventional-changelog": "^9.0.3",
"@types/eslint": "^9.6.1",
"@types/estree": "^1.0.5",
"@typescript-eslint/parser": "^7.7.0",
"@typescript-eslint/utils": "^7.7.0",
"chai": "^4.4.1",
"dirty-chai": "^2.0.1",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the package was removed: it was not used anywhere and seems no longer maintained - the last version was published ~7yrs ago.

"eslint": "9.14.0",
"chai": "^4.5.0",
"eslint": "^9.16.0",
"eslint-config-not-an-aardvark": "^2.1.0",
"eslint-config-prettier": "^9.1.0",
"eslint-doc-generator": "^1.7.0",
"eslint-plugin-eslint-plugin": "file:./",
"eslint-plugin-markdown": "^5.0.0",
"eslint-plugin-n": "^17.2.1",
"eslint-plugin-n": "^17.14.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-unicorn": "^53.0.0",
"eslint-remote-tester": "^3.0.1",
"eslint-plugin-unicorn": "^56.0.1",
"eslint-remote-tester": "^4.0.1",
"eslint-scope": "^8.0.1",
"espree": "^10.0.1",
"globals": "^15.0.0",
"husky": "^9.0.11",
"globals": "^15.13.0",
"husky": "^9.1.7",
"lodash": "^4.17.21",
"markdownlint-cli": "^0.41.0",
"markdownlint-cli": "^0.43.0",
"mocha": "^10.4.0",
"npm-package-json-lint": "^7.1.0",
"npm-run-all2": "^6.1.2",
"nyc": "^15.1.0",
"prettier": "^3.2.5",
"npm-package-json-lint": "^8.0.0",
"npm-run-all2": "^7.0.1",
"nyc": "^17.1.0",
"prettier": "^3.4.1",
"release-it": "^17.2.0",
"typescript": "^5.4.3"
"typescript": "^5.7.2"
},
"peerDependencies": {
"eslint": ">=8.23.0"
Expand Down