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

Update eslint to version 3.0.1 πŸš€ #111

Closed
wants to merge 4 commits into from
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
46 changes: 21 additions & 25 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
---
# Project specific config
language: node_js
node_js: "6"

os: osx
sudo: true
# lie to make travis work with nvm on osx
language: cpp
env:
matrix:
- TRAVIS_NODE_VERSION="0.10"
- TRAVIS_NODE_VERSION="0.12"
- TRAVIS_NODE_VERSION="2"
- TRAVIS_NODE_VERSION="4"
- TRAVIS_NODE_VERSION="5"

install:
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
- PATH="`npm bin`:`npm bin -g`:$PATH"
# Install dependencies and build
- npm install
- npm install -g sass-lint

# Generic setup follows
script: 'curl -s https://raw.githubusercontent.com/atom/ci/master/build-package.sh | sh'

notifications:
email:
on_success: never
on_failure: change

branches:
only:
Expand All @@ -24,14 +22,12 @@ branches:
git:
depth: 10

notifications:
email:
on_failure: change
on_success: never

before_script: "npm install -g sass-lint"
sudo: false

script:
- node --version
- npm --version
- "curl -s https://raw.githubusercontent.com/atom/ci/master/build-package.sh | sh"
addons:
apt:
packages:
- build-essential
- git
- libgnome-keyring-dev
- fakeroot
14 changes: 5 additions & 9 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
version: "{build}"
os: Windows Server 2012 R2
platform: x64
branches:
only:
- master
skip_tags: true
test: off
deploy: off

install:
- appveyor DownloadFile https://atom.io/download/windows -FileName AtomSetup.exe
before_build:
- ps: Install-Product node 6
- npm install -g sass-lint
- AtomSetup.exe /silent

build_script:
- cd %APPVEYOR_BUILD_FOLDER%
- SET PATH=%LOCALAPPDATA%\atom\bin;%PATH%
- apm clean
- apm install
- apm test
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/atom/ci/master/build-package.ps1'))
18 changes: 9 additions & 9 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
dependencies:
pre:
# Force updating wget due to the current containers being too out of date
- sudo apt-get update
- sudo apt-get install wget
override:
- wget -O atom-amd64.deb https://atom.io/download/deb
# - sudo apt-get update # Cut out until wget is fixed on the containers
- curl -L https://atom.io/download/deb -o atom-amd64.deb
- sudo dpkg --install atom-amd64.deb || true
- sudo apt-get -f install -y
- sudo apt-get update
- sudo apt-get -f install
- npm install -g sass-lint
- apm install

test:
override:
- atom -v
- apm -v
- ./node_modules/.bin/coffeelint lib
- ./node_modules/.bin/eslint spec
- npm run lint
- apm test

machine:
node:
version: 6
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"linter"
],
"scripts": {
"lint": "coffeelint ./lib/main.coffee"
"lint": "coffeelint lib && eslint spec"
},
"engines": {
"atom": ">=1.0.0"
"atom": ">=1.0.0 <2.0.0"
},
"dependencies": {
"atom-linter": "^6.0.0",
Expand All @@ -37,9 +37,9 @@
},
"devDependencies": {
"coffeelint": "^1.14.2",
"eslint": "2.13.1",
"eslint-config-airbnb-base": "^3.0.1",
"eslint-plugin-import": "^1.7.0"
"eslint": "3.0.1",
"eslint-config-airbnb-base": "^4.0.0",
"eslint-plugin-import": "^1.10.2"
},
"eslintConfig": {
"extends": "airbnb-base",
Expand Down