0.0.29 • Published 4 years ago

eslint-plugin-quick-prettier v0.0.29

Weekly downloads
929
License
MIT
Repository
github
Last release
4 years ago

eslint-plugin-quick-prettier

eslint-plugin-quick-prettier package is meant to be used instead of eslint-plugin-prettier to quickly fix formatting problems (in editor or command line with eslint --fix) without raising any warning during editing.

eslint-plugin-prettier can be slow for very big projects. eslint-plugin-prettier raises warnings and errors for formatting.

installation

Install the package with

npm install --save-dev eslint-plugin-quick-prettier

Enable the plugin in your .eslintrc using the recommended configuration

{
  "extends": ["plugin:quick-prettier/recommended"]
}

Or enable just plugin in your .eslintrc

{
  "plugins": ["quick-prettier"],
  "rules": {
    "quick-prettier/prettier": 1
  }
}

To run some native fixable eslint rules only in fix mode, without raising waenings, in .eslintrc

{
  "plugins": ["quick-prettier"],
  "rules": {
    "quick-prettier/prettier": [
      1,
      {
        // Prettifies package.json files
        "prettify-package-json": true,
        "rules": {
          // eslint native rules to run only in --fix mode
          "padding-line-between-statements": [
            1,
            {
              "blankLine": "always",
              "next": "import",
              "prev": "let"
            }
          ],
          "...another-rule": [1, "..."]
        }
      }
    ]
  }
}
0.0.29

4 years ago

0.0.28

4 years ago

0.0.27

4 years ago

0.0.26

5 years ago

0.0.25

5 years ago

0.0.24

5 years ago

0.0.23

5 years ago

0.0.22

5 years ago

0.0.21

5 years ago

0.0.20

5 years ago

0.0.19

5 years ago

0.0.18

5 years ago

0.0.17

5 years ago

0.0.16

5 years ago

0.0.15

5 years ago

0.0.14

5 years ago

0.0.13

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago