Skip to content

Commit

Permalink
eslint no-var updates (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
msimerson committed Sep 16, 2017
1 parent aec1fe8 commit 320406e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
8 changes: 0 additions & 8 deletions .eslintrc.json

This file was deleted.

14 changes: 14 additions & 0 deletions .eslintrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
env:
node: true
es6: true
mocha: true

plugins:
- haraka

extends: [ "eslint:recommended", "plugin:haraka/recommended" ]

root: true

rules:
indent: [2, 4, {"SwitchCase": 1}]
2 changes: 1 addition & 1 deletion configfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const path = require('path');
// for "ini" type files
const regex = exports.regex = {
section: /^\s*\[\s*([^\]]*?)\s*\]\s*$/,
param: /^\s*([\w@:\._\-\/\[\]]+)\s*(?:=\s*(.*?)\s*)?$/,
param: /^\s*([\w@:._\-/[\]]+)\s*(?:=\s*(.*?)\s*)?$/,
comment: /^\s*[;#].*$/,
line: /^\s*(.*?)\s*$/,
blank: /^\s*$/,
Expand Down

0 comments on commit 320406e

Please sign in to comment.