mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-11 20:44:32 -05:00
Disable typography linter in tests (#3114)
* Disable typography linter in tests * Add release notes * Remove unused type ignore
This commit is contained in:
committed by
GitHub
parent
14f29941b0
commit
1b4c4319e1
13
.eslintrc.js
13
.eslintrc.js
@@ -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': {
|
||||
|
||||
@@ -30,7 +30,6 @@ const schemaConfig = {
|
||||
|
||||
v_transactions2: (_, publicFields) => {
|
||||
const fields = publicFields({
|
||||
// eslint-disable-next-line rulesdir/typography
|
||||
transfer_id: 'COERCE(transfer_id, "foo")',
|
||||
});
|
||||
|
||||
|
||||
6
upcoming-release-notes/3114.md
Normal file
6
upcoming-release-notes/3114.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Maintenance
|
||||
authors: [jfdoming]
|
||||
---
|
||||
|
||||
Disable typography linter in tests
|
||||
Reference in New Issue
Block a user