4.0.1 • Published 2 months ago

@talend/eslint-config v4.0.1

Weekly downloads
3
License
Apache-2.0
Repository
github
Last release
2 months ago

@talend/eslint-config

This module is a set of shared eslint configuration.

How to use

Install the module

npm install -D @talend/eslint-config

or with yarn

yarn add --dev @talend/eslint-config

Create an .eslintrc file in the folder you need to lint.

{
  "extends": "@talend/eslint-config"
}

How to contribute

  • Make sure that you update the version in the package.json according to the semver-level of your update
  • Make sure this document (especially the Profiles part) is up-to-date with your contribution
  • Breaking any of the configuration or changing an exported configuration's name makes your update a breaking version
  • As there are two configs, please fill the changelog below so that it's easier for other devs to find out which modifications break their configuration

Changelog

  • 2.0.1: Fix broken link between API team's jasmine and generic test configs
  • 2.0.0: CodeceptJS config removed, the tests should be run with noGlobals attribute, the globals are no longer required The file api-test-e2e was removed, the file api-test is now generic, the file api-test-jasmine replaces the previous api-test file with Jasmine conf
  • 1.0.0: Initial contribution

Profiles

There are multiple profiles available for now. The idea is to merge them eventually. The following table indicated what value to set to refers to each profile.

ExtendsDescription
@talend/eslint-configDefault Talend configuration
@talend/eslint-config/api-app.yamlAPI team, javascript base configuration
@talend/eslint-config/api-app-react.yamlAPI team, react applications configuration
@talend/eslint-config/api-app-angular.yamlAPI team, Angular applications configuration
@talend/eslint-config/api-test.yamlAPI team, test base configuration
@talend/eslint-config/api-test-jasmine.yamlAPI team, unit tests configuration
@talend/eslint-config/api-packaging.yamlAPI team, packaging script configuration
4.0.1

2 months ago

4.0.0

3 months ago

3.0.3

4 months ago

3.0.2

4 months ago

3.0.1

4 months ago

3.0.0

1 year ago

2.1.0

2 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.0.0

4 years ago