From 7136b07ed44bf6d03c3e8d05cefa0bab34dd186f Mon Sep 17 00:00:00 2001 From: yosuke ota Date: Fri, 3 Jul 2020 05:53:20 +0900 Subject: [PATCH] Update doc --- docs/README.md | 2 +- docs/rules/no-empty-lookarounds-assertion.md | 24 ++++++++------------ 2 files changed, 10 insertions(+), 16 deletions(-) diff --git a/docs/README.md b/docs/README.md index 40ab2aa42..fca9e2c8f 100644 --- a/docs/README.md +++ b/docs/README.md @@ -9,7 +9,7 @@ [![NPM downloads](https://img.shields.io/npm/dm/eslint-plugin-regexp.svg)](http://www.npmtrends.com/eslint-plugin-regexp) [![NPM downloads](https://img.shields.io/npm/dy/eslint-plugin-regexp.svg)](http://www.npmtrends.com/eslint-plugin-regexp) [![NPM downloads](https://img.shields.io/npm/dt/eslint-plugin-regexp.svg)](http://www.npmtrends.com/eslint-plugin-regexp) -[![Build Status](https://travis-ci.com/ota-meshi/eslint-plugin-regexp.svg?branch=master)](https://travis-ci.com/ota-meshi/eslint-plugin-regexp) +[![Build Status](https://github.com/ota-meshi/eslint-plugin-regexp/workflows/CI/badge.svg?branch=master)](https://github.com/ota-meshi/eslint-plugin-regexp/actions?query=workflow%3ACI) [![Coverage Status](https://coveralls.io/repos/github/ota-meshi/eslint-plugin-regexp/badge.svg?branch=master)](https://coveralls.io/github/ota-meshi/eslint-plugin-regexp?branch=master) ## Features diff --git a/docs/rules/no-empty-lookarounds-assertion.md b/docs/rules/no-empty-lookarounds-assertion.md index f8577d029..06c04a401 100644 --- a/docs/rules/no-empty-lookarounds-assertion.md +++ b/docs/rules/no-empty-lookarounds-assertion.md @@ -20,29 +20,23 @@ This rule reports empty lookahead assertion or empty lookbehind assertion. /* eslint regexp/no-empty-lookarounds-assertion: "error" */ /* ✓ GOOD */ - +var foo = /x(?=y)/ +var foo = /x(?!y)/ +var foo = /(?<=y)x/ +var foo = /(? ## :wrench: Options -```json -{ - "regexp/no-empty-lookarounds-assertion": ["error", { - - }] -} -``` - -- - -## :books: Further reading - -- +Nothing. ## Implementation