Skip to content
Permalink
Browse files

Switch from jshint to eslint

  • Loading branch information
mislav committed May 16, 2018
1 parent 24c3538 commit 3ccb1ce2d8936665e5f0e105174518f3d1502318
Showing with 22 additions and 27 deletions.
  1. +18 −0 .eslintrc.json
  2. +0 −25 .jshintrc
  3. +1 −1 Makefile
  4. +2 −1 package.json
  5. +1 −0 prettier.config.js
@@ -0,0 +1,18 @@
{
"parserOptions": {
"sourceType": "module"
},
"globals": {
"ArrayBuffer": true,
"DataView": true,
"Promise": true,
"Symbol": true,
"Uint8Array": true
},
"extends": [
"plugin:github/browser"
],
"rules": {
"object-shorthand": "off"
}
}

This file was deleted.

@@ -2,7 +2,7 @@ test: node_modules/ lint
./script/test

lint: node_modules/
./node_modules/.bin/jshint *.js test/*.js
./node_modules/.bin/eslint --report-unused-disable-directives *.js test/*.js

node_modules/:
npm install
@@ -7,7 +7,8 @@
"license": "MIT",
"devDependencies": {
"chai": "1.10.0",
"jshint": "2.8.0",
"eslint": "^4.19.1",
"eslint-plugin-github": "^1.0.0",
"mocha": "2.1.0",
"mocha-phantomjs-core": "2.0.1",
"promise-polyfill": "6.0.2",
@@ -0,0 +1 @@
module.exports = require('eslint-plugin-github/prettier.config')

0 comments on commit 3ccb1ce

Please sign in to comment.