Permalink
Browse files

Changed build system over to grunt

Enabled a few more linting rules
Changed to eslint
  • Loading branch information...
1 parent bdadf5f commit 25a8c0ca5b338a4913ab7173681fc8f92c0e0819 @designgears designgears committed Jun 19, 2016
Showing with 406 additions and 169 deletions.
  1. +37 −41 .csslintrc
  2. +1 −0 .eslintignore
  3. +67 −0 .eslintrc
  4. +2 −0 .gitignore
  5. +25 −0 .htmlhintrc
  6. +0 −9 .htmllintrc
  7. +246 −0 Gruntfile.js
  8. +0 −56 node_scripts/sitemap.js
  9. +28 −63 package.json
  10. 0 {node_scripts → }/server.js
View
@@ -1,41 +1,37 @@
---quiet
---warnings=floats,font-faces,font-sizes,rules-count,selector-max-approaching,star-property-hack,underscore-property-hack,universal-selector,unqualified-attributes
---errors=duplicate-properties,empty-rules,errors,gradients,import,known-properties,regex-selectors,selector-max,vendor-prefix
-
-#CSSLINT RULES
-#-------------
-#adjoining-classes - (ignored) - Don't use adjoining classes.
-#box-model - (ignored) - Don't use width or height when using padding or border.
-#box-sizing - (ignored) - The box-sizing properties isn't supported in IE6 and IE7.
-#bulletproof-font-face - (ignored) - Use the bulletproof @font-face syntax to avoid 404's in old IE (http://www.fontspring.com/blog/the-new-bulletproof-font-face-syntax).
-#compatible-vendor-prefixes - (ignored) - Include all compatible vendor prefixes to reach a wider range of users.
-#display-property-grouping - (ignored) - Certain properties shouldn't be used with certain display property values.
-#duplicate-background-images - (ignored) - Every background-image should be unique. Use a common class for e.g. sprites.
-#duplicate-properties - [error] - Duplicate properties must appear one after the other.
-#empty-rules - [error] - Rules without any properties specified should be removed.
-#errors - [error] - This rule looks for recoverable syntax errors.
-#fallback-colors - (ignored) - For older browsers that don't support RGBA, HSL, or HSLA, provide a fallback color.
-#floats - [warning] - This rule tests if the float property is used too many times
-#font-faces - [warning] - Too many different web fonts in the same stylesheet.
-#font-sizes - (ignored) - Checks the number of font-size declarations.
-#gradients - [error] - When using a vendor-prefixed gradient, make sure to use them all.
-#ids - (ignored) - Selectors should not contain IDs.
-#import - [error] - Don't use @import, use <link> instead.
-#important - (ignored) - Be careful when using !important declaration
-#known-properties - [error] - Properties should be known (listed in CSS3 specification) or be a vendor-prefixed property.
-#outline-none - (ignored) - Use of outline: none or outline: 0 should be limited to :focus rules.
-#overqualified-elements - (ignored) - Don't use classes or IDs with elements (a.foo or a#foo).
-#qualified-headings - (ignored) - Headings should not be qualified (namespaced).
-#regex-selectors - [error] - Selectors that look like regular expressions are slow and should be avoided.
-#rules-count - [warning] - Track how many rules there are.
-#selector-max - [error] - Will error when selector count is > 4095.
-#selector-max-approaching - [warning] - Will warn when selector count is >= 3800 selectors.
-#shorthand - (ignored) - Use shorthand properties where possible.
-#star-property-hack - [warning] - Checks for the star property hack (targets IE6/7)
-#text-indent - (ignored) - Checks for text indent less than -99px
-#underscore-property-hack - [warning] - Checks for the underscore property hack (targets IE6)
-#unique-headings - (ignored) - Headings should be defined only once.
-#universal-selector - [warning] - The universal selector (*) is known to be slow.
-#unqualified-attributes - [warning] - Unqualified attribute selectors are known to be slow.
-#vendor-prefix - [error] - When using a vendor-prefixed property, make sure to include the standard one.
-#zero-units - (ignored) - You don't need to specify units when a value is 0.
+{
+ "important": false,
+ "adjoining-classes": false,
+ "known-properties": true,
+ "box-sizing": false,
+ "box-model": false,
+ "overqualified-elements": false,
+ "display-property-grouping": false,
+ "bulletproof-font-face": false,
+ "compatible-vendor-prefixes": false,
+ "regex-selectors": true,
+ "errors": true,
+ "duplicate-background-images": false,
+ "duplicate-properties": true,
+ "empty-rules": true,
+ "selector-max-approaching": false,
+ "gradients": true,
+ "fallback-colors": false,
+ "font-sizes": false,
+ "font-faces": false,
+ "floats": false,
+ "star-property-hack": false,
+ "outline-none": false,
+ "import": true,
+ "ids": false,
+ "underscore-property-hack": false,
+ "rules-count": false,
+ "qualified-headings": false,
+ "selector-max": true,
+ "shorthand": false,
+ "text-indent": false,
+ "unique-headings": false,
+ "universal-selector": false,
+ "unqualified-attributes": false,
+ "vendor-prefix": true,
+ "zero-units": false
+}
View
@@ -0,0 +1 @@
+leaflet.plugins.js
View
@@ -0,0 +1,67 @@
+{
+ "env":{
+ "browser":true,
+ "jquery":true
+ },
+ "globals":{
+
+ },
+ "rules":{
+ "no-bitwise":2,
+ "camelcase":0,
+ "curly":0,
+ "eqeqeq":0,
+ "guard-for-in":0,
+ "no-extend-native":2,
+ "wrap-iife":0,
+ "indent":["error", "tab", {"SwitchCase": 1}],
+ "no-use-before-define":0,
+ "new-cap":0,
+ "no-caller":2,
+ "no-empty":0,
+ "no-irregular-whitespace":2,
+ "no-new":0,
+ "no-plusplus":0,
+ "quotes":0,
+ "no-undef":0,
+ "no-unused-vars":0,
+ "strict":0,
+ "max-params":0,
+ "max-depth":0,
+ "max-statements":0,
+ "complexity":0,
+ "max-len":0,
+ "no-var":0,
+ "semi":2,
+ "no-cond-assign":0,
+ "no-debugger":0,
+ "no-eq-null":2,
+ "no-eval":2,
+ "no-unused-expressions":0,
+ "block-scoped-var":0,
+ "no-iterator":0,
+ "linebreak-style":0,
+ "comma-style":0,
+ "no-loop-func":0,
+ "no-multi-str":0,
+ "require-yield":0,
+ "valid-typeof":0,
+ "no-proto":0,
+ "no-script-url":0,
+ "no-shadow":0,
+ "dot-notation":0,
+ "no-new-func":0,
+ "no-new-wrappers":0,
+ "no-invalid-this":0,
+ "no-underscore-dangle":0,
+ "no-multiple-empty-lines":0,
+ "space-unary-ops":0,
+ "no-trailing-spaces":0,
+ "yoda":0,
+ "eol-last":0,
+ "one-var":0,
+ "padded-blocks":0,
+ "space-infix-ops":0,
+ "comma-dangle":0
+ }
+}
View
@@ -4,3 +4,5 @@ dist
.idea
*.iml
.DS_Store
+witcher3map-maps
+tmp
View
@@ -0,0 +1,25 @@
+{
+ "tagname-lowercase": true,
+ "attr-lowercase": true,
+ "attr-value-double-quotes": true,
+ "attr-value-not-empty": true,
+ "attr-no-duplication": true,
+ "doctype-first": true,
+ "tag-pair": true,
+ "tag-self-close": true,
+ "spec-char-escape": true,
+ "id-unique": true,
+ "src-not-empty": true,
+ "title-require": true,
+ "head-script-disabled": false,
+ "alt-require": true,
+ "doctype-html5": true,
+ "id-class-value": "dash",
+ "style-disabled": true,
+ "inline-style-disabled": true,
+ "inline-script-disabled": true,
+ "space-tab-mixed-disabled": true,
+ "id-class-ad-disabled": true,
+ "href-abs-or-rel": false,
+ "attr-unsafe-chars": true
+}
View
@@ -1,9 +0,0 @@
-{
- "plugins": [],
- "attr-bans": [],
- "attr-name-style": false,
- "attr-quote-style": false,
- "id-class-style": false,
- "line-end-style": false,
- "tag-bans": []
-}
Oops, something went wrong.

0 comments on commit 25a8c0c

Please sign in to comment.