Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 28 additions & 4 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,21 @@
},
"extends": [
"plugin:react/recommended",
"airbnb"
"airbnb",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
"sourceType": "module",
"project": "./tsconfig.json"
},
"plugins": [
"react"
"react",
"@typescript-eslint"
],
"rules": {
"no-unused-vars": 1,
Expand All @@ -26,6 +30,26 @@
"react/function-component-definition": 0,
"max-len": 1,
"indent": ["error", 2],
"max-classes-per-file": 0
"max-classes-per-file": 0,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Review these eslint options to make sure you actually need them

"react/jsx-filename-extension": [1, { "extensions": [".jsx", ".tsx"] }],
"react/require-default-props": 0,
"no-undef": 0,
"import/extensions": [
"warn",
"ignorePackages",
{
"js": "never",
"jsx": "never",
"ts": "never",
"tsx": "never"
}
]
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
}
}
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Install node
uses: actions/setup-node@v1
with:
node-version: 16
node-version: 24

- name: Install npm packages
run: npm ci
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,3 @@ dist

# Misc
.DS_Store
.vscode/
Loading