diff options
author | Markus Hatvan <markus_hatvan@aon.at> | 2021-09-14 19:58:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-14 19:58:52 +0200 |
commit | 95df3522a15631abc51a4295cae0ea401a8d4e1e (patch) | |
tree | e5eb0f368c947683f01458e912f21756fb0d99cb /package.json | |
parent | docs: add sad270 as a contributor for bug, userTesting [skip ci] (#1941) (diff) | |
download | ferdium-app-95df3522a15631abc51a4295cae0ea401a8d4e1e.tar.gz ferdium-app-95df3522a15631abc51a4295cae0ea401a8d4e1e.tar.zst ferdium-app-95df3522a15631abc51a4295cae0ea401a8d4e1e.zip |
feat: add eslint-plugin-unicorn (#1936)
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/package.json b/package.json index 9add26ec6..d0675ba6b 100644 --- a/package.json +++ b/package.json | |||
@@ -25,7 +25,8 @@ | |||
25 | "dev": "cross-env NODE_ENV=development gulp dev", | 25 | "dev": "cross-env NODE_ENV=development gulp dev", |
26 | "test": "jest", | 26 | "test": "jest", |
27 | "test:watch": "jest --watch", | 27 | "test:watch": "jest --watch", |
28 | "lint": "eslint \"{src,scripts,packages,uidev}/**/*.{js,jsx,ts,tsx}\" --quiet --fix", | 28 | "lint": "eslint \"{src,scripts,packages,uidev}/**/*.{js,jsx,ts,tsx}\" --quiet", |
29 | "lint:fix": "npm run lint -- --fix", | ||
29 | "extract": "formatjs extract 'src/**/*.{js,ts}' --out-file temp.json --flatten --id-interpolation-pattern '[sha512:contenthash:base64:6]' --preserve-whitespace", | 30 | "extract": "formatjs extract 'src/**/*.{js,ts}' --out-file temp.json --flatten --id-interpolation-pattern '[sha512:contenthash:base64:6]' --preserve-whitespace", |
30 | "compile": "formatjs compile 'temp.json' --out-file src/i18n/locales/en-US.json", | 31 | "compile": "formatjs compile 'temp.json' --out-file src/i18n/locales/en-US.json", |
31 | "manage-translations": "npm run extract && npm run compile && rimraf temp.json", | 32 | "manage-translations": "npm run extract && npm run compile && rimraf temp.json", |
@@ -187,6 +188,7 @@ | |||
187 | "eslint-plugin-prettier": "3.4.0", | 188 | "eslint-plugin-prettier": "3.4.0", |
188 | "eslint-plugin-react": "7.25.1", | 189 | "eslint-plugin-react": "7.25.1", |
189 | "eslint-plugin-react-hooks": "4.2.0", | 190 | "eslint-plugin-react-hooks": "4.2.0", |
191 | "eslint-plugin-unicorn": "36.0.0", | ||
190 | "expect.js": "0.3.1", | 192 | "expect.js": "0.3.1", |
191 | "gulp": "4.0.2", | 193 | "gulp": "4.0.2", |
192 | "gulp-babel": "8.0.0", | 194 | "gulp-babel": "8.0.0", |