forked from lolmaus/ember-drag-sort
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgraded to Ember 3.8, got rid of jQuery, moved to kaliber5/ember-dra…
…g-sort
- Loading branch information
Showing
42 changed files
with
7,448 additions
and
3,643 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# unconventional js | ||
/blueprints/*/files/ | ||
/vendor/ | ||
|
||
# compiled output | ||
/dist/ | ||
/tmp/ | ||
|
||
# dependencies | ||
/bower_components/ | ||
/node_modules/ | ||
|
||
# misc | ||
/coverage/ | ||
!.* | ||
|
||
# ember-try | ||
/.node_modules.ember-try/ | ||
/bower.json.ember-try | ||
/package.json.ember-try |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,88 @@ | ||
module.exports = { | ||
root: true, | ||
parserOptions: { | ||
ecmaVersion: 2017, | ||
sourceType: 'module' | ||
root : true, | ||
parserOptions : { | ||
ecmaVersion : 2017, | ||
sourceType : 'module', | ||
}, | ||
env: { | ||
browser: true | ||
}, | ||
extends: [ | ||
"eslint:recommended", | ||
"standard" | ||
plugins : [ | ||
'ember', | ||
'varspacing', | ||
], | ||
extends : [ | ||
'eslint:recommended', | ||
'plugin:ember/recommended', | ||
'standard', | ||
'plugin:varspacing/recommended', | ||
], | ||
"rules": { | ||
"arrow-parens": "off", | ||
"camelcase": "off", | ||
"comma-dangle": "off", | ||
"func-call-spacing": "off", | ||
"generator-star-spacing": "off", | ||
"key-spacing": ["error", { beforeColon: true, afterColon: true, align: "colon" }], | ||
"new-cap": "off", | ||
"no-console": "off", | ||
"no-mixed-operators": "off", | ||
"no-multi-spaces": "off", | ||
"no-multiple-empty-lines": "off", | ||
"no-return-assign": "off", | ||
"no-sequences": "off", | ||
"no-template-curly-in-string": "off", | ||
"no-whitespace-before-property": "off", | ||
"operator-linebreak": "off", | ||
"padded-blocks": "off", | ||
"quotes": "off", | ||
"spaced-comment": "off", | ||
"standard/object-curly-even-spacing": "off", | ||
env : { | ||
browser : true, | ||
}, | ||
|
||
"globals": { | ||
// "showdown": false, | ||
rules : { | ||
'arrow-parens' : 'off', | ||
'camelcase' : 'off', | ||
'comma-dangle' : ['error', 'always-multiline'], | ||
'func-call-spacing' : 'off', | ||
'generator-star-spacing' : 'off', | ||
'key-spacing' : ['error', { beforeColon : true, afterColon : true, align : 'colon' }], | ||
'new-cap' : 'off', | ||
'no-console' : 'off', | ||
'no-mixed-operators' : 'off', | ||
'no-multi-spaces' : 'off', | ||
'no-multiple-empty-lines' : 'off', | ||
'no-return-assign' : 'off', | ||
'no-sequences' : 'off', | ||
'no-template-curly-in-string' : 'off', | ||
'no-whitespace-before-property' : 'off', | ||
'object-curly-spacing' : 'off', | ||
'operator-linebreak' : 'off', | ||
'padded-blocks' : 'off', | ||
'quote-props' : ['error', 'consistent-as-needed'], | ||
'quotes' : ['error', 'single'], | ||
'spaced-comment' : 'off', | ||
'standard/object-curly-even-spacing' : 'off', | ||
}, | ||
overrides : [ | ||
// node files | ||
{ | ||
files : [ | ||
'.eslintrc.js', | ||
'.template-lintrc.js', | ||
'ember-cli-build.js', | ||
'index.js', | ||
'testem.js', | ||
'blueprints/*/index.js', | ||
'config/**/*.js', | ||
'tests/dummy/config/**/*.js', | ||
], | ||
excludedFiles : [ | ||
'addon/**', | ||
'addon-test-support/**', | ||
'app/**', | ||
'tests/dummy/app/**', | ||
'tests/pages/**', | ||
], | ||
parserOptions : { | ||
sourceType : 'script', | ||
ecmaVersion : 2015, | ||
}, | ||
env : { | ||
browser : false, | ||
node : true, | ||
}, | ||
plugins : ['node'], | ||
rules : Object.assign({}, require('eslint-plugin-node').configs.recommended.rules, { | ||
// add your custom rules and overrides for node files here | ||
}), | ||
}, | ||
|
||
// tests | ||
{ | ||
files : [ | ||
'tests/**/*.js', | ||
], | ||
rules : { | ||
'no-unused-expressions' : 'off', | ||
}, | ||
}, | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,31 @@ | ||
/bower_components | ||
# compiled output | ||
/dist/ | ||
/tmp/ | ||
|
||
# dependencies | ||
/bower_components/ | ||
|
||
# misc | ||
/.bowerrc | ||
/.editorconfig | ||
/.ember-cli | ||
/.env* | ||
/.eslintignore | ||
/.eslintrc.js | ||
/.gitignore | ||
/.template-lintrc.js | ||
/.travis.yml | ||
/.watchmanconfig | ||
/bower.json | ||
/config/ember-try.js | ||
/dist | ||
/tests | ||
/tmp | ||
**/.gitkeep | ||
.bowerrc | ||
.editorconfig | ||
.ember-cli | ||
.gitignore | ||
.eslintrc.js | ||
.watchmanconfig | ||
.travis.yml | ||
bower.json | ||
ember-cli-build.js | ||
testem.js | ||
/CONTRIBUTING.md | ||
/ember-cli-build.js | ||
/testem.js | ||
/tests/ | ||
/yarn.lock | ||
.gitkeep | ||
|
||
# ember-try | ||
/.node_modules.ember-try/ | ||
/bower.json.ember-try | ||
/package.json.ember-try |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
'use strict' | ||
|
||
module.exports = { | ||
extends : 'recommended', | ||
|
||
rules : { | ||
quotes : false, | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# How To Contribute | ||
|
||
## Installation | ||
|
||
* `git clone <repository-url>` | ||
* `cd ember-drag-sort` | ||
* `yarn install` | ||
|
||
## Linting | ||
|
||
* `yarn lint:hbs` | ||
* `yarn lint:js` | ||
* `yarn lint:js --fix` | ||
|
||
## Running tests | ||
|
||
* `ember test` – Runs the test suite on the current Ember version | ||
* `ember test --server` – Runs the test suite in "watch mode" | ||
* `ember try:each` – Runs the test suite against multiple Ember versions | ||
|
||
## Running the dummy application | ||
|
||
* `ember serve` | ||
* Visit the dummy application at [http://localhost:4200](http://localhost:4200). | ||
|
||
For more information on using ember-cli, visit [https://ember-cli.com/](https://ember-cli.com/). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.