UNPKG

eslint-config-shiny

Version:

An eslint config that makes your code so clean and polished that it shines!

2 lines (1 loc) 368 B
import o from"eslint-plugin-no-only-tests";import s from"globals";var t="?([cm])[jt]s?(x)";var n=`**/*${t}`,e=[`**/__tests__/**/*.${t}`,`**/*.spec.${t}`,`**/*.test.${t}`,`**/*.bench.${t}`,`**/*.benchmark.${t}`];var i={files:e,languageOptions:{globals:s.jest},name:"test-base",plugins:{"no-only-tests":o},rules:[{"no-only-tests/no-only-tests":2}]};export{i as config};