stylelint / eslint-config-stylelint

Stylelint org's shareable config for eslint
MIT License
59 stars 9 forks source link

Add `n/prefer-global/process` rule #233

Closed ybiquitous closed 10 months ago

ybiquitous commented 10 months ago

Which issue, if any, is this issue related to?

See https://github.com/stylelint/stylelint/pull/7139

Is there anything in the PR that needs further explanation?

Global variables are often harmful. Unlike global variables defined in standard specs (ECMAScript or WHATWG etc.), process is unique to Node.js. This may be a problem when running Stylelint on other platforms.

See https://github.com/eslint-community/eslint-plugin-n/blob/v11.1.0/docs/rules/prefer-global/process.md

ybiquitous commented 10 months ago

https://github.com/stylelint/eslint-config-stylelint/releases/tag/20.0.0 released! 🎉