-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
77337f8
commit cd750b8
Showing
7 changed files
with
117 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"configContent": "import globals from "globals"; | ||
import pluginJs from "@eslint/js"; | ||
import json from "@eslint/json"; | ||
|
||
|
||
/** @type {import('eslint').Linter.Config[]} */ | ||
export default [ | ||
{languageOptions: { globals: globals.node }}, | ||
pluginJs.configs.recommended, | ||
{files: ["**/*.json"], language: "json/json", ...json.configs.recommended}, | ||
];", | ||
"configFilename": "eslint.config.js", | ||
"devDependencies": [ | ||
"eslint", | ||
"globals", | ||
"@eslint/js", | ||
"@eslint/json", | ||
], | ||
"installFlags": [ | ||
"-D", | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"configContent": "import json from "@eslint/json"; | ||
|
||
|
||
/** @type {import('eslint').Linter.Config[]} */ | ||
export default [ | ||
{files: ["**/*.json"], language: "json/json", ...json.configs.recommended}, | ||
];", | ||
"configFilename": "eslint.config.js", | ||
"devDependencies": [ | ||
"eslint", | ||
"@eslint/json", | ||
], | ||
"installFlags": [ | ||
"-D", | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"configContent": "import json from "@eslint/json"; | ||
|
||
|
||
/** @type {import('eslint').Linter.Config[]} */ | ||
export default [ | ||
{files: ["**/*.json5"], language: "json/json5", ...json.configs.recommended}, | ||
];", | ||
"configFilename": "eslint.config.js", | ||
"devDependencies": [ | ||
"eslint", | ||
"@eslint/json", | ||
], | ||
"installFlags": [ | ||
"-D", | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"configContent": "import json from "@eslint/json"; | ||
|
||
|
||
/** @type {import('eslint').Linter.Config[]} */ | ||
export default [ | ||
{files: ["**/*.jsonc"], language: "json/jsonc", ...json.configs.recommended}, | ||
];", | ||
"configFilename": "eslint.config.js", | ||
"devDependencies": [ | ||
"eslint", | ||
"@eslint/json", | ||
], | ||
"installFlags": [ | ||
"-D", | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"configContent": "import markdown from "@eslint/markdown"; | ||
|
||
|
||
/** @type {import('eslint').Linter.Config[]} */ | ||
export default [ | ||
...markdown.configs.recommended, | ||
];", | ||
"configFilename": "eslint.config.js", | ||
"devDependencies": [ | ||
"eslint", | ||
"@eslint/markdown", | ||
], | ||
"installFlags": [ | ||
"-D", | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"configContent": "import markdown from "@eslint/markdown"; | ||
|
||
|
||
/** @type {import('eslint').Linter.Config[]} */ | ||
export default [ | ||
...markdown.configs.recommended, | ||
{files: ["**/*.md"], language: "markdown/gfm"}, | ||
];", | ||
"configFilename": "eslint.config.js", | ||
"devDependencies": [ | ||
"eslint", | ||
"@eslint/markdown", | ||
], | ||
"installFlags": [ | ||
"-D", | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters