Skip to content

Commit

Permalink
chore(repo): use negative config for lint
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEnder committed Jan 4, 2023
1 parent 627c65d commit 46b9687
Show file tree
Hide file tree
Showing 59 changed files with 73 additions and 749 deletions.
8 changes: 1 addition & 7 deletions graph/client-e2e/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,7 @@
"parallel": false
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["graph/client-e2e/**/*.ts"]
}
}
"lint": {}
},
"implicitDependencies": ["graph-client"]
}
8 changes: 1 addition & 7 deletions graph/client/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -239,13 +239,7 @@
},
"defaultConfiguration": "dev"
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["graph/client/**/*.{ts,tsx,js,jsx}"]
}
},
"lint": {},
"test": {},
"storybook": {
"executor": "@nrwl/storybook:storybook",
Expand Down
8 changes: 1 addition & 7 deletions graph/ui-components/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,7 @@
"projectType": "library",
"tags": [],
"targets": {
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["graph/ui-components/**/*.{ts,tsx,js,jsx}"]
}
},
"lint": {},
"test": {},
"storybook": {
"executor": "@nrwl/storybook:storybook",
Expand Down
8 changes: 1 addition & 7 deletions graph/ui-graph/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,7 @@
"projectType": "library",
"tags": [],
"targets": {
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["graph/ui-graph/**/*.{ts,tsx,js,jsx}"]
}
},
"lint": {},
"test": {},
"storybook": {
"executor": "@nrwl/storybook:storybook",
Expand Down
8 changes: 1 addition & 7 deletions graph/ui-tooltips/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,7 @@
"projectType": "library",
"tags": [],
"targets": {
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["graph/ui-tooltips/**/*.{ts,tsx,js,jsx}"]
}
},
"lint": {},
"test": {},
"storybook": {
"executor": "@nrwl/storybook:storybook",
Expand Down
8 changes: 1 addition & 7 deletions nx-dev/data-access-documents/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@
"sourceRoot": "nx-dev/data-access-documents/src",
"projectType": "library",
"targets": {
"lint": {
"executor": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": ["nx-dev/data-access-documents/**/*.ts"]
},
"outputs": ["{options.outputFile}"]
},
"lint": {},
"test": {}
},
"tags": ["scope:nx-dev", "type:data-access"]
Expand Down
8 changes: 1 addition & 7 deletions nx-dev/data-access-menu/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@
"sourceRoot": "nx-dev/data-access-menu/src",
"projectType": "library",
"targets": {
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["nx-dev/data-access-menu/**/*.ts"]
}
},
"lint": {},
"test": {}
},
"tags": []
Expand Down
8 changes: 1 addition & 7 deletions nx-dev/data-access-packages/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@
"sourceRoot": "nx-dev/data-access-packages/src",
"projectType": "library",
"targets": {
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["nx-dev/data-access-packages/**/*.ts"]
}
},
"lint": {},
"test": {}
},
"tags": ["scope:nx-dev", "type:data-access"]
Expand Down
8 changes: 1 addition & 7 deletions nx-dev/feature-analytics/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@
"sourceRoot": "nx-dev/feature-analytics/src",
"projectType": "library",
"targets": {
"lint": {
"executor": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": ["nx-dev/feature-analytics/**/*.{ts,tsx,js,jsx}"]
},
"outputs": ["{options.outputFile}"]
},
"lint": {},
"test": {}
},
"tags": ["scope:nx-dev", "type:feature"]
Expand Down
8 changes: 1 addition & 7 deletions nx-dev/feature-doc-viewer/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@
"sourceRoot": "nx-dev/feature-doc-viewer/src",
"projectType": "library",
"targets": {
"lint": {
"executor": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": ["nx-dev/feature-doc-viewer/**/*.{ts,tsx,js,jsx}"]
},
"outputs": ["{options.outputFile}"]
},
"lint": {},
"test": {}
},
"tags": ["scope:nx-dev", "type:feature"]
Expand Down
10 changes: 1 addition & 9 deletions nx-dev/feature-package-schema-viewer/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,7 @@
"sourceRoot": "nx-dev/feature-package-schema-viewer/src",
"projectType": "library",
"targets": {
"lint": {
"executor": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": [
"nx-dev/feature-package-schema-viewer/**/*.{ts,tsx,js,jsx}"
]
},
"outputs": ["{options.outputFile}"]
},
"lint": {},
"test": {}
},
"tags": ["scope:nx-dev", "type:feature"]
Expand Down
8 changes: 1 addition & 7 deletions nx-dev/feature-search/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@
"sourceRoot": "nx-dev/feature-search/src",
"projectType": "library",
"targets": {
"lint": {
"executor": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": ["nx-dev/feature-search/**/*.{ts,tsx,js,jsx}"]
},
"outputs": ["{options.outputFile}"]
},
"lint": {},
"test": {}
},
"tags": ["scope:nx-dev", "type:feature"]
Expand Down
8 changes: 1 addition & 7 deletions nx-dev/models-document/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@
"sourceRoot": "nx-dev/models-document/src",
"projectType": "library",
"targets": {
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["nx-dev/models-document/**/*.ts"]
}
},
"lint": {},
"test": {}
},
"tags": ["scope:nx-dev", "type:util"]
Expand Down
8 changes: 1 addition & 7 deletions nx-dev/models-menu/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@
"sourceRoot": "nx-dev/models-menu/src",
"projectType": "library",
"targets": {
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["nx-dev/models-menu/**/*.ts"]
}
},
"lint": {},
"test": {}
},
"tags": ["scope:nx-dev", "type:util"]
Expand Down
8 changes: 1 addition & 7 deletions nx-dev/models-package/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@
"sourceRoot": "nx-dev/models-package/src",
"projectType": "library",
"targets": {
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["nx-dev/models-package/**/*.ts"]
}
},
"lint": {},
"test": {}
},
"tags": ["scope:nx-dev", "type:util"]
Expand Down
8 changes: 1 addition & 7 deletions nx-dev/nx-dev-e2e/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,7 @@
"testingType": "e2e"
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": ["nx-dev/nx-dev-e2e/**/*.{js,ts}"]
},
"outputs": ["{options.outputFile}"]
}
"lint": {}
},
"tags": ["scope:nx-dev", "type:e2e"],
"implicitDependencies": ["nx-dev"]
Expand Down
8 changes: 1 addition & 7 deletions nx-dev/nx-dev/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,7 @@
"buildTarget": "nx-dev:build:production"
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": ["nx-dev/nx-dev/**/*.{ts,tsx,js,jsx}"]
},
"outputs": ["{options.outputFile}"]
},
"lint": {},
"test": {}
},
"tags": ["scope:nx-dev", "type:app"],
Expand Down
8 changes: 1 addition & 7 deletions nx-dev/ui-commands/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,7 @@
"projectType": "library",
"tags": ["scope:nx-dev", "type:ui"],
"targets": {
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["nx-dev/ui-commands/**/*.{ts,tsx,js,jsx}"]
}
},
"lint": {},
"test": {}
}
}
8 changes: 1 addition & 7 deletions nx-dev/ui-common/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@
"sourceRoot": "nx-dev/ui-common/src",
"projectType": "library",
"targets": {
"lint": {
"executor": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": ["nx-dev/ui-common/**/*.{ts,tsx,js,jsx}"]
},
"outputs": ["{options.outputFile}"]
},
"lint": {},
"test": {}
},
"tags": ["scope:nx-dev", "type:ui"]
Expand Down
8 changes: 1 addition & 7 deletions nx-dev/ui-community/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,7 @@
"projectType": "library",
"tags": ["scope:nx-dev", "type:ui"],
"targets": {
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["nx-dev/ui-community/**/*.{ts,tsx,js,jsx}"]
}
},
"lint": {},
"test": {}
}
}
8 changes: 1 addition & 7 deletions nx-dev/ui-conference/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,7 @@
"projectType": "library",
"tags": ["scope:nx-dev", "type:feature"],
"targets": {
"lint": {
"executor": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": ["nx-dev/ui-conference/**/*.{ts,tsx,js,jsx}"]
},
"outputs": ["{options.outputFile}"]
},
"lint": {},
"test": {}
}
}
8 changes: 1 addition & 7 deletions nx-dev/ui-home/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,7 @@
"projectType": "library",
"tags": ["scope:nx-dev", "type:ui"],
"targets": {
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["nx-dev/ui-home/**/*.{ts,tsx,js,jsx}"]
}
},
"lint": {},
"xtest": {
"executor": "@nrwl/jest:jest",
"outputs": ["{workspaceRoot}/coverage/nx-dev/ui-home"],
Expand Down
17 changes: 2 additions & 15 deletions nx-dev/ui-markdoc/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,7 @@
"projectType": "library",
"tags": [],
"targets": {
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["nx-dev/ui-markdoc/**/*.{ts,tsx,js,jsx}"]
}
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": ["{workspaceRoot}/coverage/nx-dev/ui-markdoc"],
"options": {
"jestConfig": "nx-dev/ui-markdoc/jest.config.ts",
"passWithNoTests": true
}
}
"lint": {},
"test": {}
}
}
8 changes: 1 addition & 7 deletions nx-dev/ui-member-card/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,7 @@
"projectType": "library",
"tags": ["scope:nx-dev", "type:ui"],
"targets": {
"lint": {
"executor": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": ["nx-dev/ui-member-card/**/*.{ts,tsx,js,jsx}"]
},
"outputs": ["{options.outputFile}"]
},
"lint": {},
"test": {}
}
}
8 changes: 1 addition & 7 deletions nx-dev/ui-references/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,7 @@
"projectType": "library",
"tags": [],
"targets": {
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["nx-dev/ui-references/**/*.{ts,tsx,js,jsx}"]
}
},
"lint": {},
"test": {}
}
}
8 changes: 1 addition & 7 deletions nx-dev/ui-sponsor-card/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,7 @@
"projectType": "library",
"tags": ["scope:nx-dev", "type:ui"],
"targets": {
"lint": {
"executor": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": ["nx-dev/ui-sponsor-card/**/*.{ts,tsx,js,jsx}"]
},
"outputs": ["{options.outputFile}"]
},
"lint": {},
"test": {}
}
}
Loading

0 comments on commit 46b9687

Please sign in to comment.