Skip to content

Commit

Permalink
chore: Add eslint vitest plugin (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
gethinwebster authored Feb 18, 2025
1 parent 293044a commit fdb530d
Show file tree
Hide file tree
Showing 3 changed files with 682 additions and 785 deletions.
8 changes: 5 additions & 3 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@
"plugin:react/recommended",
"plugin:react-hooks/recommended",
"plugin:prettier/recommended",
"prettier/@typescript-eslint"
"prettier/@typescript-eslint",
"plugin:@vitest/legacy-recommended"
],
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": ["unicorn", "header"],
"plugins": ["unicorn", "header", "@vitest"],
"rules": {
"@typescript-eslint/ban-ts-comment": ["error", { "ts-expect-error": "allow-with-description" }],
"@typescript-eslint/interface-name-prefix": "off",
Expand All @@ -29,7 +30,8 @@
"error",
"line",
[" Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.", " SPDX-License-Identifier: Apache-2.0"]
]
],
"@vitest/no-focused-tests": "error"
},
"settings": {
"react": {
Expand Down
Loading

0 comments on commit fdb530d

Please sign in to comment.