
Security News
arXiv Is Rate Limiting Authors Following a Flood of AI Slop Submissions
arXiv now limits authors to two submissions a month as AI slop overwhelms moderators, delays good papers, and sparks debate over applying the limit to everyone.
@testgorilla/tgo-linting
Advanced tools
Linting rules and code quality standards for TestGorilla projects.
npm install @testgorilla/tgo-linting @angular-eslint/template-parser --save-dev
This package supports both modern flat config (ESLint 9+) and legacy config formats (ESLint 8.x and below).
Recommended approach:
// eslint.config.js
import tgoPlugin from '@testgorilla/tgo-linting';
export default [
tgoPlugin.configs.recommended,
// Your other configurations
];
Manual configuration:
// eslint.config.js
import tgoPlugin from '@testgorilla/tgo-linting';
export default [
{
plugins: {
tgo: tgoPlugin,
},
rules: {
'tgo/require-data-testid': 'warn',
},
},
];
Using the legacy preset:
// .eslintrc.js
const { legacy } = require('@testgorilla/tgo-linting');
module.exports = {
// Your base config
extends: [
// Your other extends
],
plugins: ['tgo'],
overrides: [
{
files: ['*.html'],
parser: '@angular-eslint/template-parser',
...legacy,
},
],
};
Manual configuration:
// .eslintrc.js
module.exports = {
plugins: ['tgo'],
extends: [
// Your other extends
],
overrides: [
{
files: ['*.html'],
parser: '@angular-eslint/template-parser',
rules: {
'tgo/require-data-testid': 'warn',
},
},
],
};
tgo/require-data-testid rule only works with HTML/Angular templates. You must configure @angular-eslint/template-parser for .html files.@angular-eslint, the template parser is usually already configured for HTML files in your overrides.tgo/require-data-testidEnsures that specific HTML elements have a data-testid attribute for testing purposes. This makes it easier to write stable E2E tests by providing consistent selectors.
Severity: warn (in recommended config)
Category: Testing Best Practices
By default, this rule checks the following elements:
buttonmat-checkboxinputmat-radio-buttonmat-radio-grouph1table, header-table, mat-tableimgtextareang-selectvideoapp-tgo-choicetestgorilla-confirm-dialogmat-form-fieldtgo-checkout-messagemat-dialog-actionsui-buttonYou can customize which elements to check:
{
rules: {
'tgo/require-data-testid': ['warn', {
tags: ['button', 'input', 'custom-element']
}]
}
}
❌ Incorrect
<button>Click me</button>
<input type="text" />
✅ Correct
<button data-testid="submit-button">Click me</button>
<input type="text" data-testid="email-input" />
nx build tgo-linting
nx test tgo-linting
nx lint tgo-linting
PROPRIETARY - © TestGorilla
FAQs
Linting rules and code quality standards for TestGorilla projects
The npm package @testgorilla/tgo-linting receives a total of 239 weekly downloads. As such, @testgorilla/tgo-linting popularity was classified as not popular.
We found that @testgorilla/tgo-linting demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.

Security News
arXiv now limits authors to two submissions a month as AI slop overwhelms moderators, delays good papers, and sparks debate over applying the limit to everyone.

Research
/Security News
A new GhostAction wave hits hundreds of GitHub repos, expanding CI/CD secret theft to cloud and AI credentials in source code and git history.

Research
/Security News
Tensorlake npm SDK version 0.5.144 was compromised in a ChainDrop / Shai-Hulud attack, delivering credential-stealing malware.