Ensures a field value as confirmed using a _confirmation convention. This is mainly used for password confirmation field.

For example: If the password field name is password, then another field called password_confirmation must exist and should have the same value as the actual field.

const rules = {
  password: 'confirmed'

// or
const rules = {
  password: [

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

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