Skip to content

Commit

Permalink
chore: disallow .only in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed May 5, 2023
1 parent 24c30eb commit ad97cb4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .eslintrc
Expand Up @@ -4,7 +4,8 @@
"$fetch": true
},
"plugins": [
"jsdoc"
"jsdoc",
"no-only-tests"
],
"extends": [
"plugin:jsdoc/recommended",
Expand All @@ -18,6 +19,7 @@
"ignoreDeclarationSort": true
}
],
"no-only-tests/no-only-tests": "error",
"unicorn/prefer-node-protocol": "error",
"no-console": "off",
"vue/multi-word-component-names": "off",
Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -52,6 +52,7 @@
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsdoc": "^41.1.2",
"eslint-plugin-no-only-tests": "^3.1.0",
"execa": "^7.1.1",
"fs-extra": "^11.1.1",
"globby": "^13.1.4",
Expand Down
8 changes: 8 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ad97cb4

Please sign in to comment.