diff --git a/eslint.config.js b/eslint.config.js index e49c4f61..e8933ecd 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -184,7 +184,6 @@ module.exports = typescriptEslint.config( '@typescript-eslint/no-non-null-assertion': 'off', '@typescript-eslint/no-explicit-any': 'warn', '@typescript-eslint/no-empty-object-type': 'off', - '@typescript-eslint/no-unused-expressions': 'off', '@typescript-eslint/ban-ts-comment': [ 'error', { 'ts-expect-error': false }, diff --git a/package-lock.json b/package-lock.json index a005c094..9bc4a9d0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31,7 +31,7 @@ "@typescript-eslint/parser": "^8.11.0", "eslint": "^9.13.0", "eslint-config-prettier": "^9.1.0", - "eslint-plugin-import": "^2.31.0", + "eslint-plugin-import": "2.31.0", "eslint-plugin-jest": "^28.8.3", "eslint-plugin-jsdoc": "^50.4.3", "eslint-plugin-prettier": "^5.2.1", diff --git a/packages/cli-plugin-legacy-css/src/cli-plugin/LegacyCSSPlugin.ts b/packages/cli-plugin-legacy-css/src/cli-plugin/LegacyCSSPlugin.ts index 4fc87459..e985236e 100644 --- a/packages/cli-plugin-legacy-css/src/cli-plugin/LegacyCSSPlugin.ts +++ b/packages/cli-plugin-legacy-css/src/cli-plugin/LegacyCSSPlugin.ts @@ -25,7 +25,7 @@ export interface LegacyCSSPluginOptions { */ class LegacyCSSPlugin implements ImaCliPlugin { #options: Required; - #logger: ReturnType; //eslint-disable-line no-unused-private-class-members + #logger: ReturnType; // eslint-disable-line no-unused-private-class-members readonly name = 'LegacyCSSPlugin'; diff --git a/packages/plugin-analytic-fb-pixel/src/FacebookPixelAnalytic.ts b/packages/plugin-analytic-fb-pixel/src/FacebookPixelAnalytic.ts index 358fdc97..c2c932a4 100644 --- a/packages/plugin-analytic-fb-pixel/src/FacebookPixelAnalytic.ts +++ b/packages/plugin-analytic-fb-pixel/src/FacebookPixelAnalytic.ts @@ -225,7 +225,7 @@ export class FacebookPixelAnalytic extends AbstractAnalytic { const fbAnalytic = (window[FB_ROOT_VARIABLE] = function ( ...rest: unknown[] ) { - fbAnalytic.callMethod + fbAnalytic.callMethod // eslint-disable-line @typescript-eslint/no-unused-expressions ? fbAnalytic.callMethod(...rest) : fbAnalytic.queue.push(...rest); }) as FbAnalyiticExtended; diff --git a/packages/plugin-atoms/src/__tests__/ComponentPositionsSpec.js b/packages/plugin-atoms/src/__tests__/ComponentPositionsSpec.js index 0153d9e5..0aab1ff8 100644 --- a/packages/plugin-atoms/src/__tests__/ComponentPositionsSpec.js +++ b/packages/plugin-atoms/src/__tests__/ComponentPositionsSpec.js @@ -1,3 +1,4 @@ +// import { UserAgent } from '@ima/plugin-useragent'; import { toMockedInstance } from 'to-mock';