Skip to content

Commit

Permalink
chore: add missing eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
SutuSebastian committed Apr 19, 2024
1 parent d640adf commit 6173752
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/** @type {import("eslint").Linter.Config} */
module.exports = {
env: {
browser: true,
es2021: true,
node: true,
},
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"plugin:react/jsx-runtime",
"prettier",
],
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
},
plugins: ["@typescript-eslint", "react"],
settings: {
react: {
version: "detect",
},
},
rules: {
"react/display-name": "off",
},
};
Binary file modified bun.lockb
Binary file not shown.
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,12 @@
"@svgr/cli": "8.1.0",
"@types/bun": "1.0.8",
"@types/react": "18.2.67",
"@typescript-eslint/eslint-plugin": "7.7.0",
"@typescript-eslint/parser": "7.7.0",
"clean-package": "2.2.0",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-react": "7.34.1",
"ora": "8.0.1",
"prettier": "3.2.5",
"prettier-plugin-packagejson": "2.4.12",
Expand Down

0 comments on commit 6173752

Please sign in to comment.