12 lines
374 B
JavaScript
12 lines
374 B
JavaScript
import TitleUnique from './TitleUnique.js'
|
|
import TitleLengthTooLong from './TitleLengthTooLong.js'
|
|
import TitleLengthTooShort from './TitleLengthTooShort.js'
|
|
|
|
export default function getRules(filesnames, options) {
|
|
return [
|
|
new TitleUnique(filesnames, options),
|
|
new TitleLengthTooLong(filesnames, options),
|
|
new TitleLengthTooShort(filesnames, options),
|
|
]
|
|
}
|