Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@ebarooni/swiftlint-config
Advanced tools
This package provides custom SwiftLint configurations for linting and formatting swift files.
Install SwiftLint
brew install swiftlint
The peer dependencies might need to be installed separately. To install the peer dependencies run the following command:
npm i -D swiftlint
Add a script to your project's package.json
:
{
"scripts": {
"swiftlint": "node-swiftlint"
}
}
To install the package, run the following command:
npm i -D @ebarooni/swiftlint-config
To use the configuration in a project, create a swiftlint.config.js
file:
module.exports = {
...require("@ebarooni/swiftlint-config"),
included: ["${PWD}/ios"],
excluded: ["${PWD}/node_modules", "${PWD}/ios/Pods"],
};
The following helper scripts can be added to package.json
:
{
"scripts": {
"lint:swift": "npm run swiftlint -- lint",
"fmt:swift": "npm run swiftlint -- --fix --format"
}
}
To extend the configuration or overwrite some properties from the shared configuration, import the file in a swiftlint.config.js
file and export the modifications, e.g:
module.exports = {
...require("@ebarooni/swiftlint-config"),
// override options here
};
FAQs
A standard shareable config for SwiftLint
We found that @ebarooni/swiftlint-config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.