Skip to content

Warning: File descriptor 39 closed but not opened in unmanaged mode #75

@rakleed

Description

@rakleed

I upgraded to Prettier 3.6.0, and when running it with prettier . --check --experimental-cli I initially got this warning for vite.config.js, but changed it, and now I get the same warning for stylelint.config.js.

- stylelint.config.js(node:87032) Warning: File descriptor 39 closed but not opened in unmanaged mode
(Use `node --trace-warnings ...` to show where the warning was created)
Checking formatting...
All matched files use Prettier code style!

Example of my stylelint.config.js:

/** @type { import('stylelint').Config } */
const config = {
  extends: ['stylelint-config-idiomatic-order', 'stylelint-config-standard'],
  ignorePath: '.gitignore',
  overrides: [
    {
      customSyntax: 'postcss-styled-syntax',
      files: ['**/*.js', '**/*.jsx'],
    },
  ],
  rules: {
    'declaration-block-no-redundant-longhand-properties': [
      true,
      {
        ignoreLonghands: ['top', 'right', 'bottom', 'left'],
      },
    ],
  },
};

export default config;

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions