@o3r/eslint-config 12.3.0-prerelease.38 → 12.3.0-prerelease.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@o3r/eslint-config",
3
- "version": "12.3.0-prerelease.38",
3
+ "version": "12.3.0-prerelease.39",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -43,8 +43,8 @@
43
43
  "@angular/compiler": "^19.0.0",
44
44
  "@eslint-community/eslint-plugin-eslint-comments": "^4.4.0",
45
45
  "@eslint/js": "^8.57.0 || ^9.22.0",
46
- "@o3r/eslint-plugin": "^12.3.0-prerelease.38",
47
- "@o3r/schematics": "^12.3.0-prerelease.38",
46
+ "@o3r/eslint-plugin": "^12.3.0-prerelease.39",
47
+ "@o3r/schematics": "^12.3.0-prerelease.39",
48
48
  "@schematics/angular": "^19.0.0",
49
49
  "@stylistic/eslint-plugin": "~3.1.0",
50
50
  "@typescript-eslint/parser": "^8.15.0",
@@ -76,10 +76,10 @@
76
76
  "@eslint-community/eslint-plugin-eslint-comments": "^4.4.0",
77
77
  "@eslint/js": "~9.24.0",
78
78
  "@nx/eslint-plugin": "~20.7.0",
79
- "@o3r/build-helpers": "^12.3.0-prerelease.38",
80
- "@o3r/eslint-plugin": "^12.3.0-prerelease.38",
81
- "@o3r/schematics": "^12.3.0-prerelease.38",
82
- "@o3r/test-helpers": "^12.3.0-prerelease.38",
79
+ "@o3r/build-helpers": "^12.3.0-prerelease.39",
80
+ "@o3r/eslint-plugin": "^12.3.0-prerelease.39",
81
+ "@o3r/schematics": "^12.3.0-prerelease.39",
82
+ "@o3r/test-helpers": "^12.3.0-prerelease.39",
83
83
  "@schematics/angular": "~19.2.0",
84
84
  "@stylistic/eslint-plugin": "~3.1.0",
85
85
  "@types/eslint__js": "^8.42.3",
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/ng-add/index.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,KAAK,IAAI,EAGV,MAAM,4BAA4B,CAAC;AAIpC,OAAO,KAAK,EACV,qBAAqB,EACtB,MAAM,UAAU,CAAC;AAgIlB;;;GAGG;AACH,eAAO,MAAM,KAAK,GAAI,SAAS,qBAAqB,KAAG,IAKtD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/ng-add/index.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,KAAK,IAAI,EAGV,MAAM,4BAA4B,CAAC;AAOpC,OAAO,KAAK,EACV,qBAAqB,EACtB,MAAM,UAAU,CAAC;AAiIlB;;;GAGG;AACH,eAAO,MAAM,KAAK,GAAI,SAAS,qBAAqB,KAAG,IAKtD,CAAC"}
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ngAdd = void 0;
4
4
  const path = require("node:path");
5
5
  const schematics_1 = require("@angular-devkit/schematics");
6
+ const schematics_2 = require("@o3r/schematics");
6
7
  const index_1 = require("./eslint/index");
7
8
  const index_2 = require("./vscode/index");
8
9
  const reportMissingSchematicsDep = (logger) => (reason) => {
@@ -111,7 +112,8 @@ function ngAddFn(options) {
111
112
  (0, index_1.updateEslintConfig)(__dirname, options.projectName),
112
113
  options.fix ? handleOtterEslintErrors(options.projectName) : (0, schematics_1.noop)()
113
114
  ])
114
- : (0, schematics_1.noop)()
115
+ : (0, schematics_1.noop)(),
116
+ options.skipLinter ? (0, schematics_1.noop)() : (0, schematics_2.applyEditorConfig)()
115
117
  ])(tree, context);
116
118
  };
117
119
  }
@@ -6,5 +6,7 @@ export interface NgAddSchematicsSchema extends SchematicOptionObject {
6
6
  exactO3rVersion?: boolean;
7
7
  /** Fix known issues with our ESLint config after Otter application or library generation */
8
8
  fix?: boolean;
9
+ /** Skip the linter process which includes EditorConfig rules applying */
10
+ skipLinter: boolean;
9
11
  }
10
12
  //# sourceMappingURL=schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../schematics/ng-add/schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACtB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,qBAAsB,SAAQ,qBAAqB;IAClE,mBAAmB;IACnB,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,8CAA8C;IAC9C,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,4FAA4F;IAC5F,GAAG,CAAC,EAAE,OAAO,CAAC;CACf"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../schematics/ng-add/schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACtB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,qBAAsB,SAAQ,qBAAqB;IAClE,mBAAmB;IACnB,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,8CAA8C;IAC9C,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,4FAA4F;IAC5F,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,yEAAyE;IACzE,UAAU,EAAE,OAAO,CAAC;CACrB"}
@@ -18,6 +18,11 @@
18
18
  "fix": {
19
19
  "type": "boolean",
20
20
  "description": "Fix known issues with our ESLint config after Otter application or library generation"
21
+ },
22
+ "skipLinter": {
23
+ "type": "boolean",
24
+ "description": "Skip the linter process which includes EditorConfig rules applying",
25
+ "default": false
21
26
  }
22
27
  },
23
28
  "additionalProperties": true,