eslint-config-shiny
Version:
An eslint config that makes your code so clean and polished that it shines!
2 lines (1 loc) • 401 B
JavaScript
import o from"eslint-plugin-no-only-tests";import s from"globals";var t="?([cm])[jt]s?(x)";var l=`**/*${t}`,e=[`**/__tests__/**/*.${t}`,`**/*.spec.${t}`,`**/*.test.${t}`,`**/*.bench.${t}`,`**/*.benchmark.${t}`];function n(a){return{extends:["empty"],files:e,languageOptions:{globals:s.jest},name:"test-base",plugins:{"no-only-tests":o},rules:[{"no-only-tests/no-only-tests":2}]}}export{n as default};