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

Commit

Permalink
Move to eslint-config-airbnb-base
Browse files Browse the repository at this point in the history
There is no need for the React components of `eslint-config-airbnb`.
  • Loading branch information
Arcanemagus committed May 2, 2016
1 parent 4100675 commit d94307e
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 21 deletions.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ build_script:
- SET PATH=%LOCALAPPDATA%\atom\bin;%PATH%
- apm clean
- apm install
- ./node_modules/.bin/eslint ./
- npm run lint
- apm test
1 change: 0 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@ dependencies:
test:
pre:
- npm run lint
- ./node_modules/.bin/eslint ./
override:
- apm test
28 changes: 16 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,34 +4,38 @@
"version": "1.5.0",
"description": "Lint markdown on the fly, using remark-lint",
"scripts": {
"lint": "remark -u remark-lint README.md LICENSE.md"
"lint": "remark -u remark-lint README.md LICENSE.md && eslint lib spec",
"test": "apm test"
},
"keywords": [],
"activationCommands": {},
"keywords": [
"lint",
"linter",
"remark",
"remark-lint",
"markdown"
],
"repository": "https://github.com/AtomLinter/linter-markdown",
"license": "MIT",
"engines": {
"atom": "^1.0.0"
"atom": ">=1.0.0 <2.0.0"
},
"dependencies": {
"remark": "^4.0.0",
"remark-lint": "^3.0.0",
"atom-package-deps": "^4.0.1"
},
"devDependencies": {
"eslint": "^2.4.0",
"eslint-config-airbnb": "^6.2.0",
"eslint-plugin-react": "^4.2.3"
"eslint": "^2.9.0",
"eslint-config-airbnb-base": "^2.0.0",
"eslint-plugin-import": "^1.6.1"
},
"eslintConfig": {
"rules": {
"comma-dangle": [
2,
"never"
],
"comma-dangle": [2, "never"],
"global-require": 0,
"no-console": 0
},
"extends": "airbnb/base",
"extends": "airbnb-base",
"globals": {
"atom": true
},
Expand Down
8 changes: 3 additions & 5 deletions spec/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module.exports = {
'globals': {
'waitsForPromise': true
},
'env': {
'jasmine': true
env: {
atomtest: true,
jasmine: true
}
};
4 changes: 2 additions & 2 deletions spec/linter-markdown-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

import * as path from 'path';

describe('The remark-lint provider for Linter', () => {
const lint = require(path.join('..', 'lib', 'index.js')).provideLinter().lint;
const lint = require(path.join('..', 'lib', 'index.js')).provideLinter().lint;

describe('The remark-lint provider for Linter', () => {
beforeEach(() => {
atom.workspace.destroyActivePaneItem();
waitsForPromise(() => {
Expand Down

0 comments on commit d94307e

Please sign in to comment.