From 93d5bef3e4b3ae2f0e6698b89366a0b45cbb1d26 Mon Sep 17 00:00:00 2001 From: natemoo-re Date: Tue, 12 Sep 2023 17:52:22 +0000 Subject: [PATCH] [ci] format --- .eslintrc.cjs | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 0e247943a..750f56aba 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -1,4 +1,4 @@ -const { builtinModules } = require('module') +const { builtinModules } = require('module'); module.exports = { extends: [ @@ -56,15 +56,18 @@ module.exports = { 'prefer-const': 'off', }, overrides: [ - { + { // Ensure Node builtins aren't included in Astro's server runtime files: ['packages/astro/src/runtime/**/*.ts'], rules: { - "no-restricted-imports": ["error", { - "paths": [...builtinModules], - "patterns": ["node:*"] - }], - } + 'no-restricted-imports': [ + 'error', + { + paths: [...builtinModules], + patterns: ['node:*'], + }, + ], + }, }, { files: ['packages/**/test/*.js', 'packages/**/*.js'],