Skip to content

Commit

Permalink
📦 Update linting devDependencies (#40040)
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 <[email protected]>
  • Loading branch information
renovate[bot] and danielrozenberg authored Jun 11, 2024
1 parent f1962f1 commit 3c62842
Show file tree
Hide file tree
Showing 12 changed files with 114 additions and 124 deletions.
3 changes: 1 addition & 2 deletions extensions/amp-story-auto-ads/0.1/story-ad-localization.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ 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,8 +13,7 @@ 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,8 +12,7 @@ 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,8 +13,7 @@ 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,8 +4,7 @@ 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,8 +13,7 @@ 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,8 +4,7 @@ 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,8 +11,7 @@ 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,8 +7,7 @@ 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 3c62842

Please sign in to comment.