Skip to content

Commit

Permalink
Update .eslintrc.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Corantin committed Aug 1, 2023
1 parent 0a046bf commit 854443f
Showing 1 changed file with 35 additions and 7 deletions.
42 changes: 35 additions & 7 deletions packages/react-app/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
"browser": true,
"node": true
},
"extends": ["plugin:react/recommended", "airbnb", "prettier"],
"extends": [
"plugin:react/recommended",
"airbnb",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
Expand All @@ -14,7 +18,11 @@
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": ["react", "@typescript-eslint", "prettier"],
"plugins": [
"react",
"@typescript-eslint",
"prettier"
],
"rules": {
"prettier/prettier": [
"error",
Expand All @@ -23,7 +31,14 @@
}
],
"radix": 0,
"react/jsx-filename-extension": ["warn", { "extensions": [".tsx"] }],
"react/jsx-filename-extension": [
"warn",
{
"extensions": [
".tsx"
]
}
],
"import/extensions": [
"error",
"ignorePackages",
Expand All @@ -43,15 +58,28 @@
"jsx-props-no-spreading": "off",
"react/jsx-props-no-spreading": "off",
"react/state-in-constructor": "off",
"no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }],
"no-unused-vars": [
"warn",
{
"argsIgnorePattern": "^_"
}
],
"no-debugger": "warn",
"react/no-unknown-property": ["error", { "ignore": ["css"] }],
"react/no-unknown-property": [
"error",
{
"ignore": [
"css"
]
}
],
"no-shadow": "off",
"@typescript-eslint/no-shadow": "error"
"@typescript-eslint/no-shadow": "error",
"import/order": "off"
},
"settings": {
"import/resolver": {
"typescript": {}
}
}
}
}

1 comment on commit 854443f

@vercel
Copy link

@vercel vercel bot commented on 854443f Aug 1, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

quests – ./

quests.vercel.app
quests.1hive.org
quests-git-main-1hive.vercel.app
quests-1hive.vercel.app

Please sign in to comment.