Skip to content

Commit

Permalink
build: change eslint and prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianWoelki committed Jan 15, 2024
1 parent 65aa63f commit b1edc66
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 36 deletions.
29 changes: 29 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
},
"extends": ["plugin:@typescript-eslint/recommended", "prettier"],
"rules": {
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
},
],
"no-restricted-imports": [
"warn",
{
"patterns": [
{
"group": ["../*"],
"message": "Usage of relative parent imports is not allowed.",
}
]
}
]
}
}
29 changes: 0 additions & 29 deletions .eslintrc.mjs

This file was deleted.

7 changes: 7 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"semi": true,
"trailingComma": "all",
"singleQuote": true,
"printWidth": 80,
"tabWidth": 2,
}
7 changes: 0 additions & 7 deletions .prettierrc.mjs

This file was deleted.

0 comments on commit b1edc66

Please sign in to comment.