Skip to content

Commit

Permalink
Merge pull request #9 from oSoc20/feature/build-and-dev-improvements
Browse files Browse the repository at this point in the history
Development experience and build improvements
  • Loading branch information
Zenigame2 authored Jul 26, 2020
2 parents aa319fa + f95fa6f commit bbd198d
Show file tree
Hide file tree
Showing 28 changed files with 3,014 additions and 69,783 deletions.
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
29 changes: 29 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"env": {
"es6": true,
"browser": true
},
"extends": ["eslint:recommended", "prettier"],
"plugins": ["svelte3", "prettier"],
"ignorePatterns": ["node_modules/"],
"overrides": [
{
"files": ["**/*.svelte"],
"processor": "svelte3/svelte3"
}
],
"rules": {
"comma-dangle": ["error", "never"],
"no-console": "warn",
"no-unused-expressions": ["error", { "allowTernary": true }],
"no-return-assign": [2, "except-parens"],
"no-param-reassign": ["error", { "props": false }]
},
"globals": {
"NODE_ENV": true
}
}
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
/node_modules/
/public/build/
/dist

.DS_Store

.idea/
.vscode

.syncmetadata
.vscode/launch.json
public/.syncmetadata
scripts/.syncmetadata
src/.syncmetadata
Expand Down
7 changes: 7 additions & 0 deletions .nolluprc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
hot: true,
contentBase: "dist",
publicPath: "build",
historyApiFallback: "__app.html",
port: 5000,
};
5 changes: 5 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
public
package.json
package-lock.json
yarn.lock
node_modules
9 changes: 9 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"semi": true,
"printWidth": 100,
"singleQuote": true,
"trailingComma": "none",
"tabWidth": 2,
"plugins": ["prettier-plugin-svelte"],
"svelteSortOrder": "scripts-markup-styles"
}
Loading

0 comments on commit bbd198d

Please sign in to comment.