Skip to content

Commit

Permalink
Merge pull request #167 from Eyas/v1-final
Browse files Browse the repository at this point in the history
Final prep for 1.0
  • Loading branch information
Eyas authored Aug 30, 2021
2 parents 71ff605 + a7486e3 commit f349415
Show file tree
Hide file tree
Showing 6 changed files with 88 additions and 283 deletions.
11 changes: 9 additions & 2 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,17 @@ module.exports = {
},
extends: ['prettier'],
plugins: ['@typescript-eslint', 'import', 'jsdoc'],
ignorePatterns: [],
ignorePatterns: ['.eslintrc.cjs'],
parser: '@typescript-eslint/parser',
parserOptions: {
project: ['./src/tsconfig.json', './test/tsconfig.json'],
project: [
// In our schema, we run eslint from individual
// packages. I'm sure there's a better way, but
// right now just use relative path to go back
// to project root.
'../../packages/*/src/tsconfig.json',
'../../packages/*/test/tsconfig.json',
],
sourceType: 'module',
},
rules: {
Expand Down
6 changes: 4 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{
"editor.formatOnSave": true,
"editor.tabSize": 2,
"eslint.enable": true,
"eslint.options": {
"configFile": "./.eslintrc.js"
"configFile": "./.eslintrc.cjs"
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"typescript.tsdk": "node_modules/typescript/lib"
}
Loading

0 comments on commit f349415

Please sign in to comment.