Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Commit

Permalink
Merge pull request #28 from AtomLinter/greenkeeper-eslint-config-airb…
Browse files Browse the repository at this point in the history
…nb-3.0.0

Update eslint-config-airbnb to version 3.0.0 🚀
  • Loading branch information
Arcanemagus committed Jan 5, 2016
2 parents 27b1e39 + 47e9226 commit 389ee3c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"devDependencies": {
"eslint": "^1.10.3",
"babel-eslint": "^4.1.6",
"eslint-config-airbnb": "^2.1.1"
"eslint-config-airbnb": "^3.0.0"
},
"eslintConfig": {
"rules": {
Expand Down
6 changes: 4 additions & 2 deletions spec/linter-markdown-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ describe('The remark-lint provider for Linter', () => {

describe('checks a file with issues and', () => {
let editor = null;
const dciPath = path.join(__dirname, 'fixtures', 'definition-case-invalid.md');
beforeEach(() => {
waitsForPromise(() => {
return atom.workspace.open(path.join(__dirname, 'fixtures', 'definition-case-invalid.md')).then(openEditor => {
return atom.workspace.open(dciPath).then(openEditor => {
editor = openEditor;
});
});
Expand Down Expand Up @@ -52,8 +53,9 @@ describe('The remark-lint provider for Linter', () => {
});

it('finds nothing wrong with a valid file', () => {
const dcvPath = path.join(__dirname, 'fixtures', 'definition-case-valid.md');
waitsForPromise(() => {
return atom.workspace.open(path.join(__dirname, 'fixtures', 'definition-case-valid.md')).then(editor => {
return atom.workspace.open(dcvPath).then(editor => {
return lint(editor).then(messages => {
expect(messages.length).toEqual(0);
});
Expand Down

0 comments on commit 389ee3c

Please sign in to comment.