Permalink
Browse files

fix(lint): add default eslint file, fix cmd

  • Loading branch information...
1 parent 3b72dce commit 2ad6d306c2362b7e9f3a959b66a6c316a82cbdaa @filipesilva filipesilva committed Apr 4, 2016
Showing with 14 additions and 14 deletions.
  1. +4 −0 .eslintignore
  2. +0 −11 .eslintrc
  3. +9 −2 eslint.json → .eslintrc.json
  4. +1 −1 package.json
View
@@ -0,0 +1,4 @@
+# /node_modules and /bower_components ignored by default
+.git/
+tmp/
+typings/
View
@@ -1,11 +0,0 @@
-{
- "ecmaFeatures": {
- "modules": true,
- "module": true
- },
- "env": {
- "mocha": true,
- "node": true,
- "es6": true
- }
-}
@@ -1,6 +1,14 @@
{
+ "ecmaFeatures": {
+ "modules": true,
+ "module": true
+ },
+ "env": {
+ "mocha": true,
+ "node": true,
+ "es6": true
+ },
"parser": "espree",
- "ecmaFeatures": {},
"rules": {
"no-alert": "off",
"no-array-constructor": "off",
@@ -196,7 +204,6 @@
"id-blacklist": "off",
"require-jsdoc": "off",
"require-yield": "off",
- "semi": "off",
"semi-spacing": "off",
"sort-vars": "off",
"sort-imports": "off",
View
@@ -10,7 +10,7 @@
"keywords": [],
"scripts": {
"test": "node tests/runner",
- "lint": "eslint -c eslint.json './**/*.js' "
+ "lint": "eslint ."
},
"repository": {
"type": "git",

0 comments on commit 2ad6d30

Please sign in to comment.