Skip to content

Commit

Permalink
Supported @typescript-eslint@v6 and prettier@v3 (#54)
Browse files Browse the repository at this point in the history
* chore: Updated dependencies

* chore: Updated @typescript-eslint and prettier

---------

Co-authored-by: ijlee2 <[email protected]>
  • Loading branch information
ijlee2 and ijlee2 authored Jul 12, 2023
1 parent 7286d0c commit 3e347f3
Show file tree
Hide file tree
Showing 3 changed files with 192 additions and 160 deletions.
13 changes: 8 additions & 5 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 'latest',
project: true,
sourceType: 'module',
},
plugins: ['@typescript-eslint', 'simple-import-sort', 'typescript-sort-keys'],
Expand All @@ -31,13 +32,12 @@ module.exports = {
// TypeScript files
{
files: ['**/*.{cts,ts}'],
extends: [
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
],
extends: ['plugin:@typescript-eslint/recommended-type-checked'],
rules: {
'@typescript-eslint/array-type': 'error',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-unsafe-argument': 'off',
'@typescript-eslint/no-unsafe-assignment': 'off',
},
},
// TypeScript and JavaScript files
Expand All @@ -54,7 +54,10 @@ module.exports = {
browser: false,
node: true,
},
extends: ['plugin:n/recommended'],
extends: [
'plugin:@typescript-eslint/disable-type-checked',
'plugin:n/recommended',
],
},
],
};
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,33 +39,33 @@
},
"dependencies": {
"@codemod-utils/blueprints": "^0.2.1",
"@codemod-utils/files": "^0.5.1",
"@codemod-utils/json": "^0.3.2",
"strip-json-comments": "^5.0.0",
"@codemod-utils/files": "^0.5.2",
"@codemod-utils/json": "^0.3.4",
"strip-json-comments": "^5.0.1",
"yargs": "^17.7.2"
},
"devDependencies": {
"@babel/core": "^7.22.6",
"@codemod-utils/tests": "^0.2.4",
"@babel/core": "^7.22.8",
"@codemod-utils/tests": "^0.2.5",
"@sondr3/minitest": "^0.1.1",
"@tsconfig/esm": "^1.0.4",
"@tsconfig/node16": "^16.1.0",
"@tsconfig/strictest": "^2.0.1",
"@types/node": "^16.11.7",
"@types/yargs": "^17.0.24",
"@typescript-eslint/eslint-plugin": "^5.61.0",
"@typescript-eslint/parser": "^5.61.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"concurrently": "^8.2.0",
"eslint": "^8.44.0",
"eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^16.0.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-typescript-sort-keys": "^2.3.0",
"lerna-changelog": "^2.2.0",
"prettier": "^2.8.8",
"prettier": "^3.0.0",
"typescript": "^5.1.6"
},
"engines": {
Expand Down
Loading

0 comments on commit 3e347f3

Please sign in to comment.