plural

Converts a value to it’s plural version. If value is not a string then it will return as it is.

const sanitizationRules = {
  controllerName: 'plural'
}

// or
const sanitizationRules = {
  controllerName: [
    rule('plural')
  ]
}

For customized build, you can import this rule as follows.

import { plural } from 'indicative/builds/validations'