Skip to content

style guide and development tools for pg related modules #2172

Open
@jeromew

Description

@jeromew

Hello @brianc,

I am working with @pspi on a modification of node-pg-copy-streams (cf brianc/node-pg-copy-streams#91) and it could be an opportunity to improve some things in this module.

Can you share with us your ideas about coding style / dev tooling for the modules related to pg ? Do you have written something on this somewhere ? I think that all these modules should share the same spirit as they might be visited by the same people.

Do you have a preference regarding testing frameworks ? (mocha, jest, ?) I saw mocha is used in several sub modules. Is it what you plan to keep using in the future ?

linting - I saw that you use eslint in the main lerna repo so probably external modules should use the same configuration (?)

es6 - do you think it is reasonable now to use ES6 features in the modules ? I saw that pg targets node >= 8.0.0 so probably using features existing in 8.0.0+ is acceptable - cf https://node.green/

I guess I am asking these questions because it might make sense one day that some external pg- modules reach the monorepo and it will be easier if the modules already have the same characteristics.

Thank you for your help,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions