diff --git a/.editorconfig b/.editorconfig index 39865c5..0aa45e0 100644 --- a/.editorconfig +++ b/.editorconfig @@ -8,6 +8,6 @@ end_of_line = lf insert_final_newline = true trim_trailing_whitespace = true -[{.eslintrc,*.json,*.yml,*.pug,*.md}] +[{*.json,*.yml,*.pug,*.md}] indent_style = space indent_size = 2 diff --git a/.eslintrc b/.eslintrc.json similarity index 85% rename from .eslintrc rename to .eslintrc.json index bd1be6a..ce23bcb 100644 --- a/.eslintrc +++ b/.eslintrc.json @@ -12,6 +12,6 @@ "semi": ["error", "always"], "no-trailing-spaces": ["warn"], "comma-dangle": ["error"], - "no-console": ["warn", { allow: ["warn", "error"] }] + "no-console": ["warn", { "allow": ["warn", "error"] }] } } diff --git a/package.json b/package.json index a0e58ab..091078e 100644 --- a/package.json +++ b/package.json @@ -19,8 +19,8 @@ ], "main": "server.js", "scripts": { - "watch": "./node_modules/.bin/nodemon -L -e js,json", - "lint": "./node_modules/.bin/eslint . && ./node_modules/.bin/pug-lint ./views/" + "watch": "nodemon -L -e js,json", + "lint": "eslint . && pug-lint ./views" }, "dependencies": { "babel-core": "^6.1.2",