mirror of
https://github.com/seigler/dash-website
synced 2025-07-26 23:06:09 +00:00
(Feature) Build System: Use npm scripts for the build process (#16)
* (Chore) Editorconfig: Add an editorconfig file so those spaces and tabs dont keep mixing * (Refactor) Build: use npm scripts to build assets * (Chore) Build: remove dist files from repo / fix ESLint errors * (Update) Build: Remove unused tasks / add autoprefixer * (Chore) Gemfile: remove old dependencies * (Chore) Package.json: Shrinkwrap & postinstalll * (Doc) Build: Update instructions for new build system * (Fix) Build: Wach html files in all folders * (Fix) Build: exclude _site/ from watch * (Chore) Build/CI: Update buildscript for node/ruby combined * (Chore) Travis: Add g++ compiler to environment * (Chore) Build: fix watched directory * (Fix) travis: set version to 4.5.0 LTS * (Fix) travis: remove shrinkwrap * (Fix) Travis: rvm * (Fix) Travis: before_install * (Fix) Travis: ignore dist for html proofer
This commit is contained in:
parent
0cd655f34b
commit
2b0331ad48
145 changed files with 408 additions and 416 deletions
197
.eslintrc
Normal file
197
.eslintrc
Normal file
|
@ -0,0 +1,197 @@
|
|||
{
|
||||
"env": {
|
||||
"browser": true,
|
||||
"node": false
|
||||
},
|
||||
"globals": {
|
||||
"Modernizr": false,
|
||||
"jQuery": false
|
||||
},
|
||||
"rules": {
|
||||
"no-bitwise": 2,
|
||||
"camelcase": [
|
||||
2,
|
||||
{
|
||||
"properties": "never"
|
||||
}
|
||||
],
|
||||
"curly": [
|
||||
2,
|
||||
"all"
|
||||
],
|
||||
"eqeqeq": 2,
|
||||
"guard-for-in": 2,
|
||||
"no-extend-native": 2,
|
||||
"wrap-iife": 2,
|
||||
"indent": [
|
||||
2,
|
||||
"tab",
|
||||
{
|
||||
"SwitchCase": 1
|
||||
}
|
||||
],
|
||||
"no-use-before-define": [
|
||||
2,
|
||||
{
|
||||
"functions": false
|
||||
}
|
||||
],
|
||||
"new-cap": 2,
|
||||
"no-caller": 2,
|
||||
"no-empty": [
|
||||
2,
|
||||
{
|
||||
"allowEmptyCatch": true
|
||||
}
|
||||
],
|
||||
"no-irregular-whitespace": 2,
|
||||
"no-new": 2,
|
||||
"no-plusplus": 0,
|
||||
"quotes": [
|
||||
2,
|
||||
"single"
|
||||
],
|
||||
"no-undef": 2,
|
||||
"no-unused-vars": 2,
|
||||
"strict": 0,
|
||||
"max-params": [
|
||||
2,
|
||||
6
|
||||
],
|
||||
"max-depth": [
|
||||
2,
|
||||
3
|
||||
],
|
||||
"max-statements": 0,
|
||||
"complexity": 0,
|
||||
"max-len": 0,
|
||||
"semi": [
|
||||
2,
|
||||
"always"
|
||||
],
|
||||
"no-cond-assign": 0,
|
||||
"no-debugger": 0,
|
||||
"no-eq-null": 0,
|
||||
"no-eval": 0,
|
||||
"no-unused-expressions": 0,
|
||||
"block-scoped-var": 0,
|
||||
"no-iterator": 0,
|
||||
"linebreak-style": 0,
|
||||
"comma-style": [
|
||||
2,
|
||||
"last"
|
||||
],
|
||||
"no-loop-func": 0,
|
||||
"no-multi-str": 0,
|
||||
"require-yield": 0,
|
||||
"valid-typeof": 0,
|
||||
"no-proto": 0,
|
||||
"no-script-url": 0,
|
||||
"no-shadow": 2,
|
||||
"dot-notation": 2,
|
||||
"no-new-func": 0,
|
||||
"no-new-wrappers": 0,
|
||||
"no-invalid-this": 0,
|
||||
"brace-style": [
|
||||
2,
|
||||
"1tbs",
|
||||
{
|
||||
"allowSingleLine": true
|
||||
}
|
||||
],
|
||||
"no-mixed-spaces-and-tabs": 2,
|
||||
"no-multiple-empty-lines": 2,
|
||||
"no-multi-spaces": 2,
|
||||
"dot-location": [
|
||||
2,
|
||||
"property"
|
||||
],
|
||||
"operator-linebreak": [
|
||||
2,
|
||||
"after"
|
||||
],
|
||||
"key-spacing": [
|
||||
2,
|
||||
{
|
||||
"beforeColon": false,
|
||||
"afterColon": true
|
||||
}
|
||||
],
|
||||
"space-unary-ops": [
|
||||
2,
|
||||
{
|
||||
"words": false,
|
||||
"nonwords": false
|
||||
}
|
||||
],
|
||||
"space-before-function-paren": [
|
||||
2,
|
||||
{
|
||||
"anonymous": "ignore",
|
||||
"named": "never"
|
||||
}
|
||||
],
|
||||
"no-spaced-func": 2,
|
||||
"array-bracket-spacing": [
|
||||
2,
|
||||
"never",
|
||||
{}
|
||||
],
|
||||
"space-in-parens": [
|
||||
2,
|
||||
"never"
|
||||
],
|
||||
"comma-dangle": [
|
||||
2,
|
||||
"never"
|
||||
],
|
||||
"no-trailing-spaces": 2,
|
||||
"yoda": [
|
||||
2,
|
||||
"never"
|
||||
],
|
||||
"eol-last": 2,
|
||||
"one-var": [
|
||||
2,
|
||||
"always"
|
||||
],
|
||||
"newline-after-var": [
|
||||
2,
|
||||
"always"
|
||||
],
|
||||
"lines-around-comment": [
|
||||
2,
|
||||
{
|
||||
"beforeLineComment": true
|
||||
}
|
||||
],
|
||||
"space-infix-ops": 2,
|
||||
"keyword-spacing": [
|
||||
2,
|
||||
{
|
||||
"overrides": {
|
||||
"else": {
|
||||
"before": true
|
||||
},
|
||||
"while": {
|
||||
"before": true
|
||||
},
|
||||
"catch": {
|
||||
"before": true
|
||||
},
|
||||
"in": {
|
||||
"before": true
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"spaced-comment": [
|
||||
2,
|
||||
"always"
|
||||
],
|
||||
"space-before-blocks": [
|
||||
2,
|
||||
"always"
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue