Skip to content

Commit

Permalink
Style(web): Fix lint errors and warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
literat committed Jan 10, 2024
1 parent f8e8653 commit f4e2b5e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions packages/web/.eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ node_modules
# If you compile JavaScript into some output folder, exclude it here
dist
build
public

# Highly recommended to re-include JavaScript dotfiles to lint them
# (This will cause .eslintrc.js to be linted by ESLint 🤘)
Expand Down
1 change: 1 addition & 0 deletions packages/web/src/js/utils/__tests__/Config.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ describe('Config', () => {
const obj = new DummyConfigClass();
const config = {
toggle: true,
// eslint-disable-next-line no-undefined -- testing undefined
parent: undefined,
};

Expand Down
6 changes: 2 additions & 4 deletions packages/web/tests/scss.test.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/**
* @jest-environment node
*/
/* @jest-environment node */

import { sync } from 'glob';
import { resolve } from 'path';
import { runSass } from 'sass-true';
import { sync } from 'glob';
import { pathToFileURL } from 'url';

const importers = [
Expand Down

0 comments on commit f4e2b5e

Please sign in to comment.