[Tests] fix linting tests

This commit is contained in:
Jordan Harband
2017-10-18 21:28:52 -07:00
parent 6f2395a3f1
commit 8cfc97eee9
2 changed files with 3 additions and 1 deletions

View File

@@ -12,7 +12,7 @@
"test": "npm run --silent tests-only",
"pretravis": "cd ../eslint-config-airbnb-base && npm install && npm link && cd - && npm link --no-save eslint-config-airbnb-base",
"travis": "npm run --silent test",
"posttravis": "npm unlink eslint-config-airbnb-base >/dev/null &"
"posttravis": "npm unlink --no-save eslint-config-airbnb-base >/dev/null &"
},
"repository": {
"type": "git",

View File

@@ -11,6 +11,8 @@ const cli = new CLIEngine({
rules: {
// It is okay to import devDependencies in tests.
'import/no-extraneous-dependencies': [2, { devDependencies: true }],
// this doesn't matter for tests
'lines-between-class-members': 0,
},
});