Skip to content

Commit f349415

Browse files
authored
Merge pull request #167 from Eyas/v1-final
Final prep for 1.0
2 parents 71ff605 + a7486e3 commit f349415

File tree

6 files changed

+88
-283
lines changed

6 files changed

+88
-283
lines changed

.eslintrc.cjs

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,17 @@ module.exports = {
55
},
66
extends: ['prettier'],
77
plugins: ['@typescript-eslint', 'import', 'jsdoc'],
8-
ignorePatterns: [],
8+
ignorePatterns: ['.eslintrc.cjs'],
99
parser: '@typescript-eslint/parser',
1010
parserOptions: {
11-
project: ['./src/tsconfig.json', './test/tsconfig.json'],
11+
project: [
12+
// In our schema, we run eslint from individual
13+
// packages. I'm sure there's a better way, but
14+
// right now just use relative path to go back
15+
// to project root.
16+
'../../packages/*/src/tsconfig.json',
17+
'../../packages/*/test/tsconfig.json',
18+
],
1219
sourceType: 'module',
1320
},
1421
rules: {

.vscode/settings.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
{
22
"editor.formatOnSave": true,
33
"editor.tabSize": 2,
4-
"eslint.enable": true,
54
"eslint.options": {
6-
"configFile": "./.eslintrc.js"
5+
"configFile": "./.eslintrc.cjs"
76
},
87
"editor.defaultFormatter": "esbenp.prettier-vscode",
8+
"[typescript]": {
9+
"editor.defaultFormatter": "esbenp.prettier-vscode"
10+
},
911
"typescript.tsdk": "node_modules/typescript/lib"
1012
}

0 commit comments

Comments
 (0)