Add eslint

This commit is contained in:
Tom MacWright
2016-02-09 15:44:32 -05:00
parent a7309ef786
commit 2c6077968b
2 changed files with 45 additions and 33 deletions

3
.eslintrc Normal file
View File

@@ -0,0 +1,3 @@
{
"extends": "eslint-config-unstyled"
}

View File

@@ -1,35 +1,44 @@
{
"name": "mbtiles",
"version": "0.8.2",
"description": "Utilities and tilelive integration for the MBTiles format.",
"url": "http://github.com/mapbox/node-mbtiles",
"author": "Mapbox (https://www.mapbox.com)",
"keywords": ["map", "mbtiles"],
"licenses": [{ "type": "BSD" }],
"main": "./lib/mbtiles",
"repository": {
"type": "git",
"url": "http://github.com/mapbox/node-mbtiles.git"
},
"contributors": [
"Tom MacWright <tmcw>",
"Will White <willwhite>",
"Dane Springmeyer <springmeyer>",
"Young Hahn <yhahn>",
"Konstantin Käfer <kkaefer>"
],
"dependencies": {
"tiletype": "0.1.x",
"sqlite3": "3.x",
"sphericalmercator": "~1.0.1"
},
"devDependencies": {
"tape": "~3.0.0"
},
"engines": {
"node": ">= 0.10.0"
},
"scripts": {
"test": "tape test/*.js"
"name": "mbtiles",
"version": "0.8.2",
"description": "Utilities and tilelive integration for the MBTiles format.",
"url": "http://github.com/mapbox/node-mbtiles",
"author": "Mapbox (https://www.mapbox.com)",
"keywords": [
"map",
"mbtiles"
],
"licenses": [
{
"type": "BSD"
}
}
],
"main": "./lib/mbtiles",
"repository": {
"type": "git",
"url": "http://github.com/mapbox/node-mbtiles.git"
},
"contributors": [
"Tom MacWright <tmcw>",
"Will White <willwhite>",
"Dane Springmeyer <springmeyer>",
"Young Hahn <yhahn>",
"Konstantin Käfer <kkaefer>"
],
"dependencies": {
"tiletype": "0.1.x",
"sqlite3": "3.x",
"sphericalmercator": "~1.0.1"
},
"devDependencies": {
"tape": "~3.0.0",
"eslint": "~1.00.0",
"eslint-config-unstyled": "^1.1.0"
},
"engines": {
"node": ">= 0.10.0"
},
"scripts": {
"test": "eslint lib && tape test/*.js"
}
}