Mads Rasmussen
3df85ff695
update rule name
2023-11-20 09:39:47 +01:00
Mads Rasmussen
d65935323f
add eslint rule to ensure exported const are prefixed with UMB_
2023-11-20 09:39:47 +01:00
Mads Rasmussen
8b92d75888
split eslint rules
2023-11-07 13:15:04 +01:00
Jacob Overgaard
170169a2ca
rename eslint rule
2023-11-06 10:55:59 +01:00
Jacob Overgaard
d9cb5e98eb
extend explanation
2023-11-06 10:55:59 +01:00
Jacob Overgaard
eb7c952074
move exceptions to .eslintrc config
2023-11-06 10:55:59 +01:00
Jacob Overgaard
2a119541e3
add msw as exemption
2023-11-06 10:55:59 +01:00
Jacob Overgaard
56eb389a7d
add exemptions to rule
2023-11-06 10:55:59 +01:00
Jacob Overgaard
a2c45e5fa4
add rule to detect erroneous external imports
2023-11-06 10:55:59 +01:00
Jacob Overgaard
ca04804886
update eslint rule for '.js' imports to also include exports that reference a file
2023-08-03 14:01:04 +02:00
Niels Lyngsø
90aea47424
rule
2023-05-26 00:34:42 +02:00
Niels Lyngsø
628c6954d3
comment
2023-05-25 15:16:31 +02:00
Niels Lyngsø
0f5582cf00
eslint rule for imports
2023-05-25 15:11:37 +02:00
Mads Rasmussen
30db97027f
more import updates
2023-05-19 08:38:34 +02:00
Niels Lyngsø
f5894e26c2
Put style property of Elements below render method ( #661 )
...
* Put style property of Elements below render method
* the rule
* reverse this
* move styles
* only warn
---------
Co-authored-by: Mads Rasmussen <madsr@hey.com >
2023-04-21 12:01:09 +00:00
Mads Rasmussen
cd9a3a3275
add eslint to to ensure umb prefix on classes
2023-04-16 20:27:07 +02:00
Jacob Overgaard
27499d1344
add local eslint rule to force certain imports from router-slot
2023-04-04 16:47:44 +02:00
Niels Lyngsø
f8b8f2c259
updated models ( #639 )
...
* updated models
* potential fix of eslint
* fix eslint rules
* first batch
* dictionary corrections
* batch 2
* batch 3
* tiny correction
* batch 4
* rename key to id internal models
* batch 5
* batch 6
* correct LogLevelCountsReponseModel
* batch 7
* batch 8
* batch 9
* health check data
* _createTableItems
* revert to key for checkbox list
* batch 9
2023-04-04 13:19:19 +02:00
Mads Rasmussen
70c2f70420
Chore: Eslint rule to enforce element suffix ( #625 )
...
* add eslint rule to enforce element suffix on elements
* remove fixer
* rename first round of elements
* add element to element class name
* add element suffix
* rename element
* add element to UmbControllerHost instead of interface
* update imports after merge
* remove fixable flag
* fix after merge
2023-03-29 17:56:39 +02:00
Niels Lyngsø
dfbd83c464
lint fixes
2023-03-29 16:05:00 +02:00
Niels Lyngsø
c4b12554ce
corrected imports
2023-03-23 23:28:29 +01:00
Niels Lyngsø
fadc5580d0
rule to ensure libs imports
2023-03-23 23:06:29 +01:00
Jacob Overgaard
264fc9c910
add definitions for rule to check for absolute imports from the src folder
2023-01-23 11:01:51 +01:00
Jacob Overgaard
4924e4a396
revert accidental change to suggestion
2023-01-04 10:34:40 +01:00
Jacob Overgaard
693d9a7fbd
setup eslint to support tryExecute
2023-01-04 10:23:44 +01:00
Jacob Overgaard
c1e45deef7
optimise check of tryExecuteAndNotify
2023-01-04 10:05:03 +01:00
Jacob Overgaard
fa9e436b68
do not be so strict about awaiting tryExecuteAndNotify
2023-01-04 10:00:00 +01:00
Jacob Overgaard
b18b5a5c1a
add new local eslint rule to catch direct usage of resources without tryExecuteAndNotify
2023-01-03 15:51:37 +01:00
Jacob Overgaard
a74f9886f8
import types
2022-08-25 15:58:27 +02:00
Jacob Overgaard
2c9ba6f81c
add custom eslint rule to check for correct type imports
2022-08-25 12:42:15 +02:00