@bigbinary/neeto-commons-frontend 2.1.16 → 2.1.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -26,9 +26,7 @@ module.exports = {
26
26
  "prettier",
27
27
  ],
28
28
  settings: {
29
- react: {
30
- version: "detect",
31
- },
29
+ react: { version: "detect" },
32
30
  // We need this for the import/extensions rule to work: https://github.com/import-js/eslint-plugin-import#importextensions
33
31
  "import/resolver": {
34
32
  node: {
@@ -37,9 +35,7 @@ module.exports = {
37
35
  },
38
36
  },
39
37
  parserOptions: {
40
- ecmaFeatures: {
41
- jsx: true,
42
- },
38
+ ecmaFeatures: { jsx: true },
43
39
  ecmaVersion: 2018,
44
40
  sourceType: "module",
45
41
  },
@@ -103,9 +99,7 @@ module.exports = {
103
99
  // not-auto-fixable: Prevent un-sanitized dangerouslySetInnerHTML.
104
100
  "jam3/no-sanitizer-with-danger": [
105
101
  2,
106
- {
107
- wrapperName: ["dompurify", "sanitizer", "sanitize"],
108
- },
102
+ { wrapperName: ["dompurify", "sanitizer", "sanitize"] },
109
103
  ],
110
104
  // auto-fixable: Requires trailing commas when the last element or property is in a different line than the closing ] or }
111
105
  "comma-dangle": [
@@ -152,5 +146,7 @@ module.exports = {
152
146
  "no-var": "error",
153
147
  // auto-fixable: This rule conflicts with prettier rules. Thus we've NOT kept this rule in react file. This rule ensures we don't add blank lines in JSX.
154
148
  "react/jsx-newline": ["error", { prevent: true }],
149
+ // not-auto-fixable: Disallow async functions which have no await expression
150
+ "require-await": "error",
155
151
  },
156
152
  };
@@ -23,6 +23,7 @@ module.exports = {
23
23
  neetofilters: "@bigbinary/neeto-filters-frontend",
24
24
  neetomolecules: "@bigbinary/neeto-molecules",
25
25
  neetopayments: "@bigbinary/neeto-payments-frontend",
26
+ neetocist: "@bigbinary/neeto-cist",
26
27
  images: path.resolve(__dirname, "../../../../../", "app/assets/images"),
27
28
  },
28
29
  extensions: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-commons-frontend",
3
- "version": "2.1.16",
3
+ "version": "2.1.18",
4
4
  "description": "A package encapsulating common code across neeto projects including initializers, utility functions, common components and hooks and so on.",
5
5
  "repository": "git@github.com:bigbinary/neeto-commons-frontend.git",
6
6
  "author": "Amaljith K <amaljith.k@bigbinary.com>",