We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8020937 commit 98a36a3Copy full SHA for 98a36a3
eslint.config.js
@@ -3,12 +3,13 @@ import { States } from '@patternfly/eslint-config-elements';
3
import tseslint from 'typescript-eslint';
4
import pfe from '@patternfly/eslint-config-elements';
5
import pfePlugin from '@patternfly/eslint-plugin-elements';
6
+import { fileURLToPath } from 'node:url';
7
8
import { includeIgnoreFile } from '@eslint/compat';
9
10
export default tseslint.config(
11
...pfe,
- includeIgnoreFile(new URL('.gitignore', import.meta.url).pathname),
12
+ includeIgnoreFile(fileURLToPath(new URL('.gitignore', import.meta.url))),
13
{
14
name: 'local/ignores',
15
ignores: [
0 commit comments