Disable typography linter in tests (#3114)

* Disable typography linter in tests

* Add release notes

* Remove unused type ignore
This commit is contained in:
Julian Dominguez-Schatz
2024-08-03 11:05:30 -04:00
committed by GitHub
parent 14f29941b0
commit 1b4c4319e1
3 changed files with 18 additions and 2 deletions

View File

@@ -1,4 +1,3 @@
/* eslint-disable rulesdir/typography */
const path = require('path');
const rulesDirPlugin = require('eslint-plugin-rulesdir');
@@ -332,6 +331,18 @@ module.exports = {
'react-hooks/exhaustive-deps': 'off',
},
},
{
files: [
'.eslintrc.js',
'*.test.js',
'*.test.ts',
'*.test.jsx',
'*.test.tsx',
],
rules: {
'rulesdir/typography': 'off',
},
},
],
settings: {
'import/resolver': {

View File

@@ -30,7 +30,6 @@ const schemaConfig = {
v_transactions2: (_, publicFields) => {
const fields = publicFields({
// eslint-disable-next-line rulesdir/typography
transfer_id: 'COERCE(transfer_id, "foo")',
});

View File

@@ -0,0 +1,6 @@
---
category: Maintenance
authors: [jfdoming]
---
Disable typography linter in tests