eslint-config-adjunct
Advanced tools
Comparing version 4.11.2 to 4.12.0
@@ -7,2 +7,3 @@ const { hasAnyDep } = require('./lib/utils') | ||
'array-func', | ||
'const-case', | ||
'eslint-comments', | ||
@@ -18,2 +19,3 @@ 'html', | ||
'simple-import-sort', | ||
'sonarjs', | ||
'switch-case', | ||
@@ -25,5 +27,6 @@ 'unicorn', | ||
'no-unsanitized', | ||
'pii', | ||
'scanjs-rules', | ||
'security', | ||
'sonarjs', | ||
'xss', | ||
] | ||
@@ -30,0 +33,0 @@ |
{ | ||
"name": "eslint-config-adjunct", | ||
"version": "4.11.2", | ||
"version": "4.12.0", | ||
"author": "David J. Bradshaw", | ||
@@ -16,3 +16,3 @@ "license": "MIT", | ||
"eslint:fix": "npm run eslint --fix", | ||
"prepublishOnly": "eslint-find-rules --no-core", | ||
"prepublishOnly": "eslint-find-rules -d --no-core", | ||
"test": "npm run eslint && npm run prepublishOnly" | ||
@@ -31,47 +31,49 @@ }, | ||
"arrify": "^2.0.1", | ||
"cosmiconfig": "^7.0.1", | ||
"cosmiconfig": "^8.0.0", | ||
"lodash": "^4.17.21", | ||
"mkdirp": "^1.0.4", | ||
"mkdirp": "^2.1.3", | ||
"ramda": "^0.28.0", | ||
"read-pkg-up": "7.0.1", | ||
"rimraf": "^3.0.2" | ||
"rimraf": "^4.1.2" | ||
}, | ||
"devDependencies": { | ||
"@testing-library/dom": "^8.14.0", | ||
"@testing-library/jest-dom": "^5.16.4", | ||
"@typescript-eslint/eslint-plugin": "^5.30.5", | ||
"ava": "^4.3.0", | ||
"@testing-library/dom": "^9.0.0", | ||
"@testing-library/jest-dom": "^5.16.5", | ||
"@typescript-eslint/eslint-plugin": "^5.52.0", | ||
"ava": "^5.2.0", | ||
"babel-eslint": "^10.1.0", | ||
"chai": "^4.3.6", | ||
"cypress": "^10.3.0", | ||
"eslint": "^8", | ||
"chai": "^4.3.7", | ||
"cypress": "^12.6.0", | ||
"eslint": "^8.34.0", | ||
"eslint-config-airbnb": "^19.0.4", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-config-prettier": "^8.6.0", | ||
"eslint-find-rules": "^4.1.0", | ||
"eslint-plugin-array-func": "^3.1.7", | ||
"eslint-plugin-ava": "^13.2.0", | ||
"eslint-plugin-array-func": "^3.1.8", | ||
"eslint-plugin-ava": "^14.0.0", | ||
"eslint-plugin-chai-expect": "^3.0.0", | ||
"eslint-plugin-chai-friendly": "^0.7.2", | ||
"eslint-plugin-const-case": "^1.2.2", | ||
"eslint-plugin-cypress": "^2.12.1", | ||
"eslint-plugin-eslint-comments": "^3.2.0", | ||
"eslint-plugin-fsa": "^1.0.12", | ||
"eslint-plugin-html": "^6.2.0", | ||
"eslint-plugin-html": "^7.1.0", | ||
"eslint-plugin-jasmine": "^4.1.3", | ||
"eslint-plugin-jest": "^26.5.3", | ||
"eslint-plugin-jest": "^27.2.1", | ||
"eslint-plugin-jest-async": "^1.0.3", | ||
"eslint-plugin-jest-dom": "^4.0.2", | ||
"eslint-plugin-jest-dom": "^4.0.3", | ||
"eslint-plugin-json": "^3.1.0", | ||
"eslint-plugin-lodash": "^7.4.0", | ||
"eslint-plugin-lodash-fp": "^2.2.0-a1", | ||
"eslint-plugin-markdown": "^2.2.1", | ||
"eslint-plugin-mocha": "^10.0.5", | ||
"eslint-plugin-markdown": "^3.0.0", | ||
"eslint-plugin-mocha": "^10.1.0", | ||
"eslint-plugin-mocha-cleanup": "^1.11.3", | ||
"eslint-plugin-no-constructor-bind": "^2.0.4", | ||
"eslint-plugin-no-secrets": "^0.8.9", | ||
"eslint-plugin-no-unsanitized": "^4.0.1", | ||
"eslint-plugin-no-unsanitized": "^4.0.2", | ||
"eslint-plugin-no-use-extend-native": "^0.5.0", | ||
"eslint-plugin-optimize-regex": "^1.2.1", | ||
"eslint-plugin-pii": "^1.0.2", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"eslint-plugin-promise": "^6.0.0", | ||
"eslint-plugin-qunit": "^7.3.0", | ||
"eslint-plugin-promise": "^6.1.1", | ||
"eslint-plugin-qunit": "^7.3.4", | ||
"eslint-plugin-ramda": "^2.5.1", | ||
@@ -81,25 +83,26 @@ "eslint-plugin-react-redux": "^4.0.0", | ||
"eslint-plugin-scanjs-rules": "^0.2.1", | ||
"eslint-plugin-security": "^1.5.0", | ||
"eslint-plugin-simple-import-sort": "^7.0.0", | ||
"eslint-plugin-sonarjs": "^0.13.0", | ||
"eslint-plugin-security": "^1.7.1", | ||
"eslint-plugin-simple-import-sort": "^10.0.0", | ||
"eslint-plugin-sonarjs": "^0.18.0", | ||
"eslint-plugin-switch-case": "^1.1.2", | ||
"eslint-plugin-testing-library": "^5.5.1", | ||
"eslint-plugin-unicorn": "^43.0.1", | ||
"husky": "^8.0.1", | ||
"eslint-plugin-testing-library": "^5.10.2", | ||
"eslint-plugin-unicorn": "^45.0.2", | ||
"eslint-plugin-xss": "^0.1.12", | ||
"husky": "^8.0.3", | ||
"in-publish": "^2.0.1", | ||
"jasmine": "^4.2.1", | ||
"jest": "^28.1.2", | ||
"jasmine": "^4.5.0", | ||
"jest": "^29.4.3", | ||
"jest-dom": "^4.0.0", | ||
"lint-staged": "^13.0.3", | ||
"lint-staged": "^13.1.2", | ||
"lodash-fp": "^0.10.4", | ||
"mocha": "^10.0.0", | ||
"prettier": "^2.7.1", | ||
"mocha": "^10.2.0", | ||
"prettier": "^2.8.4", | ||
"prettier-cli": "^0.1.0", | ||
"qunit": "^2.19.1", | ||
"qunit": "^2.19.4", | ||
"react": "^18.2.0", | ||
"react-redux": "^8.0.2", | ||
"redux": "^4.2.0", | ||
"redux-saga": "^1.1.3", | ||
"react-redux": "^8.0.5", | ||
"redux": "^4.2.1", | ||
"redux-saga": "^1.2.2", | ||
"safe-publish-latest": "^2.0.0", | ||
"snyk": "^1.966.0", | ||
"snyk": "^1.1105.0", | ||
"testing-library": "0.0.2" | ||
@@ -106,0 +109,0 @@ }, |
@@ -0,5 +1,8 @@ | ||
<div align="center"> | ||
<img src="https://eslint.org/icon.svg" width="160" alt=""> | ||
# eslint-config-adjunct | ||
_A reasonable collection of *plugins* to use alongside your main esLint configuration_ | ||
</div> | ||
> _A reasonable collection of *plugins* to use alongside your main esLint configuration_ | ||
This config is designed to be used alongside any of the major esLint configs, such as [airbnb](https://github.com/airbnb/javascript), [standard](https://github.com/standard/eslint-config-standard) or [eslint:recommended](https://eslint.org/docs/rules/). It provides a range of useful plugins that are often too time-consuming to setup and provides an easy way to install just the plugins you need, based on your project's dependencies. | ||
@@ -74,2 +77,3 @@ | ||
- [eslint-plugin-const-case](https://github.com/k03mad/eslint-plugin-const-case#readme) | ||
- [eslint-plugin-array-func](https://github.com/freaktechnik/eslint-plugin-array-func) | ||
@@ -98,4 +102,6 @@ - [eslint-plugin-eslint-comments](https://github.com/mysticatea/eslint-plugin-eslint-comments) | ||
- [eslint-plugin-no-unsanitized](https://github.com/mozilla/eslint-plugin-no-unsanitized) | ||
- [eslint-plugin-pii](https://github.com/shiva-hack/eslint-plugin-pii) | ||
- [eslint-plugin-scanjs-rules](https://github.com/mozfreddyb/eslint-plugin-scanjs-rules) | ||
- [eslint-plugin-security](https://github.com/nodesecurity/eslint-plugin-security) | ||
- [eslint-plugin-](https://github.com/Rantanen/eslint-plugin-xss) | ||
@@ -102,0 +108,0 @@ ### Test Libraries |
@@ -26,3 +26,3 @@ module.exports = { | ||
'jest/no-hooks': 0, | ||
'jest/no-if': 0, | ||
// 'jest/no-if': 0, deprecaded | ||
'jest/no-interpolation-in-snapshots': 0, | ||
@@ -29,0 +29,0 @@ 'jest/no-large-snapshots': 0, |
@@ -5,7 +5,3 @@ module.exports = { | ||
'unicorn/filename-case': 0, | ||
'unicorn/prefer-exponentiation-operator': 0, | ||
'unicorn/regex-shorthand': 0, | ||
'unicorn/no-array-for-each': 0, | ||
'unicorn/no-fn-reference-in-iterator': 0, | ||
'unicorn/no-reduce': 0, | ||
'unicorn/no-null': 0, | ||
@@ -15,3 +11,4 @@ 'unicorn/prefer-number-properties': 0, | ||
'unicorn/prevent-abbreviations': 0, | ||
"unicorn/switch-case-braces": ["error", "avoid"], | ||
}, | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36274
58
833
178
68
+ Addedargparse@2.0.1(transitive)
+ Addedbrace-expansion@2.0.1(transitive)
+ Addedcosmiconfig@8.3.6(transitive)
+ Addedglob@9.3.5(transitive)
+ Addedjs-yaml@4.1.0(transitive)
+ Addedlru-cache@10.4.3(transitive)
+ Addedminimatch@8.0.4(transitive)
+ Addedminipass@4.2.87.1.2(transitive)
+ Addedmkdirp@2.1.6(transitive)
+ Addedpath-scurry@1.11.1(transitive)
+ Addedrimraf@4.4.1(transitive)
- Removed@types/parse-json@4.0.2(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedcosmiconfig@7.1.0(transitive)
- Removedglob@7.2.3(transitive)
- Removedinflight@1.0.6(transitive)
- Removedinherits@2.0.4(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedmkdirp@1.0.4(transitive)
- Removedonce@1.4.0(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedrimraf@3.0.2(transitive)
- Removedwrappy@1.0.2(transitive)
- Removedyaml@1.10.2(transitive)
Updatedcosmiconfig@^8.0.0
Updatedmkdirp@^2.1.3
Updatedrimraf@^4.1.2