Skip to content
This repository was archived by the owner on Apr 13, 2020. It is now read-only.

Commit cc8c111

Browse files
committed
Disable camelCase ESLint Rule
Disabling the `@typescript-eslint/camelcase` ESLint rule because we store a lot of config level objects use underscore case. - Disabled the ESLint `@typescript-eslint/camelcase` rule in `.eslintrc.js`. - Removed all page-level `@typescript-eslint/camelcase`.
1 parent 0c6cada commit cc8c111

24 files changed

+8
-23
lines changed

.eslintrc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,7 @@ module.exports = {
1212
"prettier",
1313
"prettier/@typescript-eslint",
1414
],
15+
rules: {
16+
"@typescript-eslint/camelcase": "off",
17+
},
1518
};

src/commands/deployment/dashboard.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable @typescript-eslint/camelcase */
21
jest.mock("open");
32
import open from "open";
43
jest.mock("../../config");

src/commands/deployment/onboard.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable @typescript-eslint/camelcase */
21
import fs from "fs";
32
import yaml from "js-yaml";
43
import * as path from "path";

src/commands/deployment/onboard.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable @typescript-eslint/camelcase */
21
import { StorageAccount } from "@azure/arm-storage/esm/models";
32
import commander from "commander";
43
import fs from "fs";

src/commands/deployment/validate.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable @typescript-eslint/camelcase */
21
import uuid from "uuid/v4";
32
import * as deploymenttable from "../../lib/azure/deploymenttable";
43
import {

src/commands/hld/pipeline.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable @typescript-eslint/camelcase */
21
import * as config from "../../config";
32
import * as azdo from "../../lib/azdoClient";
43
import { BUILD_SCRIPT_URL } from "../../lib/constants";

src/commands/hld/pipeline.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable @typescript-eslint/camelcase */
21
import { IBuildApi } from "azure-devops-node-api/BuildApi";
32
import {
43
BuildDefinition,

src/commands/infra/scaffold.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable @typescript-eslint/camelcase */
21
jest.mock("./generate");
32

43
import fs from "fs";

src/commands/init.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable @typescript-eslint/camelcase */
21
import axios from "axios";
32
import fs from "fs";
43
import inquirer from "inquirer";

src/commands/init.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable @typescript-eslint/camelcase */
21
import axios from "axios";
32
import commander from "commander";
43
import fs from "fs";

0 commit comments

Comments
 (0)