Skip to content

Commit

Permalink
chore: Apply latest generator
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Krems committed Aug 25, 2017
1 parent 64630f8 commit 4d86376
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 16 deletions.
11 changes: 11 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
root = true

[*]
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
node_modules
node_modules/
npm-debug.log
/tmp
/yarn.lock
/npm-debug.log
/lerna-debug.log
package-lock.json
2 changes: 1 addition & 1 deletion lib/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
'use strict';

module.exports = require('../node8.js');
module.exports = require('../node4.js');
39 changes: 25 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,22 @@
{
"name": "eslint-config-groupon",
"version": "4.1.4",
"scripts": {
"pretest": "eslint --fix --config=./node4.js lib *.js && eslint --fix --config=./node8.js test",
"test": "mocha",
"posttest": "nlm verify"
},
"description": "ESLint configuration used by Groupon",
"license": "BSD-3-Clause",
"main": "node8.js",
"homepage": "https://github.com/groupon/javascript",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/groupon/javascript"
"url": "https://github.com/groupon/javascript"
},
"author": {
"name": "Jan Krems",
"email": "jan.krems@groupon.com"
"bugs": {
"url": "https://github.com/groupon/javascript/issues"
},
"scripts": {
"pretest": "eslint --fix lib test",
"test": "mocha",
"posttest": "nlm verify"
},
"files": [
"*.js",
"lib"
],
"nlm": {
"license": {
"files": [
Expand All @@ -32,14 +30,27 @@
"eslint-plugin-prettier": "^2.2.0",
"eslint": "^4.5.0"
},
"dependencies": {},
"devDependencies": {
"assertive": "^2.1.0",
"eslint": "^4.5.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-node": "^5.1.1",
"eslint-plugin-prettier": "^2.2.0",
"eslint": "^4.5.0",
"globby": "^6.1.0",
"mocha": "^3.5.0",
"nlm": "^3.3.0",
"prettier": "^1.5.3"
},
"author": {
"name": "Jan Krems",
"email": "jan.krems@groupon.com"
},
"files": [
"*.js",
"lib"
],
"publishConfig": {
"registry": "https://registry.npmjs.org"
}
}
3 changes: 3 additions & 0 deletions test/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
'use strict';

module.exports = require('../node8.js');
1 change: 1 addition & 0 deletions test/mocha.opts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--recursive

0 comments on commit 4d86376

Please sign in to comment.