Browse Source

Switched eslint configuration

Was using 'eslint-config-dmajda' by @dmajda, but since it's diffucult for me to use multiple styles across multiple projects, I'm switching to my own 'eslint-config-futagozaryuu'.
master
Futago-za Ryuu 4 years ago
parent
commit
3c6523ff83
  1. 8
      .eslintrc.js
  2. 11
      .eslintrc.json
  3. 11
      lib/.eslintrc.js
  4. 6
      lib/.eslintrc.json
  5. 2
      package.json
  6. 12
      test/.eslintrc.js
  7. 5
      test/spec/.eslintrc.json

8
.eslintrc.js

@ -0,0 +1,8 @@
"use strict";
module.exports = {
"extends": "futagozaryuu/node-v4",
"root": true
};

11
.eslintrc.json

@ -1,11 +0,0 @@
{
"extends": "dmajda",
"env": {
"node": true
},
"root": true,
"rules": {
"linebreak-style": 0,
"no-console": 0
}
}

11
lib/.eslintrc.js

@ -0,0 +1,11 @@
"use strict";
module.exports = {
"extends": "futagozaryuu/es2015",
"env": {
"commonjs": true
},
"root": true
};

6
lib/.eslintrc.json

@ -1,6 +0,0 @@
{
"env": {
"node": false,
"commonjs": true
}
}

2
package.json

@ -63,7 +63,7 @@
"browserify": "14.5.0",
"chai": "4.1.2",
"del": "3.0.0",
"eslint-config-dmajda": "1.0.0",
"eslint-config-futagozaryuu": "3.6.x",
"express": "4.16.2",
"glob": "7.1.2",
"gulp": "3.9.1",

12
test/.eslintrc.js

@ -0,0 +1,12 @@
"use strict";
module.exports = {
"extends": "futagozaryuu/test",
"rules": {
"node/shebang": 0
}
};

5
test/spec/.eslintrc.json

@ -1,5 +0,0 @@
{
"env": {
"mocha": true
}
}
Loading…
Cancel
Save