Skip to content

Commit

Permalink
chore(deps): update dependency eslint to v9 (#524)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
  • Loading branch information
renovate[bot] and xoxys committed Aug 28, 2024
1 parent 29ac12a commit cb45e5a
Show file tree
Hide file tree
Showing 11 changed files with 209 additions and 173 deletions.
13 changes: 0 additions & 13 deletions .eslintrc.json

This file was deleted.

1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lts/*
22 changes: 22 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
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,
];
1 change: 1 addition & 0 deletions exampleSite/config/_default/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,5 @@ enableRobotsTXT: true
security:
exec:
allow:
- "^git$"
- "^asciidoctor$"
Loading

0 comments on commit cb45e5a

Please sign in to comment.