@microsoft/metrics-ts 0.0.5-alpha.df2b2dbae.0 → 0.0.5-alpha.ebba7eb40.0

Sign up to get free protection for your applications and to get access to all the features.
package/.eslintrc.js CHANGED
@@ -1,3 +1,12 @@
1
1
  module.exports = {
2
+ parserOptions: {
3
+ tsconfigRootDir: __dirname,
4
+ },
2
5
  extends: ["../eslint-plugin-teamsfx/config/shared.js"],
6
+ overrides: [
7
+ {
8
+ files: ["src/**/*.ts"],
9
+ extends: ["../eslint-plugin-teamsfx/config/header.js"],
10
+ },
11
+ ],
3
12
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/metrics-ts",
3
- "version": "0.0.5-alpha.df2b2dbae.0",
3
+ "version": "0.0.5-alpha.ebba7eb40.0",
4
4
  "description": "Add metrics without intruding source code",
5
5
  "keywords": [
6
6
  "Metrics"
@@ -27,7 +27,6 @@
27
27
  },
28
28
  "devDependencies": {
29
29
  "@istanbuljs/nyc-config-typescript": "^1.0.1",
30
- "@microsoft/eslint-plugin-teamsfx": "0.0.3-alpha.df2b2dbae.0",
31
30
  "@types/chai": "^4.2.21",
32
31
  "@types/mocha": "^8.2.3",
33
32
  "@types/node": "^16.0.0",
@@ -36,6 +35,7 @@
36
35
  "@typescript-eslint/parser": "^4.19.0",
37
36
  "chai": "^4.3.4",
38
37
  "eslint": "^7.22.0",
38
+ "eslint-plugin-header": "^3.1.1",
39
39
  "eslint-plugin-import": "^2.25.2",
40
40
  "eslint-plugin-no-secrets": "^0.8.9",
41
41
  "eslint-plugin-prettier": "^4.0.0",
@@ -60,5 +60,5 @@
60
60
  "dependencies": {
61
61
  "uuid": "^8.3.2"
62
62
  },
63
- "gitHead": "622291af2e594627252ff50e276f9e7c59e99e64"
63
+ "gitHead": "50901701c821f12da858eb87a8941d2d24ddd4c3"
64
64
  }
@@ -0,0 +1,14 @@
1
+ {
2
+ // extend your base config to share compilerOptions, etc
3
+ "extends": "./tsconfig.json",
4
+ "compilerOptions": {
5
+ // ensure that nobody can accidentally use this config for a build
6
+ "noEmit": true
7
+ },
8
+ "include": [
9
+ // whatever paths you intend to lint
10
+ "src",
11
+ "tests"
12
+ ],
13
+ "exclude": []
14
+ }