Skip to content

Commit

Permalink
Replace moment with luxon
Browse files Browse the repository at this point in the history
  • Loading branch information
DannyFeliz committed Apr 19, 2020
1 parent d0b1043 commit 5725419
Show file tree
Hide file tree
Showing 11 changed files with 3,214 additions and 309 deletions.
15 changes: 14 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,27 @@
module.exports = {
root: true,

env: {
node: true
},

extends: ["plugin:vue/essential", "@vue/prettier"],

rules: {
"no-console": process.env.NODE_ENV === "production" ? "error" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "off"
},

parserOptions: {
parser: "babel-eslint"
}
},

overrides: [
{
files: ["**/__tests__/*.{j,t}s?(x)", "**/tests/unit/**/*.spec.{j,t}s?(x)"],
env: {
jest: true
}
}
]
};
5 changes: 5 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"tabWidth": 2,
"useTabs": false,
"printWidth": 120
}
3 changes: 3 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
preset: "@vue/cli-plugin-unit-jest"
};
Loading

0 comments on commit 5725419

Please sign in to comment.