Skip to content

Commit

Permalink
Breaking: remove pre-release versions and upgrade deps
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticatea committed Feb 13, 2016
1 parent c228fea commit 67ad5c8
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
4 changes: 1 addition & 3 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"extends": "mysticatea/es5",
"env": {"node": true},
"extends": ["mysticatea/es5", "mysticatea/node"],
"rules": {
"func-name": 0,
"init-declarations": 0,
"no-param-reassign": [2, {"props": false}]
}
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ before_script:
- npm install async
script:
- "npm run test && npm run coveralls"
- npm run travis-test-with-eslint-next
- "npm install eslint@1 && npm run test && npm run coveralls"
6 changes: 6 additions & 0 deletions lib/rules/no-unsupported-features.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,12 @@ function checkSpecialLexicalEnvironment(context) {
);
}

/**
* Gets the name of a given node.
*
* @param {ASTNode} node - An Identifier node to get.
* @returns {string} The name of the node.
*/
function getIdentifierName(node) {
return node.name;
}
Expand Down
14 changes: 6 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,14 @@
"preversion": "npm-run-all test build",
"postversion": "git push && git push --tags",
"clean": "rimraf coverage",
"lint": "eslint lib tests/lib --rulesdir lib/rules --rule \"{no-missing-require:2, no-unpublished-require:2, shebang:2}\"",
"lint": "eslint lib tests/lib",
"build": "node scripts/generate-index.js",
"test": "npm-run-all clean lint test:mocha",
"test:mocha": "istanbul cover node_modules/mocha/bin/_mocha -- tests/lib/**/*.js --reporter progress",
"coveralls": "cat coverage/lcov.info | coveralls",
"travis-test-with-eslint-next": "rimraf node_modules && npm i -g npm@3 && npm i && npm i eslint@next && npm i && npm run test:mocha && npm run coveralls"
"coveralls": "cat coverage/lcov.info | coveralls"
},
"peerDependencies": {
"eslint": ">=1.10.3 || 2.0.0-alpha-1 || 2.0.0-alpha-2 || 2.0.0-beta.1 || 2.0.0-beta.2 || 2.0.0-beta.3"
"eslint": ">=1.10.3 <3.0.0"
},
"dependencies": {
"ignore": "^2.2.19",
Expand All @@ -28,15 +27,14 @@
},
"devDependencies": {
"coveralls": "^2.11.4",
"eslint": "1.10.3",
"eslint-config-mysticatea": "^1.9.0",
"eslint-plugin-mysticatea": "^1.0.3",
"eslint": "^2.0.0",
"eslint-config-mysticatea": "^2.0.0",
"istanbul": "^0.4.0",
"mocha": "^2.3.4",
"npm-run-all": "^1.3.2",
"rimraf": "^2.4.4",
"semver": "^5.1.0",
"shelljs": "^0.5.3"
"shelljs": "^0.6.0"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 67ad5c8

Please sign in to comment.