Permalink
Browse files

Improved linting configuration files.

Added eslint support.
Excluded folders in jscs.
  • Loading branch information...
marcominetti committed Oct 1, 2015
1 parent 9c57d47 commit cc9e1fa137eb96b9b8608250c24d6b348b83ad40
Showing with 58 additions and 1 deletion.
  1. +13 −0 .eslintignore
  2. +29 −0 .eslintrc
  3. +16 −1 .jscsrc
View
@@ -0,0 +1,13 @@
bin/*
data/*
lib/*
log/*
project/*
tmp/*
**/build/*
**/cache/*
**/dist/*
**/node_modules/*
app/*/*
config/*/*
core/_old/**
View
@@ -0,0 +1,29 @@
{
"parser": "babel-eslint",
"extends": "eslint:recommended",
"rules": {
"quotes": [2, "single", "avoid-escape"],
"strict": 0,
"no-underscore-dangle": 0,
"curly": 0,
"no-multi-spaces": 0,
"key-spacing": 0,
"no-return-assign": 0,
"consistent-return": 0,
"no-shadow": 0,
"comma-dangle": 0,
"no-use-before-define": 0,
"no-empty": 0,
"new-parens": 0,
"no-cond-assign": 0,
"no-fallthrough": 0,
"new-cap": 0,
"no-loop-func": 0,
"no-unreachable": 0,
"no-labels": 0,
"no-process-exit": 0,
"camelcase": 0,
"no-console": 0,
"no-undef": 0
}
}
View
17 .jscsrc
@@ -1,4 +1,19 @@
{
"preset": "google",
"esnext": true
"esnext": true,
"excludeFiles": [
"bin/*",
"data/*",
"lib/*",
"log/*",
"project/*",
"tmp/*",
"**/build/*",
"**/cache/*",
"**/dist/*",
"**/node_modules/*",
"app/*/*",
"config/*/*",
"core/_old/**"
]
}

0 comments on commit cc9e1fa

Please sign in to comment.