eslint-plugin-path
Advanced tools
Comparing version 1.0.0-rc.4 to 1.0.0-rc.5
"use strict"; | ||
module.exports.rules = { | ||
"no-relative-imports": require("./rules/no-relative-imports"), | ||
}; | ||
const { noRelativeImport } = require("./rules"); | ||
module.exports.configs = { | ||
recommended: { | ||
plugins: ["path"], | ||
rules: { | ||
"path/no-relative-imports": ["error", { maxDepth: 2, suggested: true }], | ||
}, | ||
module.exports = { | ||
rules: { | ||
"no-relative-imports": noRelativeImport, | ||
}, | ||
all: { | ||
plugins: ["path"], | ||
rules: { | ||
"path/no-relative-imports": ["error", { maxDepth: 2, suggested: true }], | ||
configs: { | ||
recommended: { | ||
plugins: ["path"], | ||
rules: { | ||
"path/no-relative-imports": ["error", { maxDepth: 1, suggested: true }], | ||
}, | ||
}, | ||
all: { | ||
plugins: ["path"], | ||
rules: { | ||
"path/no-relative-imports": [ | ||
"error", | ||
{ maxDepth: 2, suggested: false }, | ||
], | ||
}, | ||
}, | ||
}, | ||
}; |
{ | ||
"name": "eslint-plugin-path", | ||
"version": "1.0.0-rc.4", | ||
"version": "1.0.0-rc.5", | ||
"main": "lib/index.js", | ||
@@ -40,2 +40,5 @@ "author": "qDanik <qdanik@yandex.ru>", | ||
}, | ||
"peerDependencies": { | ||
"eslint": ">=6.0.0" | ||
}, | ||
"directories": { | ||
@@ -42,0 +45,0 @@ "docs": "docs" |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
14532
14
401
0
1