Skip to content

Commit

Permalink
Eslint stylistic improvements (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
ann-kilzer authored Aug 26, 2024
1 parent 0f77231 commit 6710a86
Show file tree
Hide file tree
Showing 6 changed files with 126 additions and 333 deletions.
10 changes: 7 additions & 3 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports = {
},
plugins: [
'react-refresh',
'@stylistic/ts'
'@stylistic'
],
rules: {
'react-refresh/only-export-components': [
Expand All @@ -26,8 +26,12 @@ module.exports = {
'quotes': ['error', 'single'],
'@typescript-eslint/prefer-nullish-coalescing': 'off',
'@typescript-eslint/no-unsafe-call': ['off'],
'@stylistic/ts/indent': ['error', 4],
'@stylistic/ts/semi': ['error', 'never'],
'@stylistic/indent': ['error', 4],
'@stylistic/semi': ['error', 'never'],
'@stylistic/no-multi-spaces': 'error',
'@stylistic/no-trailing-spaces': 'error',
'@stylistic/no-mixed-spaces-and-tabs': 'error',
'@typescript-eslint/no-explicit-any': 'error',
},
settings: {
react: {
Expand Down
2 changes: 1 addition & 1 deletion e2e/team.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { test, expect, Locator } from '@playwright/test'

/** Verifies visibility of the name, title, and photo
*
*
* @param card The Locator for the TeamMember Card
* @param name The name to find
* @param title The title to find, if defined
Expand Down
Loading

0 comments on commit 6710a86

Please sign in to comment.