Skip to content

Commit

Permalink
Add 40px size lint rule for Block Editor typography components (WordP…
Browse files Browse the repository at this point in the history
…ress#64591)

* Add 40px size lint rule for Block Editor typography components

* Exclude all test and story files

---------

Co-authored-by: mirka <[email protected]>
Co-authored-by: tyxla <[email protected]>
Co-authored-by: ciampo <[email protected]>
  • Loading branch information
4 people authored and bph committed Aug 31, 2024
1 parent 2067c5e commit 74422d0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ module.exports = {
{
files: [ 'packages/*/src/**/*.[tj]s?(x)' ],
excludedFiles: [
'packages/components/src/**/@(test|stories)/**',
'packages/*/src/**/@(test|stories)/**',
'**/*.@(native|ios|android).js',
],
rules: {
Expand Down Expand Up @@ -316,9 +316,12 @@ module.exports = {
'ComboboxControl',
'CustomSelectControl',
'DimensionControl',
'FontAppearanceControl',
'FontFamilyControl',
'FontSizePicker',
'FormTokenField',
'InputControl',
'LineHeightControl',
'NumberControl',
'RangeControl',
'TextControl',
Expand Down

0 comments on commit 74422d0

Please sign in to comment.