eslint-config-mitmaro
Advanced tools
Comparing version 1.0.0 to 2.0.0
# Change Log | ||
All notable changes to this project will be documented in this file. | ||
This project adheres to [Semantic Versioning](http://semver.org/). | ||
The format conforms to [Keep a Changelog](http://keepachangelog.com/). | ||
## [2.0.0] - 2016-07-24 | ||
### Changed | ||
- Updated to support ESLint 3 | ||
- Set `checkLoops` to `false` for rule `no-constant-condition` | ||
- Set `nestedBinaryExpressions` for rule `no-extra-parens` | ||
## 1.0.0 - 2016-06-25 | ||
### Added | ||
- Initial rule set | ||
[2.0.0]: https://github.com/MitMaro/eslint-config-mitmaro/compare/v1.0.0...v2.0.0 |
{ | ||
"name": "eslint-config-mitmaro", | ||
"version": "1.0.0", | ||
"version": "2.0.0", | ||
"description": "MitMaro's ESLint configurations", | ||
@@ -24,5 +24,5 @@ "main": "index.js", | ||
"devDependencies": { | ||
"eslint": "^2.13.1", | ||
"eslint": "^3.1.0", | ||
"eslint-plugin-strict-newline": "^1.0.0" | ||
} | ||
} |
# eslint-config-mitmaro | ||
[](https://www.npmjs.com/package/eslint-config-mitmaro) | ||
[](https://david-dm.org/MitMaro/eslint-config-mitmaro) | ||
@@ -19,3 +20,3 @@ [](https://travis-ci.org/MitMaro/eslint-config-mitmaro) | ||
2. add `"extends": "mitmaro"` to your `.eslintrc` | ||
### eslint-config-mitmaro/mocha | ||
@@ -28,2 +29,8 @@ | ||
## Versioning | ||
This project follows as closely as possible [Semantic Versioning](http://semver.org/). A MAJOR change would be caused | ||
by including a rule that could cause a passing code base to fail. A MINOR change is a modification or removal of a rule | ||
that would not cause existing passing code to fail. A PATCH would be any fix that doesn't cause any changes to rules. | ||
## Contributing | ||
@@ -30,0 +37,0 @@ |
@@ -11,3 +11,6 @@ 'use strict'; | ||
'no-console': 'error', | ||
'no-constant-condition': 'error', | ||
'no-constant-condition': [ | ||
'error', | ||
{ checkLoops: false } | ||
], | ||
'no-control-regex': 'error', | ||
@@ -22,3 +25,7 @@ 'no-debugger': 'error', | ||
'no-extra-boolean-cast': 'error', | ||
'no-extra-parens': 'error', | ||
'no-extra-parens': [ | ||
'error', | ||
'all', | ||
{ nestedBinaryExpressions: false } | ||
], | ||
'no-extra-semi': 'error', | ||
@@ -25,0 +32,0 @@ 'no-func-assign': 'error', |
@@ -35,2 +35,3 @@ 'use strict'; | ||
'max-statements-per-line': 'error', | ||
'multiline-ternary': 'off', | ||
'new-cap': 'error', | ||
@@ -37,0 +38,0 @@ 'new-parens': 'error', |
Sorry, the diff of this file is not supported yet
12542
318
45