Navigation Menu

Skip to content

Commit

Permalink
define code format for the top-level super-module repo
Browse files Browse the repository at this point in the history
  • Loading branch information
trusktr committed May 11, 2021
1 parent dc1d04c commit 0278c84
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 18 deletions.
16 changes: 16 additions & 0 deletions .editorconfig
@@ -0,0 +1,16 @@
# EditorConfig is awesome: http://EditorConfig.org

# top-most EditorConfig file
root = true

[*]
charset = utf-8
indent_style = tab
indent_size = 4
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
indent_style = space
indent_size = 2
5 changes: 4 additions & 1 deletion .prettierignore
@@ -1 +1,4 @@
node_modules/
node_modules/
.vscode
packages/
apps/
11 changes: 1 addition & 10 deletions .prettierrc.js
@@ -1,10 +1 @@
module.exports = {
tabWidth: 4,
useTabs: true,
semi: false,
singleQuote: true,
trailingComma: 'all',
bracketSpacing: false,
printWidth: 120,
arrowParens: 'avoid',
}
module.exports = require('./packages/cli/.prettierrc.js')
10 changes: 5 additions & 5 deletions README.md
Expand Up @@ -54,11 +54,11 @@ that an unlimited number of behaviors can be associated with an element.

There's various ways to get involved!

- Visit the [documentation](//lume.io/docs) and make something awesome!
- Submit fixes or new features to any packages or the website! See the
[contributing](./CONTRIBUTING.md) guide.
- Discuss LUME, get help, or help others in the [forums](//lume.community) or
on our Discord [chat server](//discord.gg/PgeyevP).
- Visit the [documentation](//lume.io/docs) and make something awesome!
- Submit fixes or new features to any packages or the website! See the
[contributing](./CONTRIBUTING.md) guide.
- Discuss LUME, get help, or help others in the [forums](//lume.community) or
on our Discord [chat server](//discord.gg/PgeyevP).

## Status

Expand Down
6 changes: 4 additions & 2 deletions package.json
Expand Up @@ -28,10 +28,12 @@
"test": "lerna run test --scope '{element,element-behaviors,lume,james-bond,lowclass,readem,variable,glas,eventful,custom-attributes}'",
"test:ci": "npm run test -- --concurrency 1",
"// ^ test:ci": "Concurrency needs to be 1 in CI for some reason, but I forgot to comment why.",
"dev": "echo ' --- TODO: dev script for running everything in dev mode. For now, cd into each packages and run dev manually.'"
"dev": "echo ' --- TODO: dev script for running everything in dev mode. For now, cd into each packages and run dev manually.'",
"prettier": "prettier . --write",
"prettier:check": "prettier . --check"
},
"devDependencies": {
"lerna": "^3.20.2",
"prettier": "^1.19.1"
"prettier": "^2.0.0"
}
}

0 comments on commit 0278c84

Please sign in to comment.