Skip to content

Commit c7a417d

Browse files
authored
Fix issue with ESLint command on Mac (#189)
Fix issue with ESLint command on Mac
2 parents 8b204c9 + 0133fdd commit c7a417d

File tree

6 files changed

+16
-5
lines changed

6 files changed

+16
-5
lines changed

api-demo/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ try {
1818

1919
console.log('-- ESLINT --\n');
2020
child_process.execSync(path.join(baseDir, 'node_modules/.bin/eslint')
21-
+ ' -f unix src/**/*.{ts,tsx}',
21+
+ ' -f unix \"src/**/*.{ts,tsx}\"',
2222
{ stdio: 'inherit' });
2323

2424
process.exitCode = 0;

api-demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
"build": "node ./build.js",
2020
"simple": "node ./lib/start.js simple",
2121
"advanced": "node ./lib/start.js advanced",
22-
"lint": "eslint -f unix src/**/*.{ts,tsx}"
22+
"lint": "eslint -f unix \"src/**/*.{ts,tsx}\""
2323
}
2424
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"changes": [
3+
{
4+
"comment": "",
5+
"packageName": "@microsoft/tsdoc",
6+
"type": "none"
7+
}
8+
],
9+
"packageName": "@microsoft/tsdoc",
10+
"email": "4673363+octogonz@users.noreply.github.com"
11+
}

playground/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"license": "MIT",
77
"scripts": {
88
"build": "node build.js --production",
9-
"lint": "eslint -f unix src/**/*.{ts,tsx}",
9+
"lint": "eslint -f unix \"src/**/*.{ts,tsx}\"",
1010
"start": "node node_modules/webpack-dev-server/bin/webpack-dev-server --config webpack.dev.config.js --open"
1111
},
1212
"dependencies": {

tsdoc/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ try {
1818

1919
console.log('-- ESLINT --\n');
2020
child_process.execSync(path.join(baseDir, 'node_modules/.bin/eslint')
21-
+ ' -f unix src/**/*.{ts,tsx}',
21+
+ ' -f unix \"src/**/*.{ts,tsx}\"',
2222
{ stdio: 'inherit' });
2323

2424
if (production) {

tsdoc/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"build": "node ./build.js",
3535
"test": "jest",
3636
"watch": "jest --watch",
37-
"lint": "eslint -f unix src/**/*.{ts,tsx}"
37+
"lint": "eslint -f unix \"src/**/*.{ts,tsx}\""
3838
},
3939
"jest": {
4040
"moduleFileExtensions": [

0 commit comments

Comments
 (0)