
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
@diesdasdigital/linting
Advanced tools
@diesdasdigital/linting
A reusable set of linting rules for use with any Diesdas internal project which uses Stylelint and/or Eslint.
Install @diesdasdigital/linting
, stylelint
and eslint
to your project.
yarn add --dev @diesdasdigital/linting stylelint eslint
Create a new stylelint.config.js
file at the root of your project, which
extends @diesdasdigital/linting/stylelint-config
.
// stylelint.config.js
module.exports = {
extends: "@diesdasdigital/linting/stylelint-config",
rules: {
// Your project-specific rules and overrides go here
},
};
Create a new .eslintrc.js
file at the root of your project, which extends
@diesdasdigital/linting/eslint-config
.
// .eslintrc.js
module.exports = {
extends: ["./node_modules/@diesdasdigital/linting/eslint-config"],
rules: {
// Your project-specific rules and overrides go here
},
};
You're done!
This project uses the
npm-publish-action
to
automatically publish new releases to NPM and tag them on Github. To trigger a
new release, then commit a change to the version
number in package.json
with
the commit message Release x.x.x
(but replace x.x.x
with the new version
number). Push the commit to origin/main
and then view the status of the
automated release
here.
FAQs
Stylelint config default for Diesdas internal projects
The npm package @diesdasdigital/linting receives a total of 0 weekly downloads. As such, @diesdasdigital/linting popularity was classified as not popular.
We found that @diesdasdigital/linting demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.