@media screen {
    .print-only {
        display: none;
    }

    .screen-only {
        display: block;
    }
}

@media print {
    .print-only {
        display: block;
    }

    .screen-only {
        display: none;
    }

    * {
        // scss-lint:disable ImportantRule
        // scss-lint:disable ColorVariable
        background-color: #fff !important;
        color: #000 !important;
    }
}

@media screen {
    .print-only {
        display: none;
    }

    .screen-only {
        display: block;
    }
}

@media print {
    .print-only {
        display: block;
    }

    .screen-only {
        display: none;
    }

    * {
        // scss-lint:disable ImportantRule, ColorVariable
        background-color: #fff !important;
        color: #000 !important;
        // scss-lint:enable ImportantRule, ColorVariable
    }
}

Add ignore rules for lint
Add ignore rules for lint
