Skip to content

Commit

Permalink
Merge magicspace changes (update)
Browse files Browse the repository at this point in the history
  • Loading branch information
vilicvane committed Oct 29, 2023
2 parents 66c5347 + ebf04ef commit 09f78b0
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion general/src/composables/package.json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@ export default composable<ResolvedOptions>(
...packages.map(packageOptions =>
json(
Path.join(packageOptions.resolvedDir, 'package.json'),
// eslint-disable-next-line @typescript-eslint/no-explicit-any
(data: any) => {
return {
...data,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"scripts": {
"3": "yarn && yarn-deduplicate && yarn",
"build": "rimraf --glob */bld && tsc --build",
"lint": "eslint --no-error-on-unmatched-pattern . && run-in-every eslint-project --parallel --echo -- eslint --no-error-on-unmatched-pattern .",
"lint": "eslint --no-error-on-unmatched-pattern --report-unused-disable-directives . && run-in-every eslint-project --parallel --echo -- eslint --no-error-on-unmatched-pattern --report-unused-disable-directives .",
"lint-prettier": "prettier --check .",
"test": "yarn lint-prettier && yarn build && yarn lint"
},
Expand Down
2 changes: 0 additions & 2 deletions typescript/src/composables/eslintrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import type {ResolvedOptions} from '../library/index.js';

export default composable<ResolvedOptions>(({resolvedProjects: projects}) => {
return [
// eslint-disable-next-line @typescript-eslint/no-explicit-any
json('.eslintrc.json', (data: any) => {
return {
...data,
Expand All @@ -22,7 +21,6 @@ export default composable<ResolvedOptions>(({resolvedProjects: projects}) => {
};
}),
...projects.map(project =>
// eslint-disable-next-line @typescript-eslint/no-explicit-any
json(Path.join(project.inDir, '.eslintrc.json'), (data: any) => {
return {
...data,
Expand Down
2 changes: 0 additions & 2 deletions typescript/src/composables/package.json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ export default composable<ResolvedOptions>(
]);

return [
// eslint-disable-next-line @typescript-eslint/no-explicit-any
json('package.json', (data: any) => {
let {scripts = {}} = data;

Expand Down Expand Up @@ -131,7 +130,6 @@ export default composable<ResolvedOptions>(
};
}),
...packagesWithTypeScriptProject.map(packageOptions =>
// eslint-disable-next-line @typescript-eslint/no-explicit-any
json(packageOptions.packageJSONPath, (data: any) => {
const referencedPackageNames = _.compact(
_.union(
Expand Down
1 change: 0 additions & 1 deletion typescript/src/composables/vscode-settings.json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import type {ResolvedOptions} from '../library/index.js';

export default composable<ResolvedOptions>(
async ({resolvedProjects: projects}) => {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
return json('.vscode/settings.json', (data: any) => {
data = extendObjectProperties(
data,
Expand Down

0 comments on commit 09f78b0

Please sign in to comment.