eslint-plugin-no-relative-import-paths
Advanced tools
Comparing version 1.6.0 to 1.6.1
{ | ||
"name": "eslint-plugin-no-relative-import-paths", | ||
"version": "v1.6.0", | ||
"version": "v1.6.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -36,2 +36,21 @@ # eslint-plugin-no-relative-import-paths | ||
## Using the new flat config | ||
Here is an example of how to use with the new flat config. | ||
```ts | ||
import noRelativeImportPaths from 'eslint-plugin-no-relative-import-paths'; | ||
export default [ | ||
{ | ||
plugins: { | ||
'no-relative-import-paths': noRelativeImportPaths, | ||
}, | ||
rules: { | ||
'no-relative-import-paths/no-relative-import-paths': 'error', | ||
}, | ||
}, | ||
] | ||
``` | ||
## Rule options | ||
@@ -38,0 +57,0 @@ |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
8688
155