|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
574 bytes
|
| Line | |
|---|
| 1 | "use strict";
|
|---|
| 2 |
|
|---|
| 3 | Object.defineProperty(exports, "__esModule", {
|
|---|
| 4 | value: true
|
|---|
| 5 | });
|
|---|
| 6 | exports.preprocess = exports.postprocess = void 0;
|
|---|
| 7 |
|
|---|
| 8 | // https://eslint.org/docs/developer-guide/working-with-plugins#processors-in-plugins
|
|---|
| 9 | // https://github.com/typescript-eslint/typescript-eslint/issues/808
|
|---|
| 10 | const preprocess = source => [source];
|
|---|
| 11 |
|
|---|
| 12 | exports.preprocess = preprocess;
|
|---|
| 13 |
|
|---|
| 14 | const postprocess = messages => // snapshot files should only be linted with snapshot specific rules
|
|---|
| 15 | messages[0].filter(message => message.ruleId === 'jest/no-large-snapshots');
|
|---|
| 16 |
|
|---|
| 17 | exports.postprocess = postprocess; |
|---|
Note:
See
TracBrowser
for help on using the repository browser.