summaryrefslogtreecommitdiff
path: root/web/package.json
diff options
context:
space:
mode:
authorSorin Sbarnea <ssbarnea@redhat.com>2020-08-21 10:51:58 +0100
committerSorin Sbarnea <ssbarnea@redhat.com>2020-11-20 09:39:31 +0000
commitebad14f1f97821e80e957e94d34ddafdefb0c724 (patch)
tree21960125b686e83853bed9f0de57fdfeb9a0104a /web/package.json
parent789f419595e5efa8805f6e698c7138164bb077c8 (diff)
downloadzuul-ebad14f1f97821e80e957e94d34ddafdefb0c724.tar.gz
Consolidate js/jsx indentation
Previously indentation was not checked at all and in order to avoid reviewers time with style checks, we can enforce it with eslint. Current js/jsx changes were made by: yarn lint-fix Note this this change can easily become outdated so we need to coordinate and merge it quickly as each rebase would loose previous votes. Change-Id: I85883fc8db924ad4ce9acad5acdd42aed7e4d0e4
Diffstat (limited to 'web/package.json')
-rw-r--r--web/package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/package.json b/web/package.json
index 7395778bb..50256f45a 100644
--- a/web/package.json
+++ b/web/package.json
@@ -52,7 +52,8 @@
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom --watchAll=false",
"eject": "react-scripts eject",
- "lint": "eslint --ext .js --ext .jsx src"
+ "lint": "eslint --ext .js --ext .jsx src",
+ "lint-fix": "eslint --ext .js --ext .jsx --fix src"
},
"browserslist": [
">0.2%",