Compare commits

...

1 Commits

Author SHA1 Message Date
Maxime Beauchemin
b6cf5ffb84 feat(testing): enforce test() over describe() with grandfathered files
Add ESLint rule to ban describe() usage in favor of test() for better test organization. All 474 existing test files using describe() have been grandfathered with eslint-disable comments to avoid disruption while enforcing the new guideline for future tests.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-26 13:26:01 -07:00
476 changed files with 483 additions and 0 deletions

View File

@@ -349,6 +349,14 @@ module.exports = {
},
],
'no-only-tests/no-only-tests': 'error',
'no-restricted-globals': [
'error',
{
name: 'describe',
message:
'Use test() instead of describe() for better test organization',
},
],
'max-classes-per-file': 0,
// temporary rules to help with migration - please re-enable!
'testing-library/await-async-queries': 0,

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -1,3 +1,4 @@
/* eslint-disable no-restricted-globals */
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

Some files were not shown because too many files have changed in this diff Show More