This is an automated email from the ASF dual-hosted git repository.

raphinesse pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-eslint.git


The following commit(s) were added to refs/heads/master by this push:
     new a759278  feat: make base rules stricter & closer to semistandard (#10)
a759278 is described below

commit a75927857ea0ad0fd73374d8a125fdfeaf06209f
Author: Raphael von der GrĂ¼n <raphine...@gmail.com>
AuthorDate: Sat Nov 9 11:44:26 2019 +0100

    feat: make base rules stricter & closer to semistandard (#10)
    
    This removes all exceptions from `semistandard` we had in place, except
    for `camelcase: off`. This step had already been taken in some of our
    repos (e.g. `cordova-js`, `cordova-common`) before.
    
    `camelcase` stays disabled for now as enabling & enforcing it would have
    the potential of creating many conflicts with existing work in progress.
---
 lib/base.js | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/lib/base.js b/lib/base.js
index 18aab86..7bfa960 100644
--- a/lib/base.js
+++ b/lib/base.js
@@ -28,9 +28,6 @@ module.exports = {
 
     rules: {
         indent: ['error', 4],
-        camelcase: 'off',
-        'padded-blocks': 'off',
-        'operator-linebreak': 'off',
-        'no-throw-literal': 'off'
+        camelcase: 'off'
     }
 };


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org
For additional commands, e-mail: commits-h...@cordova.apache.org

Reply via email to