1.0.0 • Published 1 year ago

@ctlyst-test/eslint-config-test-id v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

ctlyst-eslint-config

ESLint config used at ctlyst.id

This is the common ESLint config used by projects at ctlyst.id.

Installation

Install eslint and @ctlyst.id/eslint-config-test-id using your favourite package manager:

# yarn
yarn add --dev eslint @ctlyst.id/eslint-config-test-id
# npm
npm install --save-dev eslint @ctlyst.id/eslint-config-test-id

Then, in your .eslintrc file, extend @ctlyst.id/eslint-config-test-id.

{
  "extends": ["@ctlyst.id/eslint-config-test-id"],
  "@ctlyst.id/eslint-config-test-id-test-id/pages_container-data-test-id": [
    "error",
    {
      "testIdPattern": "^CT_([a-zA-Z0-9\\[\\]\\/]*)_{fileName}_([a-zA-Z0-9\\[\\]\\/]*)?$",
      "dataTestId": "data-test-id"
    }
  ]
}

For more setups, take a look at the templates directory

Versioning

Note that this package does not specifically follow Semantic Versioning, since all changes in this package are relative to the changes in our Development Standard. Major version bumps will occur when we transition into a new major version of ESLint.

To recap:

  • major: Will be bumped when we transition to a new major version of ESLint
  • minor: Potentially breaking changes that's still within the same major version of ESLint
  • patch: Minor patches/bugfixes

Contributing

Issues and Pull Requests welcome! Please read the Contributing Guidelines beforehand.

License

MIT (c) ctlyst.id

Maintainers

  • Fahmi Idris – ctlyst.id