Skip to content

Commit

Permalink
fix: code factor and lint warns
Browse files Browse the repository at this point in the history
  • Loading branch information
steve-lebleu committed Mar 28, 2024
1 parent ad9127f commit d81fd38
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ build
coverage
dist
node_modules
test
test
cypress
4 changes: 2 additions & 2 deletions src/sass/kompletr.demo.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ body {
}

hgroup {
margin: 0 auto 40px auto;
margin: 0 auto 40px;
text-align: center;

img {
margin: 100px auto 20px auto;
margin: 100px auto 20px;
display: block;
max-width: 500px;
}
Expand Down
1 change: 1 addition & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import path from 'path';
import * as url from 'url';
import DashboardPlugin from 'webpack-dashboard/plugin/index.js';

// eslint-disable-next-line compat/compat
const __dirname = url.fileURLToPath(new URL('.', import.meta.url));

export default {
Expand Down
1 change: 1 addition & 0 deletions webpack.config.prod.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import path from 'path';
import * as url from 'url';

// eslint-disable-next-line compat/compat
const __dirname = url.fileURLToPath(new URL('.', import.meta.url));

export default [
Expand Down

0 comments on commit d81fd38

Please sign in to comment.