Skip to content

Commit

Permalink
chore: tidy up ESLint config (#1894)
Browse files Browse the repository at this point in the history
  • Loading branch information
eglitise authored Jan 12, 2025
1 parent 39411f3 commit 588687d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
10 changes: 1 addition & 9 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
import path from 'node:path';
import {fileURLToPath} from 'node:url';

import appiumConfig from '@appium/eslint-config-appium-ts';
import {includeIgnoreFile} from '@eslint/compat';
import reactPlugin from 'eslint-plugin-react';
import simpleImportSortPlugin from 'eslint-plugin-simple-import-sort';
import globals from 'globals';

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const gitignorePath = path.resolve(__dirname, '.gitignore');

export default [
...appiumConfig,
{
Expand Down Expand Up @@ -45,6 +37,6 @@ export default [
},
{
name: 'Ignores',
ignores: [...includeIgnoreFile(gitignorePath).ignores, '**/*.xml', '**/*.html'],
ignores: ['**/*.xml', '**/*.html'],
},
];
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.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@
"@appium/eslint-config-appium-ts": "1.0.2",
"@appium/fake-driver": "5.7.0",
"@appium/support": "6.0.3",
"@eslint/compat": "1.2.5",
"@types/react": "18.3.18",
"@vitejs/plugin-react": "4.3.4",
"asyncbox": "3.0.0",
Expand Down

0 comments on commit 588687d

Please sign in to comment.