Skip to content

Commit

Permalink
Merge pull request #2684 from decaffeinate/chore/deps/update-dev-deps
Browse files Browse the repository at this point in the history
chore: update a bunch of development deps
  • Loading branch information
eventualbuddha committed Jun 21, 2024
2 parents b666a1e + 329ef11 commit 3551677
Show file tree
Hide file tree
Showing 140 changed files with 2,408 additions and 2,184 deletions.
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

53 changes: 0 additions & 53 deletions .eslintrc.js

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

strategy:
matrix:
node-version: [16.x, 18.x, 20.x, 22.x]
node-version: [18.x, 20.x, 22.x]

env:
CI: true
Expand Down
45 changes: 45 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
const eslint = require("@eslint/js");
const tseslint = require('typescript-eslint');
const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended');
const jest = require('eslint-plugin-jest');

module.exports = [
{
ignores: ['**/*.js'],
},
eslint.configs.recommended,
...tseslint.configs.recommendedTypeChecked,
{
languageOptions: {
parserOptions: {
project: true,
tsconfigRootDir: __dirname,
},
},
},
eslintPluginPrettierRecommended,
{
files: ['test/**/*.ts'],
...jest.configs['flat/recommended'],
rules: {
...jest.configs['flat/recommended'].rules,
'jest/expect-expect': 'off',
'jest/no-if': 'off',
'jest/prefer-expect-assertions': 'off',
}
},
{
files: ['{script,src}/**/*.ts'],
rules: {
'@typescript-eslint/array-type': ['error', { default: 'generic' }],
'@typescript-eslint/await-thenable': 'error',
'@typescript-eslint/explicit-member-accessibility': 'off',
'@typescript-eslint/explicit-function-return-type': ['error', { allowExpressions: true }],
'@typescript-eslint/no-parameter-properties': 'off',
'@typescript-eslint/no-unused-vars': 'error',
'@typescript-eslint/no-use-before-define': ['error', { functions: false, classes: false }],
'no-unused-vars': 'off',
'prettier/prettier': ['error'],
},
}
];
25 changes: 14 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"scripts": {
"prebuild": "rimraf dist && mkdirp dist && pnpm lint",
"build": "tsup",
"lint": "eslint --ext .ts src script test",
"lint": "eslint",
"lint:fix": "pnpm lint --fix",
"prepublishOnly": "pnpm build",
"test": "is-ci test:ci test:watch",
Expand Down Expand Up @@ -89,35 +89,38 @@
"@babel/core": "^7.12.3",
"@babel/preset-env": "^7.12.1",
"@babel/traverse": "^7.12.5",
"@eslint/js": "^9.5.0",
"@jest/types": "^29.3.1",
"@types/babel__core": "^7.1.12",
"@types/babel__generator": "^7.6.2",
"@types/babel__template": "^7.0.3",
"@types/babel__traverse": "^7.0.15",
"@types/eslint__js": "^8.42.3",
"@types/fs-extra": "^9.0.1",
"@types/jest": "^29.2.4",
"@types/mz": "^2.7.0",
"@types/node": "^17.0.39",
"@typescript-eslint/eslint-plugin": "^6.4.0",
"@typescript-eslint/parser": "^6.4.0",
"@typescript-eslint/eslint-plugin": "^7.13.1",
"@typescript-eslint/parser": "^7.13.1",
"esbuild": "^0.17.10",
"esbuild-runner": "^2.2.1",
"eslint": "^8.34.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint": "^9.5.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^28.6.0",
"eslint-plugin-prettier": "^5.1.3",
"fs-extra": "^10.1.0",
"husky": "^8.0.1",
"jest": "^29.3.1",
"lint-staged": "^13.0.0",
"mkdirp": "^1.0.4",
"prettier": "^2.8.4",
"prettier": "^3.3.2",
"rimraf": "^3.0.2",
"sort-package-json": "^1.57.0",
"ts-jest": "^29.1.1",
"ts-jest": "^29.1.5",
"tsup": "^7.2.0",
"typescript": "^5.1.6"
"typescript": "^5.4.5",
"typescript-eslint": "^7.13.1"
},
"engines": {
"node": ">=8"
Expand Down
Loading

0 comments on commit 3551677

Please sign in to comment.