Skip to content

Commit 6edf5f3

Browse files
committed
Init repo
0 parents  commit 6edf5f3

File tree

6 files changed

+2952
-0
lines changed

6 files changed

+2952
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```
2+
yarn install && yarn run lint
3+
```

index.ts

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
export class Test {
2+
constructor() {
3+
}
4+
public test(param1: Number): Test;
5+
public test(param1: Test): Test;
6+
public test(param1: any): Test {
7+
return new Test();
8+
}
9+
}

package.json

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "typescript-eslint-parser-example",
3+
"version": "1.0.0",
4+
"main": "index.js",
5+
"repository": "[email protected]:ismail-syed/typescript-eslint-parser-example.git",
6+
"author": "Ismail Syed <[email protected]>",
7+
"license": "MIT",
8+
"scripts": {
9+
"lint": "eslint . --ext .ts --max-warnings 0"
10+
},
11+
"devDependencies": {
12+
"eslint": "^4.6.1",
13+
"eslint-plugin-shopify": "^17.0.0",
14+
"eslint-plugin-typescript": "^0.7.0",
15+
"typescript": "^2.5.2",
16+
"typescript-eslint-parser": "^8.0.0"
17+
},
18+
"extends": "plugin:shopify/esnext",
19+
"eslintConfig": {
20+
"parser": "typescript-eslint-parser",
21+
"extends": [
22+
"plugin:shopify/esnext",
23+
"plugin:shopify/node"
24+
],
25+
"plugins": [
26+
"typescript"
27+
]
28+
}
29+
}

0 commit comments

Comments
 (0)