Skip to content

Commit

Permalink
🐛 Fix eslint + prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
aswetlow committed Nov 13, 2021
1 parent 09c8a2d commit ad084bb
Show file tree
Hide file tree
Showing 5 changed files with 249 additions and 5 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module.exports = {
root: true,
parser: '@babel/eslint-parser',
parserOptions: {
ecmaVersion: 2020, // Allows for the parsing of modern ECMAScript features
sourceType: 'module', // Allows for the use of imports
Expand Down
12 changes: 12 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module.exports = {
printWidth: 100,
tabWidth: 2,
useTabs: false,
semi: true,
singleQuote: true,
quoteProps: 'consistent',
trailingComma: 'all',
bracketSpacing: true,
arrowParens: 'always',
endOfLine: 'lf',
};
5 changes: 5 additions & 0 deletions jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"compilerOptions": {
"experimentalDecorators": true
}
}
230 changes: 228 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,15 @@
"@babel/core": "^7.14.6",
"@babel/plugin-proposal-decorators": "^7.14.5",
"@babel/plugin-transform-runtime": "^7.14.5",
"@babel/eslint-parser": "^7.16.3",
"@babel/preset-env": "^7.14.7",
"@babel/register": "^7.14.5",
"@babel/runtime": "^7.14.6",
"@jovotech/cli-core": "^4.0.0-beta.1",
"babel-jest": "^27.0.6",
"bestzip": "^2.2.0",
"esbuild": "^0.13.13",
"eslint": "^7.17.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^7.1.0",
"eslint-plugin-prettier": "^3.3.1",
"jest": "^26.6.3",
Expand All @@ -52,6 +53,5 @@
"bugs": {
"url": "https://github.com/jovotech/jovo-framework"
},
"homepage": "https://github.com/jovotech/jovo-framework#readme",
"prettier": "../../../.prettierrc.js"
"homepage": "https://github.com/jovotech/jovo-framework#readme"
}

0 comments on commit ad084bb

Please sign in to comment.