Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b1cd0b7

Browse files
committed
fix lint
1 parent 3599e82 commit b1cd0b7

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

.eslintignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ packages/eslint-plugin-tslint/tests
1212

1313
packages/website/**/*.js
1414
packages/website/**/*.d.ts
15+
1516
packages/website-eslint/rollup.config.js
17+
# these files are taken directly from the source, so we don't want to lint them
18+
packages/website-eslint/src/mock/assert.js
19+
packages/website-eslint/src/mock/path.js
1620

1721
# Files copied as part of the build
1822
packages/types/src/generated/**/*.ts

packages/website-eslint/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
],
1414
"scripts": {
1515
"build": "rollup --config=rollup.config.js",
16-
"format": "prettier --write \"./**/*.{ts,mts,cts,tsx,js,mjs,cjs,jsx,json,md,css}\" --ignore-path ../../.prettierignore"
16+
"format": "prettier --write \"./**/*.{ts,mts,cts,tsx,js,mjs,cjs,jsx,json,md,css}\" --ignore-path ../../.prettierignore",
17+
"lint": "eslint . --ignore-path='../../.eslintignore'",
18+
"typecheck": "tsc -p tsconfig.json --noEmit"
1719
},
1820
"dependencies": {
1921
"@typescript-eslint/types": "5.36.1",
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
const util = {};
22

3+
/**
4+
* @param {unknown} value
5+
*/
36
util.inspect = function (value) {
47
return value;
58
};
69

10+
// eslint-disable-next-line import/no-default-export
711
export default util;

0 commit comments

Comments
 (0)