Skip to content

Commit

Permalink
Frontend app code clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
marcingajda committed Feb 1, 2019
1 parent ad6b8fc commit 499b72d
Show file tree
Hide file tree
Showing 151 changed files with 2,518 additions and 2,336 deletions.
49 changes: 35 additions & 14 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,36 @@
module.exports = {
root: true,
env: {
node: true
},
extends: [
"plugin:vue/essential",
"plugin:prettier/recommended",
"eslint:recommended"
],
rules: {
"no-console": process.env.NODE_ENV === "production" ? "error" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "off"
},
}
parserOptions: {
parser: "babel-eslint",
ecmaVersion: 2017,
sourceType: "module"
},
env: {
"browser": true,
"node": true
},
extends: [
"eslint:recommended",
"plugin:vue/recommended",
"plugin:prettier/recommended",
"prettier",
"prettier/vue",
],
rules: {
"no-console": process.env.NODE_ENV === "production" ? "error" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "off",
"vue/require-prop-types": "off",
"prettier/prettier": "error",
},
"plugins": [
"standard",
"vue",
"prettier",
],
settings: {
'import/resolver': {
node: {
"extensions": [".js", ".vue"]
}
}
}
};
8 changes: 8 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"bracketSpacing": true,
"singleQuote": true,
"jsxBracketSameLine": true,
"trailingComma": "all",
"printWidth": 80,
"semi": true
}
11 changes: 11 additions & 0 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"extends": [
"stylelint-config-standard",
"stylelint-config-recommended-scss"
],
"syntax": "scss",
"plugins": ["stylelint-scss"],
"rules": {
"no-descending-specificity": null
}
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ Build assets
To set up initially, run `npm install` to get the required dependencies /
`node_modules`. Then:
- Run `npm run serve`
- Run `npm run start`
See the other options by running `npm run`.
Expand Down
54 changes: 0 additions & 54 deletions assets/js/Components/Admin/DashboardContentList.vue

This file was deleted.

42 changes: 0 additions & 42 deletions assets/js/Components/Admin/DashboardNews.vue

This file was deleted.

12 changes: 0 additions & 12 deletions assets/js/Components/Admin/Header.vue

This file was deleted.

72 changes: 0 additions & 72 deletions assets/js/Components/Admin/Toolbar.vue

This file was deleted.

38 changes: 0 additions & 38 deletions assets/js/Components/Password/Password.vue

This file was deleted.

44 changes: 0 additions & 44 deletions assets/js/Components/User/Theme.vue

This file was deleted.

33 changes: 0 additions & 33 deletions assets/js/Views/editor.js

This file was deleted.

Loading

0 comments on commit 499b72d

Please sign in to comment.