Skip to content

Commit

Permalink
feat(deps): bump eslint-plugin-regexp from 1.3.1 to 1.5.0 (#997)
Browse files Browse the repository at this point in the history
* build(deps): bump eslint-plugin-regexp from 1.3.1 to 1.5.0

Bumps [eslint-plugin-regexp](https://github.com/ota-meshi/eslint-plugin-regexp) from 1.3.1 to 1.5.0.
- [Release notes](https://github.com/ota-meshi/eslint-plugin-regexp/releases)
- [Commits](ota-meshi/eslint-plugin-regexp@v1.3.1...v1.5.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-regexp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* feat: add new rules

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Masafumi Koba <473530+ybiquitous@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and ybiquitous authored Nov 2, 2021
1 parent 0bfdc9d commit 3b707c7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-react": "^7.26.1",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-regexp": "^1.3.1"
"eslint-plugin-regexp": "^1.5.0"
},
"devDependencies": {
"@tsconfig/node12": "^1.0.9",
Expand Down
3 changes: 3 additions & 0 deletions rules/plugins/regexp.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,15 @@ module.exports = {
"regexp/prefer-lookaround": "error",
"regexp/prefer-named-backreference": "error",
"regexp/prefer-named-capture-group": "error",
"regexp/prefer-named-replacement": "error",
"regexp/prefer-quantifier": "error",
"regexp/prefer-regexp-exec": "error",
"regexp/prefer-regexp-test": "error",
"regexp/prefer-result-array-groups": "error",
"regexp/require-unicode-regexp": "error",
"regexp/sort-alternatives": "off",
"regexp/sort-character-class-elements": "warn",
"regexp/unicode-escape": "off",
"regexp/use-ignore-case": "warn",
},
};

0 comments on commit 3b707c7

Please sign in to comment.