Skip to content

Commit

Permalink
chore: fix eslint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowusr committed Sep 18, 2023
1 parent ca7de5f commit aaab19a
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 7 deletions.
5 changes: 3 additions & 2 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ hot
/lib/static/*.min.js
/lib/static/data.js
/lib/static/sql-wasm.js
/test/func/fixtures/report
/test/func/html-reporter-plugins/*/plugin.js
/test/func/**/report
/test/func/**/reports
/test/func/packages/*/plugin.js
/hermione-report
10 changes: 9 additions & 1 deletion test/func/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,13 @@

module.exports = {
extends: 'gemini-testing/tests',
env: {browser: true}
env: {browser: true},
overrides: [
{
files: ['tests/**/*.hermione.js', 'fixtures/**/*.hermione.js'],
globals: {
expect: 'readonly'
}
}
]
};
1 change: 0 additions & 1 deletion test/func/packages/basic/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
const path = require('path');
const webpack = require('webpack');

module.exports = {
entry: {
Expand Down
1 change: 0 additions & 1 deletion test/func/packages/menu-bar/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
const webpack = require('webpack');
const path = require('path');

module.exports = {
Expand Down
1 change: 0 additions & 1 deletion test/func/packages/redux-with-server/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
const webpack = require('webpack');
const path = require('path');

module.exports = {
Expand Down
1 change: 0 additions & 1 deletion test/func/packages/redux/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
const webpack = require('webpack');
const path = require('path');

module.exports = {
Expand Down

0 comments on commit aaab19a

Please sign in to comment.