UNPKG

eslint-plugin-no-shit

Version:
52 lines (31 loc) 778 B
# eslint-plugin-no-shiiiit eeeeeeeeeeeeeeee ## Installation You'll first need to install [ESLint](http://eslint.org): ``` $ npm i eslint --save-dev ``` Next, install `eslint-plugin-no-shiiiit`: ``` $ npm install eslint-plugin-no-shiiiit --save-dev ``` **Note:** If you installed ESLint globally (using the `-g` flag) then you must also install `eslint-plugin-no-shiiiit` globally. ## Usage Add `no-shiiiit` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix: ```json { "plugins": [ "no-shiiiit" ] } ``` Then configure the rules you want to use under the rules section. ```json { "rules": { "no-shiiiit/rule-name": 2 } } ``` ## Supported Rules * Fill in provided rules here