Skip to content

Commit b3e34bc

Browse files
committedSep 22, 2023
Typescript
1 parent cffd3ef commit b3e34bc

File tree

94 files changed

+2254
-1371
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+2254
-1371
lines changed
 

‎.babelrc

-12
This file was deleted.

‎.eslintrc.js

+18-6
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,27 @@
1+
const path = require('path');
2+
13
module.exports = {
2-
extends: ['plugin:@shopify/esnext', 'plugin:@shopify/jest', 'plugin:@shopify/prettier'],
4+
extends: [
5+
'plugin:@shopify/typescript',
6+
'plugin:@shopify/jest',
7+
'plugin:@shopify/prettier',
8+
],
9+
parser: '@typescript-eslint/parser',
310
env: {
411
browser: true,
512
node: true,
613
},
714
rules: {
8-
'import/no-unresolved': 'off',
9-
'import/no-extraneous-dependencies': 'off',
10-
'class-methods-use-this': 'off',
11-
'line-comment-position': 0,
12-
'lines-around-comment': 'off',
1315
'jest/valid-title': 'off',
1416
},
17+
settings: {
18+
'import/resolver': {
19+
node: {
20+
paths: [
21+
path.resolve(__dirname, 'src'),
22+
path.resolve(__dirname, 'test'),
23+
],
24+
},
25+
},
26+
},
1527
};

0 commit comments

Comments
 (0)
Failed to load comments.