diff options
author | Giovanni Gonzaga <giovanni@buildo.io> | 2017-04-28 13:57:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-28 13:57:29 +0200 |
commit | 50ec3bf950c858c91ee93e1c6ff6003b87691911 (patch) | |
tree | e1e458762aafbba5eb8e4bfff412244a6858a8df | |
parent | a23a97c3aeb16c32cbe4f32578c52bcbe1d45b37 (diff) | |
parent | 9b35cd6040d27fb3288241e701a652916aaea9d1 (diff) | |
download | react-autosize-textarea-50ec3bf950c858c91ee93e1c6ff6003b87691911.zip react-autosize-textarea-50ec3bf950c858c91ee93e1c6ff6003b87691911.tar.gz react-autosize-textarea-50ec3bf950c858c91ee93e1c6ff6003b87691911.tar.bz2 |
Merge pull request #43 from buildo/42-use_scriptoni
#42: use scriptoni (closes #42)
-rw-r--r-- | .eslintrc | 2 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | package.json | 7 |
3 files changed, 5 insertions, 5 deletions
@@ -1,3 +1,3 @@ { - "extends": "buildo" + "extends": "./node_modules/scriptoni/lib/scripts/eslint/eslintrc.json" } @@ -2,3 +2,4 @@ node_modules npm-debug.log coverage lib +.eslintcache diff --git a/package.json b/package.json index 7ece879..5e15da8 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "scripts": { "test": "npm run build && ./node_modules/karma/bin/karma start", "build": "rm -rf lib && mkdir lib && babel src -d lib", - "lint": "eslint src examples/examples.js", + "lint": "scriptoni lint src examples/examples.js", + "lint-fix": "scriptoni lint --fix src examples/examples.js", "preversion": "npm run lint && npm run test && npm run build-examples", "prepublish": "npm run build", "build-examples": "npm run clean && webpack --config examples/webpack.config.build.babel.js --progress", @@ -43,14 +44,11 @@ "devDependencies": { "babel-cli": "^6.11.4", "babel-core": "^6.21.0", - "babel-eslint": "^7.0.0", "babel-loader": "^6.2.4", "babel-plugin-transform-decorators-legacy": "^1.3.4", "babel-preset-es2015": "^6.13.2", "babel-preset-react": "^6.11.1", "babel-preset-stage-0": "^6.5.0", - "eslint": "^3.12.2", - "eslint-config-buildo": "github:buildo/eslint-config", "eslint-loader": "^1.6.1", "expect": "^1.13.4", "isparta-loader": "^2.0.0", @@ -65,6 +63,7 @@ "react-dom": "^15.5", "react-readme-generator": "0.0.1", "require-dir": "^0.3.0", + "scriptoni": "^0.4.3", "smooth-release": "^8.0.0", "webpack": "^1.12.12", "webpack-dev-server": "^1.14.1" |