Skip to content

Commit 0ed054b

Browse files
authored
Fix unicorn/prevent-abbreviations ESLint rule violations (#861)
1 parent 736debf commit 0ed054b

31 files changed

+44
-44
lines changed

eslint.config.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export default typescriptEslint.config(
9494
'unicorn/no-null': 'off',
9595
'unicorn/no-useless-undefined': 'off', // conflicts with consistent-return
9696
'unicorn/prevent-abbreviations': [
97-
'warn',
97+
'error',
9898
{
9999
replacements: {
100100
prop: false,

src/prop-types/any.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { PropOptionsGenerator } from '../types';
2-
import { propOptionsGenerator } from '../util';
2+
import { propOptionsGenerator } from '../utilities';
33
import type { Validator } from '../validators';
44

55
/**

src/prop-types/array.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { PropOptionsGenerator } from '../types';
2-
import { propOptionsGenerator } from '../util';
2+
import { propOptionsGenerator } from '../utilities';
33
import type { Validator } from '../validators';
44

55
/**

src/prop-types/boolean.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { PropOptionsGenerator } from '../types';
2-
import { propOptionsGenerator } from '../util';
2+
import { propOptionsGenerator } from '../utilities';
33
import type { Validator } from '../validators';
44

55
/**

src/prop-types/date.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { PropOptionsGenerator, PropType } from '../types';
2-
import { propOptionsGenerator } from '../util';
2+
import { propOptionsGenerator } from '../utilities';
33
import type { Validator } from '../validators';
44

55
/**

src/prop-types/instanceOf.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { Constructor, PropOptionsGenerator } from '../types';
2-
import { propOptionsGenerator } from '../util';
2+
import { propOptionsGenerator } from '../utilities';
33
import type { Validator } from '../validators';
44
import { isInstanceOf } from '../validators';
55

src/prop-types/integer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { PropOptionsGenerator } from '../types';
2-
import { propOptionsGenerator } from '../util';
2+
import { propOptionsGenerator } from '../utilities';
33
import type { Validator } from '../validators';
44
import { isInteger } from '../validators';
55

src/prop-types/number.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { PropOptionsGenerator, PropType } from '../types';
2-
import { propOptionsGenerator } from '../util';
2+
import { propOptionsGenerator } from '../utilities';
33
import type { Validator } from '../validators';
44

55
/**

src/prop-types/object.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { PropOptionsGenerator } from '../types';
2-
import { propOptionsGenerator } from '../util';
2+
import { propOptionsGenerator } from '../utilities';
33
import type { Validator } from '../validators';
44

55
/**

src/prop-types/oneOf.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { PropConstructor, PropOptionsGenerator, PropType } from '../types';
2-
import { propOptionsGenerator } from '../util';
2+
import { propOptionsGenerator } from '../utilities';
33
import type { Validator } from '../validators';
44
import { isOneOf } from '../validators';
55

0 commit comments

Comments
 (0)