Skip to content

Commit

Permalink
#cnsqa-1687 eslint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasPan committed Oct 24, 2024
1 parent 6b663a2 commit d5caae3
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export interface LegacyCSSPluginOptions {
*/
class LegacyCSSPlugin implements ImaCliPlugin {
#options: Required<LegacyCSSPluginOptions>;
#logger: ReturnType<typeof createLogger>; //eslint-disable-line no-unused-private-class-members
#logger: ReturnType<typeof createLogger>; // eslint-disable-line no-unused-private-class-members

readonly name = 'LegacyCSSPlugin';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//
import { UserAgent } from '@ima/plugin-useragent';
import { toMockedInstance } from 'to-mock';

Expand Down

0 comments on commit d5caae3

Please sign in to comment.