refactor: tighten types and reuse instrument UI
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
module.exports = {
|
||||
forbidden: [
|
||||
{
|
||||
from: {
|
||||
path: "^(src|packages/[^/]+/src)/",
|
||||
pathNot: "[.](test|stories|fixtures)[.]|^src/test/",
|
||||
},
|
||||
name: "production-must-not-depend-on-test-code",
|
||||
severity: "error",
|
||||
to: { path: "[.](test|stories|fixtures)[.]|^src/test/" },
|
||||
},
|
||||
{
|
||||
from: {},
|
||||
name: "no-unresolved",
|
||||
|
||||
Reference in New Issue
Block a user