Skip to content

Commit

Permalink
chore(eslint): fix eslint for intellij by using absolute path for tsc…
Browse files Browse the repository at this point in the history
…onfig.json

This is a less invasive fix for enabling ESLint support for IntelliJ IDE's. It works by simply changing the reference for `tsconfig.json` to use an absolute path before re-exporting the ESLint config in each package's `.eslintrc.js` file.

Related:
aws#7423
  • Loading branch information
andrestone authored May 12, 2020
1 parent 1819a6b commit 3b7b984
Show file tree
Hide file tree
Showing 163 changed files with 163 additions and 11 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# VSCode extension
.vscode/
/.favorites.json

# TypeScript incremental build states
Expand Down
8 changes: 0 additions & 8 deletions .vscode/settings.json

This file was deleted.

4 changes: 1 addition & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,7 @@ All packages in the repo use a standard base configuration found at [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
extension](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint). The VS Code setting [needed for
the extension to work](https://github.com/Microsoft/vscode-eslint#settings-options) on the monorepo is configured in
the [folder settings](https://code.visualstudio.com/docs/editor/multi-root-workspaces#_settings).
extension](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint).

#### pkglint

Expand Down
1 change: 1 addition & 0 deletions packages/@aws-cdk/alexa-ask/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/app-delivery/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/assert/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/assets/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-accessanalyzer/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-acmpca/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-amazonmq/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-amplify/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-apigateway/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-apigatewayv2/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-appconfig/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-applicationautoscaling/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-appmesh/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-appstream/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-appsync/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-athena/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-autoscaling-common/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-autoscaling-hooktargets/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-autoscaling/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-autoscalingplans/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-backup/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-batch/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-budgets/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-cassandra/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-ce/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-certificatemanager/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-chatbot/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-cloud9/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-cloudformation/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-cloudfront/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
2 changes: 2 additions & 0 deletions packages/@aws-cdk/aws-cloudtrail/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;

1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-cloudwatch-actions/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-cloudwatch/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-codebuild/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-codecommit/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-codedeploy/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-codeguruprofiler/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-codepipeline-actions/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-codepipeline/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-codestar/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-codestarconnections/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-codestarnotifications/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-cognito/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-config/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-datapipeline/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-dax/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-detective/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-directoryservice/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-dlm/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-dms/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-docdb/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-dynamodb-global/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-dynamodb/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-ec2/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-ecr-assets/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-ecr/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-ecs-patterns/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-ecs/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-efs/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-eks-legacy/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-eks/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-elasticache/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-elasticbeanstalk/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-elasticloadbalancing/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/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,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-elasticloadbalancingv2/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-elasticsearch/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-emr/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-events-targets/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-events/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-eventschemas/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-fms/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-fsx/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-gamelift/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-glue/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-greengrass/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-guardduty/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-iam/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-inspector/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-iot/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-iot1click/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-iotanalytics/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-iotevents/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-iotthingsgraph/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-kinesis/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-kinesisanalytics/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-kinesisfirehose/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-kms/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-lakeformation/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-lambda-destinations/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-lambda-event-sources/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-lambda-nodejs/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
1 change: 1 addition & 0 deletions packages/@aws-cdk/aws-lambda/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
const baseConfig = require('../../../tools/cdk-build-tools/config/eslintrc');
baseConfig.parserOptions.project = __dirname + '/tsconfig.json';
module.exports = baseConfig;
Loading

0 comments on commit 3b7b984

Please sign in to comment.