Skip to content

Commit

Permalink
📦 Update linting devDependencies (#40035)
Browse files Browse the repository at this point in the history
* 📦 Update linting devDependencies

* `amp lint --fix`

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Rozenberg <rodaniel@amp.dev>
  • Loading branch information
renovate[bot] and danielrozenberg authored Jun 3, 2024
1 parent b01f248 commit 2837b9a
Show file tree
Hide file tree
Showing 12 changed files with 116 additions and 106 deletions.
3 changes: 2 additions & 1 deletion extensions/amp-story-auto-ads/0.1/story-ad-localization.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ import LocalizedStringsAr from './_locales/ar.json' assert {type: 'json'}; // lg
import LocalizedStringsDe from './_locales/de.json' assert {type: 'json'}; // lgtm[js/syntax-error]
import LocalizedStringsEnGb from './_locales/en-GB.json' assert {type: 'json'}; // lgtm[js/syntax-error]
import LocalizedStringsEn from './_locales/en.json' assert {type: 'json'}; // lgtm[js/syntax-error]
import LocalizedStringsEs419 from './_locales/es-419.json' assert {type: 'json'}; // lgtm[js/syntax-error]
import LocalizedStringsEs419 from './_locales/es-419.json' assert {type:
'json'}; // lgtm[js/syntax-error]
import LocalizedStringsEs from './_locales/es.json' assert {type: 'json'}; // lgtm[js/syntax-error]
import LocalizedStringsFr from './_locales/fr.json' assert {type: 'json'}; // lgtm[js/syntax-error]
import LocalizedStringsHi from './_locales/hi.json' assert {type: 'json'}; // lgtm[js/syntax-error]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ import {LocalizedStringId_Enum} from '#service/localization/strings';

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

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

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ import {
} from './helpers';

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ import {
} from './helpers';

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import {LocalizationService} from '#service/localization';
import {AmpStoryStoreService} from 'extensions/amp-story/1.0/amp-story-store-service';
import {registerServiceBuilder} from 'src/service-helpers';

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

describes.realWin(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ import {
} from 'extensions/amp-story/1.0/amp-story-store-service';
import {registerServiceBuilder} from 'src/service-helpers';

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import {user} from '#utils/log';

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

import validateProduct from '../../../examples/amp-story/shopping/product.schema.json' assert {type: 'json-schema'}; // lgtm[js/syntax-error]
import validateProduct from '../../../examples/amp-story/shopping/product.schema.json' assert {type:
'json-schema'}; // lgtm[js/syntax-error]
import {
Action,
ShoppingConfigDataDef,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ import '../../../amp-story/1.0/amp-story-page';
import '../amp-story-shopping';
import '../../../amp-story-page-attachment/0.1/amp-story-page-attachment';
import {registerServiceBuilder} from '../../../../src/service-helpers';
import LocalizedStringsEn from '../../../amp-story/1.0/_locales/en.json' assert {type: 'json'}; // lgtm[js/syntax-error]
import LocalizedStringsEn from '../../../amp-story/1.0/_locales/en.json' assert {type:
'json'}; // lgtm[js/syntax-error]
import {
Action,
StateProperty,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import {afterRenderPromise, macroTask} from '#testing/helpers';
import {getLocalizationService} from 'extensions/amp-story/1.0/amp-story-localization-service';
import {AdvancementMode} from 'extensions/amp-story/1.0/story-analytics';

import LocalizedStringsEn from '../../../amp-story/1.0/_locales/en.json' assert {type: 'json'}; // lgtm[js/syntax-error]
import LocalizedStringsEn from '../../../amp-story/1.0/_locales/en.json' assert {type:
'json'}; // lgtm[js/syntax-error]
import {
Action,
AmpStoryStoreService,
Expand Down
Loading

0 comments on commit 2837b9a

Please sign in to comment.