@dword-design/eslint-config 6.0.2 → 6.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/create/index.js +4 -2
- package/package.json +2 -2
package/dist/create/index.js
CHANGED
|
@@ -2,12 +2,12 @@ import pathLib from 'node:path';
|
|
|
2
2
|
import { fileURLToPath } from 'node:url';
|
|
3
3
|
import babelParser from '@babel/eslint-parser';
|
|
4
4
|
import defu from '@dword-design/defu';
|
|
5
|
-
import { includeIgnoreFile } from '@eslint/compat';
|
|
6
5
|
import { FlatCompat } from '@eslint/eslintrc';
|
|
7
6
|
import js from '@eslint/js';
|
|
8
7
|
import confusingBrowserGlobals from 'confusing-browser-globals';
|
|
9
8
|
import packageName from 'depcheck-package-name';
|
|
10
9
|
import { defineConfig } from 'eslint/config';
|
|
10
|
+
import gitignore from 'eslint-config-flat-gitignore';
|
|
11
11
|
import importPlugin from 'eslint-plugin-import';
|
|
12
12
|
import eslintPluginJsonc from 'eslint-plugin-jsonc';
|
|
13
13
|
import pluginPlaywright from 'eslint-plugin-playwright';
|
|
@@ -37,7 +37,9 @@ export default () => {
|
|
|
37
37
|
const compat = new FlatCompat({
|
|
38
38
|
baseDirectory: __dirname
|
|
39
39
|
});
|
|
40
|
-
return defineConfig([
|
|
40
|
+
return defineConfig([gitignore({
|
|
41
|
+
strict: false
|
|
42
|
+
}), {
|
|
41
43
|
languageOptions: {
|
|
42
44
|
parser: babelParser,
|
|
43
45
|
parserOptions: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dword-design/eslint-config",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.3",
|
|
4
4
|
"repository": "dword-design/eslint-config",
|
|
5
5
|
"funding": "https://github.com/sponsors/dword-design",
|
|
6
6
|
"license": "MIT",
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"@babel/eslint-parser": "7.27.1",
|
|
26
26
|
"@dword-design/defu": "^1.0.0",
|
|
27
27
|
"@dword-design/eslint-plugin-import-alias": "^5.1.2",
|
|
28
|
-
"@eslint/compat": "^1.2.9",
|
|
29
28
|
"@eslint/eslintrc": "^3.3.1",
|
|
30
29
|
"@eslint/js": "^9.27.0",
|
|
31
30
|
"confusing-browser-globals": "^1.0.11",
|
|
32
31
|
"depcheck-package-name": "^3.0.1",
|
|
33
32
|
"eslint": "^9.27.0",
|
|
33
|
+
"eslint-config-flat-gitignore": "^2.1.0",
|
|
34
34
|
"eslint-config-prettier": "^10.1.5",
|
|
35
35
|
"eslint-import-resolver-babel-module": "^5.3.2",
|
|
36
36
|
"eslint-import-resolver-exports": "1.0.0-beta.5",
|