mrseanryan / eslint-plugin-ts-ban-snippets

:no_entry_sign: A custom eslint rule to ban configurable lists of TypeScript code snippets. examples: "return void reject", "it.only", "debugger".
MIT License
1 stars 0 forks source link

Add prettier #5

Open mrseanryan opened 3 years ago

mrseanryan commented 3 years ago

Add prettier

    "prettier": {
        "semi": true,
        "singleQuote": false
    },

Need eslint extends??

mrseanryan commented 3 years ago
npm install --save-dev  prettier  eslint-config-prettier eslint-plugin-prettier

.eslintrc

 "extends": ["plugin:prettier/recommended"]
mrseanryan commented 3 years ago

ref = https://dev.to/sayanide/better-linting-with-typescript-and-custom-eslint-1cm0