Skip to content

Commit 1408ba0

Browse files
amp lint --fix
1 parent bace939 commit 1408ba0

File tree

10 files changed

+10
-20
lines changed

10 files changed

+10
-20
lines changed

extensions/amp-story-auto-ads/0.1/story-ad-localization.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ import LocalizedStringsAr from './_locales/ar.json' assert {type: 'json'}; // lg
99
import LocalizedStringsDe from './_locales/de.json' assert {type: 'json'}; // lgtm[js/syntax-error]
1010
import LocalizedStringsEnGb from './_locales/en-GB.json' assert {type: 'json'}; // lgtm[js/syntax-error]
1111
import LocalizedStringsEn from './_locales/en.json' assert {type: 'json'}; // lgtm[js/syntax-error]
12-
import LocalizedStringsEs419 from './_locales/es-419.json' assert {type:
13-
'json'}; // lgtm[js/syntax-error]
12+
import LocalizedStringsEs419 from './_locales/es-419.json' assert {type: 'json'}; // lgtm[js/syntax-error]
1413
import LocalizedStringsEs from './_locales/es.json' assert {type: 'json'}; // lgtm[js/syntax-error]
1514
import LocalizedStringsFr from './_locales/fr.json' assert {type: 'json'}; // lgtm[js/syntax-error]
1615
import LocalizedStringsHi from './_locales/hi.json' assert {type: 'json'}; // lgtm[js/syntax-error]

extensions/amp-story-interactive/0.1/interactive-disclaimer.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ import {LocalizedStringId_Enum} from '#service/localization/strings';
1313

1414
import {createShadowRootWithStyle} from 'extensions/amp-story/1.0/utils';
1515

16-
import DisclaimerBackendsList from './disclaimer-backends-list.json' assert {type:
17-
'json'}; // lgtm[js/syntax-error]
16+
import DisclaimerBackendsList from './disclaimer-backends-list.json' assert {type: 'json'}; // lgtm[js/syntax-error]
1817

1918
import {CSS} from '../../../build/amp-story-interactive-disclaimer-0.1.css';
2019

extensions/amp-story-interactive/0.1/test/test-amp-story-interactive-img-quiz.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ import {
1212
} from './helpers';
1313

1414
import {registerServiceBuilder} from '../../../../src/service-helpers';
15-
import LocalizedStringsEn from '../../../amp-story/1.0/_locales/en.json' assert {type:
16-
'json'}; // lgtm[js/syntax-error]
15+
import LocalizedStringsEn from '../../../amp-story/1.0/_locales/en.json' assert {type: 'json'}; // lgtm[js/syntax-error]
1716
import {AmpStoryStoreService} from '../../../amp-story/1.0/amp-story-store-service';
1817
import {AmpStoryInteractiveImgQuiz} from '../amp-story-interactive-img-quiz';
1918

extensions/amp-story-interactive/0.1/test/test-amp-story-interactive-quiz.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ import {
1313
} from './helpers';
1414

1515
import {registerServiceBuilder} from '../../../../src/service-helpers';
16-
import LocalizedStringsEn from '../../../amp-story/1.0/_locales/en.json' assert {type:
17-
'json'}; // lgtm[js/syntax-error]
16+
import LocalizedStringsEn from '../../../amp-story/1.0/_locales/en.json' assert {type: 'json'}; // lgtm[js/syntax-error]
1817
import {AmpStoryStoreService} from '../../../amp-story/1.0/amp-story-store-service';
1918
import {AmpStoryInteractiveQuiz} from '../amp-story-interactive-quiz';
2019

extensions/amp-story-page-attachment/0.1/test/test-amp-story-open-page-attachment.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ import {LocalizationService} from '#service/localization';
44
import {AmpStoryStoreService} from 'extensions/amp-story/1.0/amp-story-store-service';
55
import {registerServiceBuilder} from 'src/service-helpers';
66

7-
import LocalizedStringsEn from '../../../amp-story/1.0/_locales/en.json' assert {type:
8-
'json'}; // lgtm[js/syntax-error]
7+
import LocalizedStringsEn from '../../../amp-story/1.0/_locales/en.json' assert {type: 'json'}; // lgtm[js/syntax-error]
98
import {AmpStoryPageAttachment} from '../amp-story-page-attachment';
109

1110
describes.realWin(

extensions/amp-story-page-attachment/0.1/test/test-amp-story-page-attachment.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ import {
1313
} from 'extensions/amp-story/1.0/amp-story-store-service';
1414
import {registerServiceBuilder} from 'src/service-helpers';
1515

16-
import LocalizedStringsEn from '../../../amp-story/1.0/_locales/en.json' assert {type:
17-
'json'}; // lgtm[js/syntax-error]
16+
import LocalizedStringsEn from '../../../amp-story/1.0/_locales/en.json' assert {type: 'json'}; // lgtm[js/syntax-error]
1817
import {StoryAnalyticsService} from '../../../amp-story/1.0/story-analytics';
1918
import {AmpStoryPageAttachment} from '../amp-story-page-attachment';
2019

extensions/amp-story-shopping/0.1/amp-story-shopping-config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ import {user} from '#utils/log';
44

55
import {getElementConfig} from 'extensions/amp-story/1.0/request-utils';
66

7-
import validateProduct from '../../../examples/amp-story/shopping/product.schema.json' assert {type:
8-
'json-schema'}; // lgtm[js/syntax-error]
7+
import validateProduct from '../../../examples/amp-story/shopping/product.schema.json' assert {type: 'json-schema'}; // lgtm[js/syntax-error]
98
import {
109
Action,
1110
ShoppingConfigDataDef,

extensions/amp-story-shopping/0.1/test/test-amp-story-shopping-attachment.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ import '../../../amp-story/1.0/amp-story-page';
1111
import '../amp-story-shopping';
1212
import '../../../amp-story-page-attachment/0.1/amp-story-page-attachment';
1313
import {registerServiceBuilder} from '../../../../src/service-helpers';
14-
import LocalizedStringsEn from '../../../amp-story/1.0/_locales/en.json' assert {type:
15-
'json'}; // lgtm[js/syntax-error]
14+
import LocalizedStringsEn from '../../../amp-story/1.0/_locales/en.json' assert {type: 'json'}; // lgtm[js/syntax-error]
1615
import {
1716
Action,
1817
StateProperty,

extensions/amp-story-subscriptions/0.1/test/test-amp-story-subscriptions.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ import {afterRenderPromise, macroTask} from '#testing/helpers';
77
import {getLocalizationService} from 'extensions/amp-story/1.0/amp-story-localization-service';
88
import {AdvancementMode} from 'extensions/amp-story/1.0/story-analytics';
99

10-
import LocalizedStringsEn from '../../../amp-story/1.0/_locales/en.json' assert {type:
11-
'json'}; // lgtm[js/syntax-error]
10+
import LocalizedStringsEn from '../../../amp-story/1.0/_locales/en.json' assert {type: 'json'}; // lgtm[js/syntax-error]
1211
import {
1312
Action,
1413
AmpStoryStoreService,

testing/init-tests-helpers.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ import {flush as flushPreactEffects} from './preact';
3636
import {TestConfig} from './test-config';
3737
import {installYieldIt} from './yield';
3838

39-
import AMP_CONFIG from '../build-system/global-configs/prod-config.json' assert {type:
40-
'json'}; // lgtm[js/syntax-error]
39+
import AMP_CONFIG from '../build-system/global-configs/prod-config.json' assert {type: 'json'}; // lgtm[js/syntax-error]
4140
import {setDefaultBootstrapBaseUrlForTesting} from '../src/3p-frame';
4241
import {activateChunkingForTesting} from '../src/chunk';
4342
import {resetAccumulatedErrorMessagesForTesting} from '../src/error-reporting';

0 commit comments

Comments
 (0)