Skip to content
This repository has been archived by the owner on Nov 24, 2024. It is now read-only.

Commit

Permalink
chore: update to es2023; attempt to fix annoying message
Browse files Browse the repository at this point in the history
  • Loading branch information
espimarisa committed Aug 25, 2023
1 parent c1ca848 commit a7d8250
Show file tree
Hide file tree
Showing 3 changed files with 99 additions and 640 deletions.
7 changes: 3 additions & 4 deletions index.cjs
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
/* eslint-disable unicorn/no-null */

/** @type {import("eslint").Linter.Config} */
module.exports = {
root: true,

env: {
es6: true,
es2023: true,
amd: true,
browser: true,
},

parserOptions: {
sourceType: "module",
ecmaVersion: 2022,
ecmaVersion: 2023,
ecmaFeatures: {
jsx: true,
},
Expand All @@ -27,8 +28,6 @@ module.exports = {
"plugin:import/react",
"plugin:n/recommended",
"plugin:unicorn/recommended",
"plugin:import/recommended",
"plugin:import/react",
"prettier",
],

Expand Down
15 changes: 10 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@
"strict",
"prettier"
],
"pnpm": {
"overrides": {
"eslint-plugin-import": "npm:eslint-plugin-i"
}
},
"peerDependencies": {
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@typescript-eslint/parser": "^6.2.1",
Expand Down Expand Up @@ -58,18 +63,18 @@
}
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^6.4.0",
"@typescript-eslint/parser": "^6.4.0",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"eslint": "^8.47.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-typescript": "^3.6.0",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-n": "^16.0.1",
"eslint-plugin-import": "npm:eslint-plugin-i@2.28.0-2",
"eslint-plugin-n": "^16.0.2",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-security": "^1.7.1",
"eslint-plugin-unicorn": "^48.0.1",
"prettier": "^3.0.2",
"typescript": "^5.1.6"
"typescript": "^5.2.2"
}
}
Loading

0 comments on commit a7d8250

Please sign in to comment.