DEV: apply coding standards (#76)
This commit is contained in:
		
							parent
							
								
									c06d6877c9
								
							
						
					
					
						commit
						4332b01837
					
				|  | @ -1,4 +1,6 @@ | ||||||
| *.swp | *.swp | ||||||
| *.sublime-workspace | *.sublime-workspace | ||||||
| .DS_Store | .DS_Store | ||||||
| ._.DS_Store | node_modules | ||||||
|  | yarn-error.log | ||||||
|  | .rubocop-https---raw-githubusercontent-com-discourse-* | ||||||
|  |  | ||||||
|  | @ -0,0 +1,4 @@ | ||||||
|  | module.exports = { | ||||||
|  |   plugins: ["ember-template-lint-plugin-discourse"], | ||||||
|  |   extends: "discourse:recommended", | ||||||
|  | }; | ||||||
|  | @ -2,7 +2,8 @@ import getURL from "discourse-common/lib/get-url"; | ||||||
| 
 | 
 | ||||||
| export default Ember.Component.extend({ | export default Ember.Component.extend({ | ||||||
|   tagName: "tr", |   tagName: "tr", | ||||||
|   href: function() { | 
 | ||||||
|  |   href: function () { | ||||||
|     return getURL("/admin/upgrade"); |     return getURL("/admin/upgrade"); | ||||||
|   }.property() |   }.property(), | ||||||
| }); | }); | ||||||
|  |  | ||||||
|  | @ -0,0 +1,7 @@ | ||||||
|  | { | ||||||
|  |   "author": "Discourse", | ||||||
|  |   "license": "MIT", | ||||||
|  |   "devDependencies": { | ||||||
|  |     "eslint-config-discourse": "latest" | ||||||
|  |   } | ||||||
|  | } | ||||||
		Loading…
	
		Reference in New Issue