0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

[ci] format

This commit is contained in:
natemoo-re 2023-09-12 17:52:22 +00:00 committed by astrobot-houston
parent aac51bd00b
commit 93d5bef3e4

View file

@ -1,4 +1,4 @@
const { builtinModules } = require('module')
const { builtinModules } = require('module');
module.exports = {
extends: [
@ -60,11 +60,14 @@ module.exports = {
// 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'],