mirror of
https://github.com/thegeeklab/hugo-geekblog.git
synced 2024-11-21 04:30:40 +00:00
cb45e5a57e
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
23 lines
593 B
JavaScript
23 lines
593 B
JavaScript
import eslint from "@eslint/js";
|
|
import globals from "globals";
|
|
import babelParser from "@babel/eslint-parser";
|
|
import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended";
|
|
|
|
export default [
|
|
eslint.configs.recommended,
|
|
{
|
|
languageOptions: {
|
|
globals: {
|
|
...globals.browser,
|
|
},
|
|
parser: babelParser,
|
|
ecmaVersion: 2022,
|
|
sourceType: "module",
|
|
parserOptions: {
|
|
requireConfigFile: false,
|
|
},
|
|
},
|
|
},
|
|
eslintPluginPrettierRecommended,
|
|
];
|