I'd like to create a build automation that would s...
# sdf
d
I'd like to create a build automation that would scan the suitescript for all
custrecord
,
custbody
, etc ... and ensure it has an equivalent object.xml file in the project. Group project? DM me
m
@darrenhillconsulting I wonder if this would be possible as an eslint rule. It would be a great addition to https://github.com/acdvs/eslint-plugin-suitescript#readme
I'd suggest scanning the manifest dependencies for valid objects as well
d
Hello! Thanks @michoel
Shoot. We're a typescript shop and I think this plugin only lints .js files
m
eslint supports typescript as well, but the rules in the NetSuite plugin might need to be updated to add support.
My main concern would be the performance around scanning the whole file tree in an eslint rule. I'm not sure if it's possible to implement caching and file watchers to improve that