Skip to content

Commit

Permalink
removing jscs and jshint in favour of eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
nehashri committed Oct 18, 2018
1 parent 40b1c13 commit fed0e66
Show file tree
Hide file tree
Showing 15 changed files with 1,231 additions and 1,502 deletions.
35 changes: 35 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"plugins": [
"mocha"
],
"env": {
"node": true,
"es6": true,
"mocha": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 6
},
"rules": {
"curly": "error",
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"mocha/no-exclusive-tests": "error",
"no-console": "off",
"quotes": [
"error",
"double"
],
"semi": [
"error",
"always"
]
}
}
10 changes: 0 additions & 10 deletions .jscsrc

This file was deleted.

47 changes: 0 additions & 47 deletions .jshintrc

This file was deleted.

12 changes: 6 additions & 6 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ if (parseInt(version[0]) === 0 && parseInt(version[1]) < 12) {
}

var fs = require("fs"),
path = require("path"),
child_process = require("child_process");
path = require("path"),
child_process = require("child_process");

var skeldir = path.join(__dirname, "skel"),
srcdir = path.join(process.env.GAUGE_PROJECT_ROOT, "tests"),
envdir = path.join(process.env.GAUGE_PROJECT_ROOT, "env", "default"),
testCode = "step_implementation.js",
jsPropertyFile = "js.properties";
srcdir = path.join(process.env.GAUGE_PROJECT_ROOT, "tests"),
envdir = path.join(process.env.GAUGE_PROJECT_ROOT, "env", "default"),
testCode = "step_implementation.js",
jsPropertyFile = "js.properties";

if(process.argv[2] === "--init") {

Expand Down
Loading

0 comments on commit fed0e66

Please sign in to comment.