🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@enact/template-moonstone

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@enact/template-moonstone - npm Package Compare versions

Comparing version

to
4.5.1

2

package.json
{
"name": "@enact/template-moonstone",
"version": "4.5.0",
"version": "4.5.1",
"description": "A template generator for Enact Moonstone applications.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -115,2 +115,17 @@ This project was bootstrapped with [@enact/cli](https://github.com/enactjs/cli).

The [eslint-config-enact-proxy](https://github.com/enactjs/eslint-config-enact-proxy) acts like a small proxy config, redirecting ESLint to use a globally-installed Enact ESLint config.
`eslint-config-enact-proxy` needs to be installed locally on a project to enable in-editor linting:
```sh
npm install --save-dev eslint-config-enact-proxy
```
Also, you need to modify `eslintConfig` property in `package.json`:
```json
"eslintConfig": {
"extends": "enact-proxy"
},
```
>**NOTE**: For strict mode, use `"extends": "enact-proxy/strict"`.
In order for in-editor linting to work with our updated ESLint config, you'll need to upgrade to ESLint 7 or later. This can be installed globally by running:

@@ -125,3 +140,3 @@

```sh
npm remove -g eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-babel @babel/eslint-parser eslint-plugin-jest eslint-plugin-enact eslint-config-enact
npm uninstall -g eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-babel @babel/eslint-parser eslint-plugin-jest eslint-plugin-enact eslint-config-enact
```

@@ -128,0 +143,0 @@