This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

eslint-config-prodperfectqa

0.1.3 • Public • Published

eslint-config-prodperfectqa

Shareable ESLint configuration for ProdPerfect customer test suites.

Installation

Install the config with this command:

npm i eslint-config-prodperfectqa --save-dev

For ease of use, this package includes the eslint, babel-eslint, eslint-plugin-prodperfectqa, and eslint-plugin-prodperfectqa-skip-json dependencies, so there is no need to install them separately.

Configuration

To use the recommended configuration for customer test suites, set the extends property of the ESLint configuration file to eslint-config-prodperfectqa. By default, customer test suite should include a .eslintrc.json file at the repository root with the following contents:

{
  "extends": "eslint-config-prodperfectqa"
}

Use

Lint test suites by running eslint tests/test_*.js skip.json -c .eslintrc.json

For added convenience, include the following entry in the scripts section of the suite's package.json file:

"lint": "node_modules/.bin/eslint tests/regression-tests.js -c .eslintrc.json"

The test suite can then be linted by running npm run lint.

Package Sidebar

Install

npm i eslint-config-prodperfectqa

Weekly Downloads

9

Version

0.1.3

License

UNLICENSED

Unpacked Size

8.71 kB

Total Files

4

Last publish

Collaborators

  • matthewlindsey