Skip to content

Commit

Permalink
refactor: mono-repo scruture
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Oct 14, 2022
1 parent e4ce0c2 commit 81032aa
Show file tree
Hide file tree
Showing 48 changed files with 5,581 additions and 6,337 deletions.
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

11 changes: 8 additions & 3 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module.exports = {
parserOptions: {
parser: 'babel-eslint',
ecmaVersion: 2017,
sourceType: 'module'
sourceType: 'module',
},
// https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
extends: [
Expand All @@ -18,7 +18,7 @@ module.exports = {
browser: true,
},
// add your custom rules here
'rules': {
rules: {
// allow paren-less arrow functions
'arrow-parens': 0,
// allow async-await
Expand All @@ -27,5 +27,10 @@ module.exports = {
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
// trailing comma
'comma-dangle': ['error', 'always-multiline'],
}
},
ignorePatterns: [
'node_modules/',
'dist/',
'!.*',
],
}
Loading

0 comments on commit 81032aa

Please sign in to comment.