diff --git a/packages/opentelemetry-propagator-jaeger/.eslintignore b/packages/opentelemetry-propagator-jaeger/.eslintignore new file mode 100644 index 00000000000..378eac25d31 --- /dev/null +++ b/packages/opentelemetry-propagator-jaeger/.eslintignore @@ -0,0 +1 @@ +build diff --git a/packages/opentelemetry-propagator-jaeger/.eslintrc.js b/packages/opentelemetry-propagator-jaeger/.eslintrc.js new file mode 100644 index 00000000000..f726f3becb6 --- /dev/null +++ b/packages/opentelemetry-propagator-jaeger/.eslintrc.js @@ -0,0 +1,7 @@ +module.exports = { + "env": { + "mocha": true, + "node": true + }, + ...require('../../eslint.config.js') +} diff --git a/packages/opentelemetry-propagator-jaeger/package.json b/packages/opentelemetry-propagator-jaeger/package.json index e1ee3552e3e..c920a0b7783 100644 --- a/packages/opentelemetry-propagator-jaeger/package.json +++ b/packages/opentelemetry-propagator-jaeger/package.json @@ -13,8 +13,8 @@ "tdd:browser": "karma start", "codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../", "clean": "rimraf build/*", - "lint": "gts check", - "lint:fix": "gts fix", + "lint": "eslint . --ext .ts", + "lint:fix": "eslint . --ext .ts --fix", "precompile": "tsc --version", "compile": "npm run version:update && tsc -p .", "prepare": "npm run compile", diff --git a/packages/opentelemetry-propagator-jaeger/tslint.json b/packages/opentelemetry-propagator-jaeger/tslint.json deleted file mode 100644 index 0710b135d07..00000000000 --- a/packages/opentelemetry-propagator-jaeger/tslint.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "rulesDirectory": ["node_modules/tslint-microsoft-contrib"], - "extends": ["../../tslint.base.js", "./node_modules/tslint-consistent-codestyle"] -}