File tree Expand file tree Collapse file tree 4 files changed +24
-2
lines changed
Expand file tree Collapse file tree 4 files changed +24
-2
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " eslint-plugin-json-schema-validator " : minor
3+ ---
4+
5+ feat: use ` @eslint-community ` packages
Original file line number Diff line number Diff line change @@ -29,6 +29,23 @@ module.exports = {
2929 "no-lonely-if" : "off" ,
3030 "new-cap" : "off" ,
3131 "no-shadow" : "off" ,
32+
33+ // Repo rule
34+ "no-restricted-imports" : [
35+ "error" ,
36+ {
37+ patterns : [
38+ {
39+ group : [ "/regexpp" , "/regexpp/*" ] ,
40+ message : "Please use `@eslint-community/regexpp` instead." ,
41+ } ,
42+ {
43+ group : [ "/eslint-utils" , "/eslint-utils/*" ] ,
44+ message : "Please use `@eslint-community/eslint-utils` instead." ,
45+ } ,
46+ ] ,
47+ } ,
48+ ] ,
3249 } ,
3350 overrides : [
3451 {
Original file line number Diff line number Diff line change 4949 "eslint" : " >=6.0.0"
5050 },
5151 "dependencies" : {
52+ "@eslint-community/eslint-utils" : " ^4.3.0" ,
5253 "ajv" : " ^8.0.0" ,
5354 "debug" : " ^4.3.1" ,
54- "eslint-utils" : " ^3.0.0" ,
5555 "json-schema-migrate" : " ^2.0.0" ,
5656 "jsonc-eslint-parser" : " ^2.0.0" ,
5757 "minimatch" : " ^7.0.0" ,
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import type {
1111} from "vue-eslint-parser/ast" ;
1212import type { RuleContext } from "../../../types" ;
1313// @ts -expect-error -- no type def
14- import * as eslintUtils from "eslint-utils" ;
14+ import * as eslintUtils from "@eslint-community/ eslint-utils" ;
1515import type { Variable } from "eslint-scope" ;
1616
1717/**
You can’t perform that action at this time.
0 commit comments