Skip to content

Commit

Permalink
feat: add rules
Browse files Browse the repository at this point in the history
  • Loading branch information
lvjiaxuan committed Jul 4, 2022
1 parent d6157dd commit 10de81f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/javascript/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ module.exports = {
allowSeparatedGroups: false,
},
],
'no-multi-spaces': 'warn',
'object-curly-spacing': [ 'warn', 'always' ],
'spaced-comment': [ 'warn', 'always' ],

// My prettierrc rules
'prettier/prettier': 'off',
Expand Down
1 change: 1 addition & 0 deletions packages/typescript/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ module.exports = {
],

rules: {
// #https://typescript-eslint.io/rules/
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
Expand Down

0 comments on commit 10de81f

Please sign in to comment.