2026-05-14 15:23:25 +00:00
|
|
|
import fsd from '@feature-sliced/steiger-plugin'
|
|
|
|
|
import { defineConfig } from 'steiger'
|
|
|
|
|
|
|
|
|
|
import { openPencilArchitecturePlugin } from './scripts/steiger-rules.ts'
|
|
|
|
|
|
|
|
|
|
export default defineConfig([
|
|
|
|
|
fsd.plugin,
|
|
|
|
|
openPencilArchitecturePlugin,
|
|
|
|
|
{
|
|
|
|
|
ignores: [
|
|
|
|
|
'node_modules/**',
|
|
|
|
|
'dist/**',
|
|
|
|
|
'desktop/**',
|
|
|
|
|
'public/**',
|
|
|
|
|
'tests/**',
|
|
|
|
|
'scratch/**',
|
|
|
|
|
'demo-recordings/**'
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
rules: {
|
|
|
|
|
'open-pencil/no-property-panel-imports-in-canvas': 'error',
|
|
|
|
|
'open-pencil/no-app-imports-in-workspace-packages': 'error',
|
2026-05-14 15:56:45 +00:00
|
|
|
'open-pencil/no-package-internals-in-app': 'error',
|
|
|
|
|
'open-pencil/no-foreign-package-local-aliases': 'error',
|
2026-05-14 16:00:51 +00:00
|
|
|
'open-pencil/no-app-imports-in-shared-ui': 'error',
|
|
|
|
|
'open-pencil/no-property-panel-internals-outside-panel': 'error',
|
2026-05-14 15:23:25 +00:00
|
|
|
'open-pencil/no-ui-imports-in-core': 'error'
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
])
|