-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Angel-M-R
committed
Nov 25, 2021
1 parent
a4cd1a1
commit 06f8256
Showing
31 changed files
with
3,629 additions
and
3,522 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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module.exports = { | ||
extends: ['@commitlint/config-conventional'], | ||
extends: ['@commitlint/config-conventional'], | ||
}; |
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,63 +1,54 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
root: true, | ||
parser: 'babel-eslint', | ||
parserOptions: { | ||
ecmaVersion: 2018, | ||
sourceType: 'module', | ||
ecmaFeatures: { | ||
legacyDecorators: true, | ||
}, | ||
}, | ||
plugins: ['ember'], | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:ember/recommended', | ||
'plugin:prettier/recommended', | ||
], | ||
env: { | ||
browser: true, | ||
}, | ||
overrides: [ | ||
// node files | ||
{ | ||
files: [ | ||
'.huskyrc.js', | ||
'.commitlintrc.js', | ||
'.eslintrc.js', | ||
'.prettierrc.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/**', | ||
], | ||
parserOptions: { | ||
sourceType: 'script', | ||
}, | ||
env: { | ||
browser: false, | ||
node: true, | ||
}, | ||
plugins: ['node'], | ||
extends: ['plugin:node/recommended'], | ||
}, | ||
{ | ||
// Test files: | ||
files: ['tests/**/*-test.{js,ts}'], | ||
extends: ['plugin:qunit/recommended'], | ||
rules: { | ||
'qunit/require-expect': 'off', | ||
}, | ||
}, | ||
], | ||
root: true, | ||
parser: 'babel-eslint', | ||
parserOptions: { | ||
ecmaVersion: 2018, | ||
sourceType: 'module', | ||
ecmaFeatures: { | ||
legacyDecorators: true, | ||
}, | ||
}, | ||
plugins: ['ember'], | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:ember/recommended', | ||
'plugin:prettier/recommended', | ||
], | ||
env: { | ||
browser: true, | ||
}, | ||
rules: {}, | ||
overrides: [ | ||
// node files | ||
{ | ||
files: [ | ||
'./.commitlintrc.js', | ||
'./.eslintrc.js', | ||
'./.prettierrc.js', | ||
'./.template-lintrc.js', | ||
'./ember-cli-build.js', | ||
'./index.js', | ||
'./testem.js', | ||
'./blueprints/*/index.js', | ||
'./config/**/*.js', | ||
'./tests/dummy/config/**/*.js', | ||
], | ||
parserOptions: { | ||
sourceType: 'script', | ||
}, | ||
env: { | ||
browser: false, | ||
node: true, | ||
}, | ||
plugins: ['node'], | ||
extends: ['plugin:node/recommended'], | ||
}, | ||
{ | ||
// Test files: | ||
files: ['tests/**/*-test.{js,ts}'], | ||
extends: ['plugin:qunit/recommended'], | ||
}, | ||
], | ||
}; |
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,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
yarn lint-staged |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
singleQuote: true, | ||
singleQuote: true, | ||
}; |
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,24 +1,24 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
extends: 'recommended', | ||
rules: { | ||
'no-bare-strings': true, | ||
'block-indentation': 'tab', | ||
'no-html-comments': true, | ||
'no-nested-interactive': true, | ||
'self-closing-void-elements': true, | ||
'no-triple-curlies': true, | ||
'deprecated-each-syntax': true, | ||
'link-rel-noopener': true, | ||
'no-invalid-interactive': true, | ||
'require-valid-alt-text': true, | ||
'style-concatenation': true, | ||
'deprecated-inline-view-helper': true, | ||
'no-unused-block-params': true, | ||
'inline-link-to': true, | ||
'no-inline-styles': true, | ||
'simple-unless': false, | ||
}, | ||
ignore: ['tests/dummy/**'], | ||
extends: 'recommended', | ||
rules: { | ||
'no-bare-strings': true, | ||
'block-indentation': 'tab', | ||
'no-html-comments': true, | ||
'no-nested-interactive': true, | ||
'self-closing-void-elements': true, | ||
'no-triple-curlies': true, | ||
'deprecated-each-syntax': true, | ||
'link-rel-noopener': true, | ||
'no-invalid-interactive': true, | ||
'require-valid-alt-text': true, | ||
'style-concatenation': true, | ||
'deprecated-inline-view-helper': true, | ||
'no-unused-block-params': true, | ||
'inline-link-to': true, | ||
'no-inline-styles': true, | ||
'simple-unless': false, | ||
}, | ||
ignore: ['tests/dummy/**'], | ||
}; |
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,23 +1,23 @@ | ||
export const STATES = { | ||
ONLINE: 'ONLINE', | ||
OFFLINE: 'OFFLINE', | ||
RECONNECTING: 'RECONNECTING', | ||
LIMITED: 'LIMITED', | ||
ONLINE: 'ONLINE', | ||
OFFLINE: 'OFFLINE', | ||
RECONNECTING: 'RECONNECTING', | ||
LIMITED: 'LIMITED', | ||
}; | ||
|
||
export const CONFIG = { | ||
reconnect: { | ||
auto: false, | ||
path: '/favicon.ico', | ||
delay: 5000, | ||
multiplier: 1.5, | ||
timeout: 15000, | ||
maxDelay: 60000, | ||
maxTimes: -1, | ||
}, | ||
reconnect: { | ||
auto: false, | ||
path: '/favicon.ico', | ||
delay: 5000, | ||
multiplier: 1.5, | ||
timeout: 15000, | ||
maxDelay: 60000, | ||
maxTimes: -1, | ||
}, | ||
}; | ||
|
||
export default { | ||
STATES, | ||
CONFIG, | ||
STATES, | ||
CONFIG, | ||
}; |
Oops, something went wrong.