Skip to content

Commit

Permalink
Update config file types
Browse files Browse the repository at this point in the history
  • Loading branch information
ErcouldnT committed Jan 15, 2024
1 parent cfe3e29 commit 27afb6c
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 30 deletions.
23 changes: 0 additions & 23 deletions .eslintrc.js

This file was deleted.

22 changes: 22 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parser": "@typescript-eslint/parser",
"extends": ["plugin:prettier/recommended", "prettier", "eslint:recommended"],
"plugins": ["@typescript-eslint"],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"project": "tsconfig.json"
},
"env": {
"es6": true,
"node": true
},
"rules": {
"no-var": "error",
"indent": ["error", 2, { "SwitchCase": 1 }],
"no-multi-spaces": "error",
"space-in-parens": "error",
"no-multiple-empty-lines": "error",
"prefer-const": "error"
}
}
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": false,
"printWidth": 90,
"tabWidth": 2
}
7 changes: 0 additions & 7 deletions .prettierrc.js

This file was deleted.

0 comments on commit 27afb6c

Please sign in to comment.