@enact/template-moonstone
Advanced tools
Comparing version
{ | ||
"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 @@ |
Explicitly Unlicensed Item
License(Experimental) Something was found which is explicitly marked as unlicensed.
Found 1 instance in 1 package
Explicitly Unlicensed Item
License(Experimental) Something was found which is explicitly marked as unlicensed.
Found 1 instance in 1 package
29185
1.33%