Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
spec/fixtures/**/*.js
lib/**/*.js
6 changes: 2 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
node_modules
/lib/
/node_modules/
*.log
.idea

# Keep node_modules test fixtures
!spec/fixtures/local-eslint/node_modules
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,7 @@ notifications:
on_failure: change
os: osx

script: 'curl -s https://raw.githubusercontent.com/atom/ci/master/build-package.sh | sh'
script:
- npm i
- npm run compile
- 'curl -s https://raw.githubusercontent.com/atom/ci/master/build-package.sh | sh'
10 changes: 10 additions & 0 deletions .ucompilerrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"plugins": ["babel"],
"rules": [{
"path": "src/*.js",
"outputPath": "lib/{name}.js",
"babel": {
"presets": ["steelbrain", "steelbrain-legacy"]
}
}]
}
2 changes: 2 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,7 @@ build_script:
- cd %APPVEYOR_BUILD_FOLDER%
- SET PATH=%LOCALAPPDATA%\atom\bin;%PATH%
- apm clean
- npm i
- npm run compile
- apm install
- apm test
14 changes: 8 additions & 6 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
dependencies:
override:
- wget -O atom-amd64.deb https://atom.io/download/deb
pre:
- sudo apt-get update
- sudo apt-get install wget
post:
- wget -O atom-amd64.deb https://atom.io/download/deb
- sudo dpkg --install atom-amd64.deb || true
- sudo apt-get -f install -y
- atom -v
- apm install
test:
override:
- ./node_modules/.bin/eslint lib
- ./node_modules/.bin/eslint spec
- npm run lint
- npm run compile
- atom -v
- apm install
- apm test
80 changes: 0 additions & 80 deletions lib/es5-helpers.js

This file was deleted.

36 changes: 0 additions & 36 deletions lib/helpers.js

This file was deleted.

109 changes: 0 additions & 109 deletions lib/worker.js

This file was deleted.

17 changes: 13 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,13 @@
"repository": "https://github.com/AtomLinter/linter-eslint.git",
"license": "MIT",
"engines": {
"atom": ">0.50.0"
"atom": ">=1.0.0"
},
"scripts": {
"lint": "eslint ."
"clean": "rm -rf lib",
"lint": "eslint .",
"compile": "babel src --out-dir lib",
"apm-publish": "npm run clean && npm run compile && apm publish"
},
"dependencies": {
"atom-linter": "^3.4.0",
Expand All @@ -21,7 +24,10 @@
"resolve-env": "^1.0.0"
},
"devDependencies": {
"babel-eslint": "^4.1.5",
"babel-cli": "^6.2.0",
"babel-eslint": "^4.1.6",
"babel-preset-steelbrain": "^1.0.0",
"babel-preset-steelbrain-legacy": "^1.0.0",
"eslint-config-airbnb": "latest",
"eslint-config-steelbrain": "latest",
"eslint-plugin-import": "^0.11.0",
Expand All @@ -44,7 +50,10 @@
"no-empty": 0,
"no-console": 0,
"no-new": 0,
"semi": [2, "never"]
"semi": [
2,
"never"
]
},
"parser": "babel-eslint",
"globals": {
Expand Down
2 changes: 1 addition & 1 deletion spec/es5-helpers-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
determineConfigFile,
findEslintDir,
getEslintCli
} from '../lib/es5-helpers'
} from '../lib/helpers'

let fixtureDir

Expand Down
Loading