15 lines
583 B
JavaScript
15 lines
583 B
JavaScript
import { defineConfig } from 'steiger'
|
|
import fsd from '@feature-sliced/steiger-plugin'
|
|
|
|
// Two FSD rules are off, both on purpose. fsd/repetitive-naming: the spec names
|
|
// the slices create-note, edit-note and delete-note, and each repeats "note".
|
|
// fsd/insignificant-slice: each action is its own slice (plan §4.3), so a slice
|
|
// that one widget uses stays a slice rather than being merged into it.
|
|
export default defineConfig([
|
|
...fsd.configs.recommended,
|
|
{
|
|
files: ['./src/**/*'],
|
|
rules: { 'fsd/repetitive-naming': 'off', 'fsd/insignificant-slice': 'off' },
|
|
},
|
|
])
|