Skip to content

Commit

Permalink
Update dependency eslint-plugin-regexp to ^0.8.0 (#117)
Browse files Browse the repository at this point in the history
* Update dependency eslint-plugin-regexp to ^0.8.0

* update

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ota-meshi <otameshiyo23@gmail.com>
  • Loading branch information
3 people authored Apr 14, 2021
1 parent 6aa6940 commit 63d5008
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 20 deletions.
8 changes: 5 additions & 3 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 @@ -67,7 +67,7 @@
"eslint-plugin-jsonc": "^1.0.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-regexp": "^0.7.0",
"eslint-plugin-regexp": "^0.8.0",
"eslint-plugin-vue": "^7.5.0",
"eslint-plugin-yml": "^0.9.0",
"eslint4b": "^7.3.1",
Expand Down
12 changes: 12 additions & 0 deletions tests/lib/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
"use strict"

const { rules } = require("eslint-plugin-regexp")

module.exports = {
rules: Object.keys(rules)
.map((name) => `regexp/${name}`)
.reduce((p, c) => {
p[c] = "off"
return p
}, {}),
}
16 changes: 0 additions & 16 deletions tests/lib/utils/regexp-ast.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
/*
eslint-disable
eslint-comments/disable-enable-pair,
regexp/no-dupe-characters-character-class,
regexp/prefer-question-quantifier,
regexp/prefer-star-quantifier,
regexp/prefer-character-class,
regexp/prefer-range,
regexp/order-in-character-class,
regexp/no-useless-character-class,
regexp/no-useless-non-capturing-group,
regexp/no-useless-range,
regexp/prefer-quantifier,
regexp/letter-case,
regexp/no-dupe-disjunctions,
--------------------------------------------- ignore */
import assert from "assert"
import { parseRegExpLiteral } from "regexpp"
import { isCoveredNode, isEqualNodes } from "../../../lib/utils/regexp-ast"
Expand Down

0 comments on commit 63d5008

Please sign in to comment.