
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
@gilt-tech/eslint-config-gilt-base
Advanced tools
This package provides Gilt's base JS .eslintrc as an extensible shared config.
We export two ESLint configurations for your usage.
Our default export contains all of our ESLint rules, including ECMAScript 6+. It requires eslint
and eslint-plugin-import
.
npm info "@gilt-tech/eslint-config-gilt-base@latest" peerDependencies
Linux/OSX users can simply run
(
export PKG=@gilt-tech/eslint-config-gilt-base;
npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG@latest"
)
Which produces and runs a command like:
npm install --save-dev @gilt-tech/eslint-config-gilt-base eslint@^#.#.# eslint-plugin-import@^#.#.#
Windows users can either install all the peer dependencies manually, or use the install-peerdeps cli tool.
npm install -g install-peerdeps
install-peerdeps --dev @gilt-tech/eslint-config-gilt-base
The cli will produce and run a command like:
npm install --save-dev @gilt-tech/eslint-config-gilt-base eslint@^#.#.# eslint-plugin-import@^#.#.#
"extends": "gilt-base"
to your .eslintrcLints ES5 and below. Requires eslint
and eslint-plugin-import
.
npm info "@gilt-tech/eslint-config-gilt-base@latest" peerDependencies
Linux/OSX users can simply run
(
export PKG=@gilt-tech/eslint-config-gilt-base;
npm info "$PKG" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG"
)
Which produces and runs a command like:
npm install --save-dev @gilt-tech/eslint-config-gilt-base eslint@^3.0.1 eslint-plugin-import@^1.10.3
"extends": "gilt-base/legacy"
to your .eslintrcSee Gilt's overarching ESLint config, Gilt's Javascript styleguide, and the ESlint config docs for more information.
Consider adding test cases if you're making complicated rules changes, like anything involving regexes. Perhaps in a distant future, we could use literate programming to structure our README as test cases for our .eslintrc?
You can run tests with npm test
.
You can make sure this module lints with itself using npm run lint
.
FAQs
Gilt's base JS ESLint config
The npm package @gilt-tech/eslint-config-gilt-base receives a total of 0 weekly downloads. As such, @gilt-tech/eslint-config-gilt-base popularity was classified as not popular.
We found that @gilt-tech/eslint-config-gilt-base demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.