Skip to content

Commit

Permalink
Merge pull request #468 from hackoregon/lint
Browse files Browse the repository at this point in the history
Fix linting errors - component-library
  • Loading branch information
jaronheard authored Apr 29, 2019
2 parents d98d68a + de06c80 commit 0146305
Show file tree
Hide file tree
Showing 96 changed files with 379 additions and 1,702 deletions.
3 changes: 2 additions & 1 deletion packages/2017/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"start:dev": "cross-env NODE_ENV=development babel-node server/dev.js",
"start:prod": "yarn run build && cross-env NODE_ENV=production node server",
"build": "rimraf dist && cross-env NODE_ENV=production webpack --progress --config ./webpack.config.js",
"test": "echo 'No tests!'"
"test": "echo 'No tests!'",
"lint": "eslint --fix src"
},
"repository": {
"type": "git",
Expand Down
3 changes: 2 additions & 1 deletion packages/2018-disaster-resilience/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"build": "rimraf dist && cross-env NODE_ENV=production webpack --config ./webpack.config.js",
"start:dev": "cross-env NODE_ENV=development babel-node server",
"start:prod": "cross-env NODE_ENV=production node server",
"test": "cross-env BABEL_ENV=test mocha --opts ./mocha.opts 'src/**/*.test.js'"
"test": "cross-env BABEL_ENV=test mocha --opts ./mocha.opts 'src/**/*.test.js'",
"lint": "eslint --fix src"
},
"dependencies": {
"@hackoregon/component-library": "^3.0.0",
Expand Down
3 changes: 2 additions & 1 deletion packages/2018-example-farmers-markets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"build": "rimraf dist && cross-env NODE_ENV=production webpack --config ./webpack.config.js",
"start:dev": "cross-env NODE_ENV=development babel-node server",
"start:prod": "cross-env NODE_ENV=production node server",
"test": "cross-env BABEL_ENV=test mocha --opts ./mocha.opts 'src/**/*.test.js'"
"test": "cross-env BABEL_ENV=test mocha --opts ./mocha.opts 'src/**/*.test.js'",
"lint": "eslint --fix src"
},
"dependencies": {
"@hackoregon/component-library": "^3.0.0",
Expand Down
3 changes: 2 additions & 1 deletion packages/2018-housing-affordability/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"build": "rimraf dist && cross-env NODE_ENV=production webpack --config ./webpack.config.js",
"start:dev": "cross-env NODE_ENV=development babel-node server",
"start:prod": "cross-env NODE_ENV=production node server",
"test": "cross-env BABEL_ENV=test mocha --opts ./mocha.opts 'src/**/*.test.js'"
"test": "cross-env BABEL_ENV=test mocha --opts ./mocha.opts 'src/**/*.test.js'",
"lint": "eslint --fix src"
},
"dependencies": {
"@hackoregon/component-library": "^3.0.0",
Expand Down
3 changes: 2 additions & 1 deletion packages/2018-local-elections/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"build": "rimraf dist && cross-env NODE_ENV=production webpack --config ./webpack.config.js",
"start:dev": "cross-env NODE_ENV=development babel-node server",
"start:prod": "cross-env NODE_ENV=production node server",
"test": "cross-env BABEL_ENV=test mocha --opts ./mocha.opts 'src/**/*.test.js'"
"test": "cross-env BABEL_ENV=test mocha --opts ./mocha.opts 'src/**/*.test.js'",
"lint": "eslint --fix src"
},
"dependencies": {
"@hackoregon/component-library": "^3.0.0",
Expand Down
3 changes: 2 additions & 1 deletion packages/2018-transportation-systems/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"build": "rimraf dist && cross-env NODE_ENV=production webpack --config ./webpack.config.js",
"start:dev": "cross-env NODE_ENV=development babel-node server",
"start:prod": "cross-env NODE_ENV=production node server",
"test": "cross-env BABEL_ENV=test mocha --opts ./mocha.opts 'src/**/*.test.js'"
"test": "cross-env BABEL_ENV=test mocha --opts ./mocha.opts 'src/**/*.test.js'",
"lint": "eslint --fix src"
},
"dependencies": {
"@hackoregon/component-library": "^3.0.0",
Expand Down
3 changes: 2 additions & 1 deletion packages/2018/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"start:dev": "cross-env NODE_ENV=development babel-node server/dev.js",
"start:prod": "yarn run build && cross-env NODE_ENV=production node server",
"build": "rimraf dist && cross-env NODE_ENV=production webpack --progress --config ./webpack.config.js",
"test": "cross-env BABEL_ENV=test mocha --opts ./mocha.opts 'src/**/*.test.js'"
"test": "cross-env BABEL_ENV=test mocha --opts ./mocha.opts 'src/**/*.test.js'",
"lint": "eslint --fix src"
},
"repository": {
"type": "git",
Expand Down
3 changes: 2 additions & 1 deletion packages/budget/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"build": "rimraf dist && cross-env NODE_ENV=production webpack --config ./webpack.config.js",
"start:dev": "cross-env NODE_ENV=development node server",
"start:prod": "cross-env NODE_ENV=production node server",
"test": "cross-env BABEL_ENV=test mocha --opts ./mocha.opts 'src/**/*.test.js'"
"test": "cross-env BABEL_ENV=test mocha --opts ./mocha.opts 'src/**/*.test.js'",
"lint": "eslint --fix src"
},
"dependencies": {
"@babel/polyfill": "^7.0.0",
Expand Down
3 changes: 2 additions & 1 deletion packages/civic-babel-presets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "Unified babel presets for civic",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 0"
"test": "echo \"Error: no test specified\" && exit 0",
"lint": "eslint --fix index.js"
},
"author": "David Daniel <[email protected]> (http://davidedaniel.github.io)",
"license": "MIT",
Expand Down
3 changes: 2 additions & 1 deletion packages/civic-sandbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"build": "rimraf dist && cross-env NODE_ENV=production webpack --config ./webpack.config.js",
"start:dev": "cross-env NODE_ENV=development babel-node server",
"start:prod": "cross-env NODE_ENV=production node server",
"test": "cross-env BABEL_ENV=test mocha --opts ./mocha.opts 'src/**/*.test.js'"
"test": "cross-env BABEL_ENV=test mocha --opts ./mocha.opts 'src/**/*.test.js'",
"lint": "eslint --fix src"
},
"dependencies": {
"@hackoregon/component-library": "^3.0.0",
Expand Down
Loading

0 comments on commit 0146305

Please sign in to comment.