0.3.4 • Published 4 years ago

eslint-plugin-require-data-test-id v0.3.4

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

eslint-plugin-require-data-test-id

Requires top level JSX components to have a data-test-id prop in a UUID format to help UI testing frameworks.

Installation

# npm 
npm install eslint-plugin-require-data-test-id --save-dev
 
# yarn 
yarn add npm install --save-dev eslint-plugin-require-data-test-id --dev

Usage

Add require-data-test-id in the plugins section of your .eslintrc

{
  "plugins": [
    "plugin-require-data-test-id"
  ]
}

Then configure the rules you want to use under the rules section.

{
  "rules": {
    "require-data-test-id/require-data-test-id": ["error"]"
  }
}
0.3.4

4 years ago

0.3.3

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.9

4 years ago

0.2.8

4 years ago

0.2.7

4 years ago

0.2.6

4 years ago

0.2.5

4 years ago

0.2.4

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.9

4 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago