
Product
Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
@aller/ts-config-aller
Advanced tools
Aller Media's common configuration files for TypeScript projects. These include:
Get started by running this command in the root of your project:
npm install --save-dev @aller/ts-config-aller
cp node_modules/@aller/ts-config-aller/tsconfig.example.json tsconfig.json
cp node_modules/@aller/ts-config-aller/tslint.example.json tslint.json
The tsc
compiler expects a configuration file in the root directory of the project:
{
"extends": "./node_modules/@aller/ts-config-aller/tsconfig.json",
"files": [
...
],
"include": [
...
],
"compilerOptions": {
"outDir": "dist"
}
}
The sections files
and include
determine which files or locations will be picked up by the compiler. Please refer to the official documentation for detailed examples.
The configuration for TSlint was originally taken from Reader Critics and then extended/modified with some of the rules that already have an equivalent in the ESlint configurations which are used in our department:
{
"extends": "@aller/ts-config-aller"
}
Most of the rules are actually equal to those of Airbnb with the exception of a few which we found annoying. Additionally, we don't use custom rulesets.
Copyright © 2017 DB Medialab / Aller Media AS (Oslo, Norway)
Licensed under the MIT License.
FAQs
Aller Media's TypeScript project config
We found that @aller/ts-config-aller demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 11 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 Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.