1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 09:23:13 +01:00

Use eslint-config-ascribe-react

This commit is contained in:
Brett Sun 2016-06-21 17:20:28 +02:00
parent 881584111b
commit bafcfe83d9
2 changed files with 7 additions and 10 deletions

View File

@ -1,5 +1,5 @@
{
"extends": "ascribe",
"extends": "ascribe-react",
"rules": {
"no-console": [1, { "allow": ["error", "logGlobal"] }]
}

View File

@ -15,17 +15,14 @@
"postinstall": "npm run build",
"build": "rimraf ./dist && NODE_ENV=production webpack -p",
"start": "NODE_ENV=production node server.js",
"build:dev": "rimraf ./build && NODE_ENV=development webpack",
"build:extract": "rimraf ./build && NODE_ENV=extract webpack",
"clean": "rimraf ./build ./dist",
"start:dev": "NODE_ENV=development node server.dev.js",
"lint": "eslint ./",
"test": "npm run sauce-test",
"sauce-test": "mocha ./test/integration/tests/",
"sauce-tunnel": "node ./test/integration/tunnel.js",
"vi-clean": "rm -rf ./gemini-report",
"vi-phantom": "phantomjs --webdriver=4444",
"vi-update": "gemini update -c ./test/gemini/.gemini.yml",
@ -41,11 +38,17 @@
"vi-test:23vivi": "npm run -s vi-test:base -- --browser 23viviDesktop --browser 23viviMobile"
},
"devDependencies": {
"babel-eslint": "^6.0.4",
"babel-jest": "^5.2.0",
"chai": "^3.4.1",
"chai-as-promised": "^5.1.0",
"colors": "^1.1.2",
"dotenv": "^2.0.0",
"eslint": "^2.12.0",
"eslint-config-ascribe-react": "^1.0.1",
"eslint-plugin-import": "^1.8.1",
"eslint-plugin-jsx-a11y": "^1.4.2",
"eslint-plugin-react": "^5.1.1",
"gemini": "^4.3.0",
"jest-cli": "^0.4.0",
"mocha": "^2.3.4",
@ -58,7 +61,6 @@
"audiojs": "vrde/audiojs",
"autoprefixer": "^6.3.6",
"babel-cli": "^6.10.1",
"babel-eslint": "^6.0.4",
"babel-loader": "^6.2.4",
"babel-plugin-react-transform": "^2.0.2",
"babel-plugin-transform-object-assign": "^6.8.0",
@ -79,11 +81,6 @@
"css-loader": "^0.23.1",
"decamelize": "^1.1.1",
"dotenv": "^1.2.0",
"eslint": "^2.12.0",
"eslint-config-ascribe": "^1.0.2",
"eslint-plugin-import": "^1.8.1",
"eslint-plugin-jsx-a11y": "^1.4.2",
"eslint-plugin-react": "^5.1.1",
"exports-loader": "^0.6.3",
"express": "^4.13.4",
"extract-text-webpack-plugin": "^1.0.1",