Skip to content

Commit 249984c

Browse files
committedSep 25, 2016
Bump to v$npm_package_version
1 parent b0956ee commit 249984c

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed
 

‎index.js

+8-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module.exports = {
2323
'key-spacing': 0,
2424
'keyword-spacing': 2,
2525
'max-depth': [1, 5],
26-
'max-len': [1, 100, 2, { ignoreUrls: true }],
26+
'max-len': [2, 80, 2, { ignoreUrls: true }],
2727
'no-alert': 2,
2828
'no-class-assign': 2,
2929
'no-caller': 2,
@@ -52,8 +52,13 @@ module.exports = {
5252
'no-irregular-whitespace': 2,
5353
'no-mixed-spaces-and-tabs': [2, false],
5454
'no-multiple-empty-lines': 2,
55-
'no-multi-spaces': [2, { exceptions: {
56-
VariableDeclarator: true, ImportDeclaration: true }}],
55+
'no-multi-spaces': [2, {
56+
exceptions: {
57+
VariableDeclarator: true,
58+
ImportDeclaration: true,
59+
AssignmentExpression: true
60+
}
61+
}],
5762
'no-new-func': 2,
5863
'no-new-wrappers': 2,
5964
'no-obj-calls': 2,

‎package.json

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-config-jwalker",
3-
"version": "1.9.0",
3+
"version": "1.10.0",
44
"description": "Shareable ESLint config",
55
"author": "Jonatas Walker",
66
"homepage": "https://github.com/jonataswalker/eslint-config-jwalker",
@@ -29,8 +29,11 @@
2929
"eslint": "eslint index.js",
3030
"pretest": "npm install",
3131
"test": "npm run eslint",
32+
"commit": "git add . && git commit -m 'Bump to v$npm_package_version'",
33+
"tag": "git tag -a $npm_package_version -m 'Bump to v$npm_package_version'",
34+
"push": "git push && git push origin $npm_package_version",
3235
"preversion": "npm run test",
33-
"version": "",
34-
"postversion": "git push && git push --tags && npm publish"
36+
"version": "npm run commit",
37+
"postversion": "npm run tag && npm run push && npm publish"
3538
}
3639
}

0 commit comments

Comments
 (0)