Skip to content

Enforce code style with prettier and eslint. #136

Open

Description

@david-mateogit

Hello.

I would like to test this project and later contribute if needed but I think this needs a prettier or eslint config to enforce the recommended code-style.

This worked on my build at the end of package.json, have to do more tests.

"prettier": { "printWidth": 120, "tabWidth": 1, "singleQuote": true, "trailingComma": "none", "semi": false }, "eslintConfig": { "parserOptions": { "ecmaVersion": 8, "sourceType": "module" }, "rules": { "semi": ["error", "never"] } }

I think some system like this would provide consistency and less headaches when people save and have auto format on vs code and such.

What do you think?

Activity

  1. rmariuzzo commented on Apr 3, 2020

    @rmariuzzo
    Member
  2. DannyFeliz commented on Apr 3, 2020

    @DannyFeliz
    Member

    Hey @rmariuzzo could you please check this PR #133?

  3. david-mateogit commented on Apr 3, 2020

    @david-mateogit
    Author

    Sounds good to me
    …

    Great.
    I'll do some tests and send a pr later.

    BTW as a DR Dev I thank you for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions