Skip to content

Commit

Permalink
fix: update node, fix build warnings and lint errors (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
vordimous authored Oct 8, 2024
1 parent 777b4e5 commit 2c63966
Show file tree
Hide file tree
Showing 11 changed files with 6,552 additions and 2,958 deletions.
10 changes: 6 additions & 4 deletions examples/streampay/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = {
// `parser: 'vue-eslint-parser'` is already included with any 'plugin:vue/**' config and should be omitted
parserOptions: {
parser: require.resolve('@typescript-eslint/parser'),
extraFileExtensions: [ '.vue' ]
extraFileExtensions: ['.vue']
},

env: {
Expand Down Expand Up @@ -48,11 +48,11 @@ module.exports = {
// https://eslint.vuejs.org/user-guide/#why-doesn-t-it-work-on-vue-files
// required to lint *.vue files
'vue'

// https://github.com/typescript-eslint/typescript-eslint/issues/389#issuecomment-509292674
// Prettier has not been included as plugin to avoid performance impact
// add it as an extension for your IDE

],

globals: {
Expand All @@ -70,11 +70,13 @@ module.exports = {

// add your custom rules here
rules: {

'prefer-promise-reject-errors': 'off',

quotes: ['warn', 'single', { avoidEscape: true }],

'@typescript-eslint/no-explicit-any': 'off',

// this rule, if on, would require explicit return type on the `render` function
'@typescript-eslint/explicit-function-return-type': 'off',

Expand Down
Loading

0 comments on commit 2c63966

Please sign in to comment.