@consid/eslint-config-sitevision
Advanced tools
Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "@consid/eslint-config-sitevision", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Eslint config for webapps/restapps, created to be used with boilerplate", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -10,2 +10,14 @@ # Eslint Config | ||
``` | ||
### Add the linting configuration: | ||
In [WebApps](https://developer.sitevision.se/docs/webapps/webapps-2/getting-started) and [RestApps](https://developer.sitevision.se/docs/rest-api/restapps) you need to add the linting that should be used. You will need to extend the configuration ***@consid/eslint-config-sitevision*** in your ***package.json*** file. | ||
```json | ||
"eslintConfig": { | ||
"extends": [ | ||
"@sitevision/eslint-config-recommended", | ||
"@sitevision/eslint-config-webapp-react", | ||
"@consid/eslint-config-sitevision" | ||
] | ||
}, | ||
``` | ||
You will now use Consids default [EsLint](https://eslint.org/) configuration. | ||
@@ -12,0 +24,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4098
75