New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ggascoigne/lint-staged-config

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ggascoigne/lint-staged-config - npm Package Compare versions

Comparing version 1.4.0 to 1.5.0

3

index.js

@@ -1,2 +0,1 @@

/* eslint-disable sonarjs/no-duplicate-string */
module.exports = {

@@ -8,2 +7,2 @@ 'CHANGELOG.md': ['prettier --cache --write'],

'*.{css,scss}': ['prettier --cache --write', 'stylelint --cache --fix'],
};
}
{
"name": "@ggascoigne/lint-staged-config",
"version": "1.4.0",
"version": "1.5.0",
"description": "A shareable lint-staged configuration for projects.",

@@ -35,3 +35,3 @@ "main": "index.js",

},
"gitHead": "e854820109272ebc4a23eac5ece79e35a8690844"
"gitHead": "9fb62d433e3e469b772b9793e4c0efd5e482182e"
}

@@ -1,12 +0,8 @@

/* eslint-disable security/detect-non-literal-fs-filename */
const fs = require('node:fs');
const path = require('node:path');
const fs = require('node:fs')
const path = require('node:path')
const filePath = path.join(process.env.INIT_CWD, 'lint-staged.config.js');
const filePath = path.join(process.env.INIT_CWD, 'lint-staged.config.js')
if (!fs.existsSync(filePath)) {
fs.writeFileSync(
filePath,
`module.exports = require('@ggascoigne/lint-staged-config');`
);
fs.writeFileSync(filePath, `module.exports = require('@ggascoigne/lint-staged-config');`)
}
module.exports = {
'*.{yml,yaml}': ['prettier --cache --write', 'yamllint --strict .'],
'.github/workflows/*.{yml,yaml}': ['actionlint'],
};
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc