Skip to content

Commit

Permalink
chore: housekeeping
Browse files Browse the repository at this point in the history
  • Loading branch information
kjessec committed Feb 10, 2021
1 parent 0cbe2b6 commit 6830921
Show file tree
Hide file tree
Showing 6 changed files with 4,696 additions and 13 deletions.
16 changes: 9 additions & 7 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./tsconfig.json'],
},
extends: [
'@ssen',
'prettier',
'prettier/@typescript-eslint',
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:@typescript-eslint/recommended-requiring-type-checking',
],
rules: {
'@typescript-eslint/no-explicit-any': 'off',
},
};
};
7 changes: 3 additions & 4 deletions .huskyrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@ module.exports = {
hooks: {
'pre-commit': [
`yarn format`,
// TODO restore precommit actions (they have errors by lint and typescript build so can not pass yet)
//`yarn lint`,
//`yarn build`, // see if build works
//...precommit(`packages-template`),
`yarn lint`,
`yarn build`,
// ...precommit(`packages-template`),
].join(' && '),
},
};
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
dist
node_modules
4 changes: 3 additions & 1 deletion .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@

module.exports = {
...require('@ssen/prettier-config'),
};
Loading

0 comments on commit 6830921

Please sign in to comment.