6.14.0 โ€ข Published 29 days ago

@americanexpress/eslint-plugin-one-app v6.14.0

Weekly downloads
788
License
Apache-2.0
Repository
github
Last release
29 days ago

@americanexpress/eslint-plugin-one-app

npm

This package has Eslint rules to be used by One App modules.

๐Ÿ“– Table of Contents

๐Ÿคนโ€Usage

Usage outside one-app

You'll first need to install Eslint and this package using the below command.

npm install --save-dev eslint @americanexpress/eslint-plugin-one-app

Add @americanexpress/one-app to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
  "plugins": ["@americanexpress/one-app"]
}

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

{
  "rules": {
    "@americanexpress/one-app/no-app-config-on-client": "error"
  }
}

See ESLint documentation for more information about extending configuration files.

๐Ÿ“œ Rules

RuleDescriptionFixable
@americanexpress/one-app/no-app-config-on-clientDisallows appConfig details from being included in client bundlesfalse
6.14.0

29 days ago

6.13.5

11 months ago

6.13.3

1 year ago

6.13.4

1 year ago

6.13.2

1 year ago

6.13.1

1 year ago

6.13.0

2 years ago

6.13.0-beta.1

3 years ago

6.12.0

3 years ago

6.11.0

3 years ago

6.10.0

4 years ago

6.9.0

4 years ago

6.8.0

4 years ago

6.7.0

4 years ago

6.6.0

4 years ago

6.5.0

4 years ago

6.4.0

4 years ago

6.3.0

4 years ago

6.2.0

4 years ago

6.1.1

4 years ago

6.1.0

4 years ago

6.0.0

4 years ago