eslint-plugin-wyze
Advanced tools
Comparing version 1.2.0 to 1.2.1
{ | ||
"name": "eslint-plugin-wyze", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "My personal ESLint rules.", | ||
@@ -26,8 +26,8 @@ "license": "MIT", | ||
"devDependencies": { | ||
"ava": "^0.12.0", | ||
"eslint": "^2.2.0" | ||
"ava": "^0.13.0", | ||
"eslint": "~2.2.0" | ||
}, | ||
"peerDependencies": { | ||
"eslint": "^2.0.0" | ||
"eslint": "~2.2.0" | ||
} | ||
} |
@@ -45,4 +45,30 @@ # eslint-plugin-wyze | ||
* [sort-imports](docs/rules/sort-imports.md): Sorts imports by `named` and `default`. | ||
* [space-around-conditional](docs/rules/space-around-conditional.md): Always put spacing in your control flow statements. | ||
* [space-around-conditional](docs/rules/space-around-conditional.md): Always put spacing around your conditional expressions. | ||
## Recommended Config | ||
We support a recommended config for the rules. | ||
### Enable | ||
```js | ||
{ | ||
"extends": "plugin:wyze/recommended", | ||
"plugins": [ | ||
"wyze" | ||
] | ||
} | ||
``` | ||
### Rules | ||
```js | ||
{ | ||
"rules": { | ||
"wyze/sort-imports": 2, | ||
"wyze/space-around-conditional": 2 | ||
} | ||
} | ||
``` | ||
## License | ||
@@ -49,0 +75,0 @@ |
12976
87