diff --git a/index.js b/index.js index 5660cf83..7e066d6d 100644 --- a/index.js +++ b/index.js @@ -10,7 +10,7 @@ module.exports = { 'plugin:sonarjs/recommended', 'prettier', ], - plugins: ['node', 'prettier', 'unicorn'], + plugins: ['eslint-comments', 'import', 'node', 'prettier', 'sonarjs', 'unicorn'], rules: { 'arrow-body-style': 'off', @@ -18,7 +18,9 @@ module.exports = { 'eslint-comments/no-unused-disable': 'error', 'func-names': 'off', + 'import/order': 'off', + 'no-constructor-return': 'error', 'no-dupe-else-if': 'error', 'no-else-return': ['error', { allowElseIf: true }], diff --git a/package-lock.json b/package-lock.json index 88390fe6..67adb9c8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1456,9 +1456,9 @@ } }, "regexpp": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.0.0.tgz", - "integrity": "sha512-Z+hNr7RAVWxznLPuA7DIh8UNX1j9CDrUQxskw9IrBE1Dxue2lyXT+shqEIeLUjrokxIP8CMy1WkjgG3rTsd5/g==" + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.1.0.tgz", + "integrity": "sha512-ZOIzd8yVsQQA7j8GCSlPGXwg5PfmA1mrq0JP4nGhh54LaKN3xdai/vHUDu74pKwV8OxseMS65u2NImosQcSD0Q==" } } }, @@ -1558,9 +1558,9 @@ } }, "eslint-plugin-node": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-node/-/eslint-plugin-node-11.0.0.tgz", - "integrity": "sha512-chUs/NVID+sknFiJzxoN9lM7uKSOEta8GC8365hw1nDfwIPIjjpRSwwPvQanWv8dt/pDe9EV4anmVSwdiSndNg==", + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-node/-/eslint-plugin-node-11.1.0.tgz", + "integrity": "sha512-oUwtPJ1W0SKD0Tr+wqu92c5xuCeQqB3hSCHasn/ZgjFdA9iDGNkNf2Zi9ztY7X+hNuMib23LNGRm6+uN+KLE3g==", "requires": { "eslint-plugin-es": "^3.0.0", "eslint-utils": "^2.0.0", diff --git a/package.json b/package.json index e6575cde..74c95f97 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "eslint-plugin-jest": "^23.1.1", "eslint-plugin-jest-formatting": "^1.2.0", "eslint-plugin-jsx-a11y": "^6.2.3", - "eslint-plugin-node": "^11.0.0", + "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettier": "^3.1.1", "eslint-plugin-react": "^7.17.0", "eslint-plugin-sonarjs": "^0.5.0",