
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
eslint-plugin-ghost
Advanced tools
Shared eslint configurations, useful plugins & custom rules.
Inside of lib/config you'll find a set of configs for different environments + base.js.
Base.js effectively documents our code style. Please make sure any rules you add come with an explanation!
gstenv
is green. See our Dev Environment docs.git clone
this repo & cd
into it as usualyarn install
to install dependencies.Run yarn link
inside of me, and then run yarn link eslint-plugin-ghost
inside of the project you want to lint.
"lint": "eslint . --ext .js --cache"
.eslintrc.js
file, and add the
following code:module.exports = {
plugins: ['ghost'],
extends: [
'plugin:ghost/[config]',
]
};
[config]
to be E.g. node, browser, test etc depending on what environment you are linting.eslintrc.js
files, nesting them inside the folder they belong to.yarn ship
- yarn ship
Copyright (c) 2013-2023 Ghost Foundation - Released under the MIT license. Ghost and the Ghost Logo are trademarks of Ghost Foundation Ltd. Please see our trademark policy for info on acceptable usage.
FAQs
Shared eslint configurations
The npm package eslint-plugin-ghost receives a total of 17,225 weekly downloads. As such, eslint-plugin-ghost popularity was classified as popular.
We found that eslint-plugin-ghost demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 28 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.