Skip to content

Commit

Permalink
Fix linter rules, etc... to match new naming
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainMuller committed Sep 28, 2021
1 parent c99b1c5 commit 4857d47
Show file tree
Hide file tree
Showing 743 changed files with 589 additions and 574 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
uses: actions/checkout@v2

- name: Install & Build prlint
run: cd tools/prlint && yarn install --frozen-lockfile && yarn build+test
run: cd tools/@aws-cdk/prlint && yarn install --frozen-lockfile && yarn build+test

- name: Validate
uses: ./tools/prlint
uses: ./tools/@aws-cdk/prlint
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO_ROOT: ${{ github.workspace }}
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ The following linters are used:

#### eslint

All packages in the repo use a standard base configuration found at [eslintrc.js](tools/cdk-build-tools/config/eslintrc.js).
All packages in the repo use a standard base configuration found at [eslintrc.js](tools/@aws-cdk/cdk-build-tools/config/eslintrc.js).
This can be customized for any package by modifying the `.eslintrc` file found at its root.

If you're using the VS Code and would like to see eslint violations on it, install the [eslint
Expand Down Expand Up @@ -780,7 +780,7 @@ the feature flag.
A couple of [jest helper methods] are available for use with unit tests. These help run unit tests that test
behaviour when flags are enabled or disabled in the two major versions.

[jest helper methods]: https://github.com/aws/aws-cdk/blob/master/tools/cdk-build-tools/lib/feature-flag.ts
[jest helper methods]: https://github.com/aws/aws-cdk/blob/master/tools/@aws-cdk/cdk-build-tools/lib/feature-flag.ts

## Versioning and Release

Expand Down
1 change: 1 addition & 0 deletions lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"packages/@monocdk-experiment/*",
"packages/@aws-cdk/*/lambda-packages/*",
"tools/*",
"tools/@aws-cdk/*",
"scripts/script-tests"
],
"rejectCycles": "true",
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"include": "dependencies/node-version"
},
"scripts": {
"pkglint": "lerna --scope pkglint run build && lerna run pkglint",
"pkglint": "lerna --scope @aws-cdk/pkglint run build && lerna run pkglint",
"build": "./build.sh",
"pack": "./pack.sh",
"compat": "./scripts/check-api-compatibility.sh",
Expand Down Expand Up @@ -64,7 +64,8 @@
"packages/@monocdk-experiment/*",
"packages/@aws-cdk/*/lambda-packages/*",
"tools/*",
"scripts/script-tests"
"tools/@aws-cdk/*",
"scripts/@aws-cdk/script-tests"
],
"nohoist": [
"**/jszip",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const baseConfig = require('cdk-build-tools/config/eslintrc');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/jest.config');
const baseConfig = require('../../../tools/@aws-cdk/cdk-build-tools/config/jest.config');
module.exports = {
...baseConfig,
coverageThreshold: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,16 +92,16 @@
"path": "../../@aws-cdk/assert"
},
{
"path": "../../../tools/cdk-build-tools"
"path": "../../../tools/@aws-cdk/cdk-build-tools"
},
{
"path": "../../../tools/cdk-integ-tools"
"path": "../../../tools/@aws-cdk/cdk-integ-tools"
},
{
"path": "../../../tools/cfn2ts"
"path": "../../../tools/@aws-cdk/cfn2ts"
},
{
"path": "../../../tools/pkglint"
"path": "../../../tools/@aws-cdk/pkglint"
}
],
"_generated_by_jsii_": "Generated by jsii - safe to delete, and ideally should be in .gitignore"
Expand Down
2 changes: 1 addition & 1 deletion packages/@aws-cdk/alexa-ask/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const baseConfig = require('cdk-build-tools/config/eslintrc');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/alexa-ask/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
const baseConfig = require('cdk-build-tools/config/jest.config');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/jest.config');
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/app-delivery/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const baseConfig = require('cdk-build-tools/config/eslintrc');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/app-delivery/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/jest.config');
const baseConfig = require('../../../tools/@aws-cdk/cdk-build-tools/config/jest.config');
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/assert-internal/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const baseConfig = require('cdk-build-tools/config/eslintrc');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/assert-internal/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const baseConfig = require('cdk-build-tools/config/jest.config');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/jest.config');
module.exports = {
...baseConfig,
coverageThreshold: {
Expand Down
2 changes: 1 addition & 1 deletion packages/@aws-cdk/assert/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const baseConfig = require('cdk-build-tools/config/eslintrc');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/assert/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const baseConfig = require('cdk-build-tools/config/jest.config');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/jest.config');
module.exports = {
...baseConfig,
coverageThreshold: {
Expand Down
2 changes: 1 addition & 1 deletion packages/@aws-cdk/assertions/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const baseConfig = require('cdk-build-tools/config/eslintrc');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = {
...baseConfig,
Expand Down
2 changes: 1 addition & 1 deletion packages/@aws-cdk/assertions/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const baseConfig = require('cdk-build-tools/config/jest.config');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/jest.config');
module.exports = {
...baseConfig,
coverageThreshold: {
Expand Down
13 changes: 12 additions & 1 deletion packages/@aws-cdk/assertions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,18 @@
"node": ">= 10.13.0 <13 || >=13.7.0"
},
"nozem": {
"ostools": ["dirname", "cd", "bash", "rm", "xargs", "sed", "mkdir", "rsync", "cat", "find"],
"ostools": [
"dirname",
"cd",
"bash",
"rm",
"xargs",
"sed",
"mkdir",
"rsync",
"cat",
"find"
],
"additionalDirs": [
"../cfnspec/lib",
"ARTIFACTS:../cfnspec/spec",
Expand Down
2 changes: 1 addition & 1 deletion packages/@aws-cdk/assets/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const baseConfig = require('cdk-build-tools/config/eslintrc');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
4 changes: 2 additions & 2 deletions packages/@aws-cdk/assets/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/jest.config');
module.exports = baseConfig;
const baseConfig = require('../../../tools/@aws-cdk/cdk-build-tools/config/jest.config');
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-accessanalyzer/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const baseConfig = require('cdk-build-tools/config/eslintrc');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-accessanalyzer/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
const baseConfig = require('cdk-build-tools/config/jest.config');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/jest.config');
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-acmpca/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const baseConfig = require('cdk-build-tools/config/eslintrc');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-acmpca/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
const baseConfig = require('cdk-build-tools/config/jest.config');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/jest.config');
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-amazonmq/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const baseConfig = require('cdk-build-tools/config/eslintrc');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-amazonmq/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
const baseConfig = require('cdk-build-tools/config/jest.config');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/jest.config');
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-amplify/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const baseConfig = require('cdk-build-tools/config/eslintrc');
const baseConfig = require('@aws-cdk/cdk-build-toolsild-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-amplify/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
const baseConfig = require('cdk-build-tools/config/jest.config');
const baseConfig = require('@aws-cdk/cdk-build-toolsild-tools/config/jest.config');
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-apigateway/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const baseConfig = require('cdk-build-tools/config/eslintrc');
const baseConfig = require('@aws-cdk/cdk-build-toolsild-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-apigateway/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const baseConfig = require('cdk-build-tools/config/jest.config');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/jest.config');
module.exports = {
...baseConfig,
coverageThreshold: {
Expand Down
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-apigateway/test/usage-plan.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import '@aws-cdk/assert-internal/jest';
import { ResourcePart } from '@aws-cdk/assert-internal';
import * as cdk from '@aws-cdk/core';
import * as cxapi from '@aws-cdk/cx-api';
import { testFutureBehavior } from 'cdk-build-tools/lib/feature-flag';
import { testFutureBehavior } from '@aws-cdk/cdk-build-tools/lib/feature-flag';
import * as apigateway from '../lib';

const RESOURCE_TYPE = 'AWS::ApiGateway::UsagePlan';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const baseConfig = require('cdk-build-tools/config/eslintrc');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
4 changes: 2 additions & 2 deletions packages/@aws-cdk/aws-apigatewayv2-authorizers/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const baseConfig = require('cdk-build-tools/config/jest.config');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/jest.config');
module.exports = {
...baseConfig,
coverageThreshold: {
Expand All @@ -7,4 +7,4 @@ module.exports = {
branches: 70,
},
},
};
};
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const baseConfig = require('cdk-build-tools/config/eslintrc');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
const baseConfig = require('cdk-build-tools/config/jest.config');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/jest.config');
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-apigatewayv2/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const baseConfig = require('cdk-build-tools/config/eslintrc');
const baseConfig = require('@aws-cdk/cdk-build-toolsild-toolsild-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-apigatewayv2/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
const baseConfig = require('cdk-build-tools/config/jest.config');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/jest.config');
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-appconfig/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const baseConfig = require('cdk-build-tools/config/eslintrc');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-appconfig/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
const baseConfig = require('cdk-build-tools/config/jest.config');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/jest.config');
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-appflow/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const baseConfig = require('cdk-build-tools/config/eslintrc');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-appflow/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
const baseConfig = require('cdk-build-tools/config/jest.config');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/jest.config');
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-appintegrations/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const baseConfig = require('cdk-build-tools/config/eslintrc');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-appintegrations/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
const baseConfig = require('cdk-build-tools/config/jest.config');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/jest.config');
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-applicationautoscaling/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const baseConfig = require('cdk-build-tools/config/eslintrc');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/jest.config');
const baseConfig = require('../../../tools/@aws-cdk/cdk-build-tools/config/jest.config');
module.exports = {
...baseConfig,
coverageThreshold: {
Expand Down
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-applicationinsights/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const baseConfig = require('cdk-build-tools/config/eslintrc');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-applicationinsights/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
const baseConfig = require('cdk-build-tools/config/jest.config');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/jest.config');
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-appmesh/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const baseConfig = require('cdk-build-tools/config/eslintrc');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-appmesh/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/jest.config');
const baseConfig = require('../../../tools/@aws-cdk/cdk-build-tools/config/jest.config');
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-apprunner/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const baseConfig = require('cdk-build-tools/config/eslintrc');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-apprunner/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
const baseConfig = require('cdk-build-tools/config/jest.config');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/jest.config');
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-appstream/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const baseConfig = require('cdk-build-tools/config/eslintrc');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-appstream/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
const baseConfig = require('cdk-build-tools/config/jest.config');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/jest.config');
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-appsync/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const baseConfig = require('cdk-build-tools/config/eslintrc');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-appsync/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const baseConfig = require('cdk-build-tools/config/jest.config');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/jest.config');
module.exports = {
...baseConfig,
coverageThreshold: {
Expand Down
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-aps/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const baseConfig = require('cdk-build-tools/config/eslintrc');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-aps/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
const baseConfig = require('cdk-build-tools/config/jest.config');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/jest.config');
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-athena/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const baseConfig = require('cdk-build-tools/config/eslintrc');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-athena/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
const baseConfig = require('cdk-build-tools/config/jest.config');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/jest.config');
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-auditmanager/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const baseConfig = require('cdk-build-tools/config/eslintrc');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-auditmanager/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
const baseConfig = require('cdk-build-tools/config/jest.config');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/jest.config');
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-autoscaling-common/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const baseConfig = require('cdk-build-tools/config/eslintrc');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-autoscaling-common/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/jest.config');
const baseConfig = require('../../../tools/@aws-cdk/cdk-build-tools/config/jest.config');
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-autoscaling-hooktargets/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const baseConfig = require('cdk-build-tools/config/eslintrc');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
const baseConfig = require('cdk-build-tools/config/jest.config');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/jest.config');
module.exports = baseConfig;
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-autoscaling/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const baseConfig = require('cdk-build-tools/config/eslintrc');
const baseConfig = require('@aws-cdk/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
Loading

0 comments on commit 4857d47

Please sign in to comment.