Skip to content

Enforce code style with prettier and eslint. #136

Open
@david-mateogit

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?

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