
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
@teachers/eslint-config-tpt-typescript
Advanced tools
Recommended TpT eslint config with typescript. Owned and maintained by Web Platform.
This package currently includes rules that are applicable both for React-based projects and Node backends.
yarn add --dev @teachers/eslint-config-tpt-typescript
Your project should have a .eslintrc.js file to configure ESLint. (If you're using a .json config file, please convert it to .js), that looks like:
// Patch ESLint to allow managing plugins via shared configuration files
require('@teachers/eslint-config-tpt-typescript/eslint-patch');
module.exports = {
// Extend from TPT shared config
extends: '@teachers/tpt-typescript',
// Don't combine with ESLint configs in parent folders
root: true,
// Setup for Typescript
settings: {
'import/resolver': {
typescript: {},
},
}
}
To get Prettier to work with this config, use the following .pretterrc.json
:
{
"singleQuote": true,
"arrowParens": "always"
}
This package follows semantic versioning enforced by the semantic-pr app and uses standard-version to generate changelogs. Note that most rule changes are going to require BREAKING CHANGE (i.e. they might cause existing apps to no longer pass linting). To make a change
yarn release
. Note you need permission to push to master to get it to run. Contact web-platform if you don't have permissions. This script will generate a Changelog, bump the version, commit the change, and run yarn publish
.FAQs
tpt-frontend ESLint config
The npm package @teachers/eslint-config-tpt-typescript receives a total of 0 weekly downloads. As such, @teachers/eslint-config-tpt-typescript popularity was classified as not popular.
We found that @teachers/eslint-config-tpt-typescript demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 94 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
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.