Skip to content

Commit

Permalink
Merge pull request #60 from adiux/refactor-to-service-with-linting-an…
Browse files Browse the repository at this point in the history
…d-fixes

Refactor to service with linting and fixes
  • Loading branch information
RCheesley authored Mar 27, 2021
2 parents 7dcfb72 + dbd7ec7 commit 8d225d4
Show file tree
Hide file tree
Showing 30 changed files with 18,271 additions and 703 deletions.
2 changes: 2 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{
}
19 changes: 19 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"env": {
"browser": true
},
"extends": ["airbnb/base","prettier"],
"parser": "babel-eslint",
"plugins": ["prettier"],
"rules": {
"prettier/prettier": ["error"]
},
"ignorePatterns": ["Assets/library/js/dist","node_modules","*.min.js"],
"globals": {
"mQuery": true,
// "grapesjs": true,
"Mousetrap":true,
"Mautic":true,
"mauticAjaxCsrf":true
}
}
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
.*
!.babelrc
!.eslintrc
!.prettierignore
!.prettierrc
!.gitignore
!.htaccess
!.gitkeep
!Assets/library/js/dist
vendor/*
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Assets/library/js/dist
*.min.js
4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"printWidth": 100,
"singleQuote": true
}
Loading

0 comments on commit 8d225d4

Please sign in to comment.