Skip to content
This repository was archived by the owner on Feb 21, 2024. It is now read-only.

Commit 2de7beb

Browse files
ember-tomsteradrigzr
authored andcommitted
feat: initial code
1 parent 54c8144 commit 2de7beb

54 files changed

Lines changed: 19456 additions & 2 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.commitlintrc.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
'use strict';
2+
3+
module.exports = {
4+
extends: ['@commitlint/config-conventional']
5+
};

.editorconfig

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[*]
2+
end_of_line = lf
3+
charset = utf-8
4+
trim_trailing_whitespace = true
5+
insert_final_newline = true
6+
indent_style = space
7+
indent_size = 2
8+
9+
[*.{html,css,hbs,js}]
10+
indent_style = tab
11+
indent_size = tab
12+
tab_width = 4
13+
14+
[*.hbs]
15+
insert_final_newline = false
16+
17+
[*.md]
18+
trim_trailing_whitespace = false

.ember-cli

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
/**
3+
Ember CLI sends analytics information by default. The data is completely
4+
anonymous, but there are times when you might want to disable this behavior.
5+
6+
Setting `disableAnalytics` to true will prevent any data from being sent.
7+
*/
8+
"disableAnalytics": false
9+
}

.eslintignore

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# unconventional js
2+
/blueprints/*/files/
3+
/vendor/
4+
5+
# compiled output
6+
/dist/
7+
/tmp/
8+
9+
# dependencies
10+
/bower_components/
11+
/node_modules/
12+
13+
# misc
14+
/coverage/
15+
!.*
16+
17+
# ember-try
18+
/.node_modules.ember-try/
19+
/bower.json.ember-try
20+
/package.json.ember-try

.eslintrc.js

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
'use strict';
2+
3+
module.exports = {
4+
root: true,
5+
parserOptions: {
6+
ecmaVersion: 2017,
7+
sourceType: 'module'
8+
},
9+
plugins: [
10+
'ember'
11+
],
12+
extends: [
13+
'plugin:ember/recommended',
14+
'eslint-config-bbva'
15+
],
16+
env: {
17+
browser: true
18+
},
19+
overrides: [{
20+
files: [
21+
'.huskyrc.js',
22+
'.commitlintrc.js',
23+
'.eslintrc.js',
24+
'.template-lintrc.js',
25+
'ember-cli-build.js',
26+
'index.js',
27+
'testem.js',
28+
'blueprints/*/index.js',
29+
'config/**/*.js',
30+
'tests/dummy/config/**/*.js'
31+
],
32+
excludedFiles: [
33+
'addon/**',
34+
'addon-test-support/**',
35+
'app/**',
36+
'tests/dummy/app/**'
37+
],
38+
parserOptions: {
39+
sourceType: 'script',
40+
ecmaVersion: 2015
41+
},
42+
env: {
43+
browser: false,
44+
node: true
45+
},
46+
plugins: ['node'],
47+
rules: Object.assign({}, require('eslint-plugin-node').configs.recommended.rules, {
48+
'no-process-env': 0
49+
})
50+
}]
51+
};

.gitignore

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# See https://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# compiled output
4+
/dist/
5+
/tmp/
6+
7+
# dependencies
8+
/bower_components/
9+
/node_modules/
10+
11+
# misc
12+
/.env*
13+
/.sass-cache
14+
/connect.lock
15+
/coverage/
16+
/libpeerconnection.log
17+
/npm-debug.log*
18+
/testem.log
19+
/yarn-error.log
20+
/tags*
21+
/.nyc_output
22+
23+
# ember-try
24+
/.node_modules.ember-try/
25+
/bower.json.ember-try
26+
/package.json.ember-try

.huskyrc.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
'use strict';
2+
3+
module.exports = {
4+
hooks: {
5+
'commit-msg': 'commitlint -E HUSKY_GIT_PARAMS',
6+
'pre-push': 'npm run lint:js && npm run lint:hbs && npm test'
7+
}
8+
};

.npmignore

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# compiled output
2+
/dist/
3+
/tmp/
4+
5+
# dependencies
6+
/bower_components/
7+
8+
# misc
9+
/.bowerrc
10+
/.editorconfig
11+
/.ember-cli
12+
/.env*
13+
/.eslintignore
14+
/.eslintrc.js
15+
/.gitignore
16+
/.template-lintrc.js
17+
/.travis.yml
18+
/.watchmanconfig
19+
/bower.json
20+
/config/ember-try.js
21+
/CONTRIBUTING.md
22+
/ember-cli-build.js
23+
/testem.js
24+
/tests/
25+
/yarn.lock
26+
.gitkeep
27+
28+
# ember-try
29+
/.node_modules.ember-try/
30+
/bower.json.ember-try
31+
/package.json.ember-try

.releaserc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"plugins": [
3+
"@semantic-release/commit-analyzer",
4+
"@semantic-release/release-notes-generator",
5+
"@semantic-release/changelog",
6+
"@semantic-release/npm",
7+
"@semantic-release/git",
8+
"@semantic-release/github",
9+
["@semantic-release/exec", {
10+
"publishCmd": "npx ember deploy production"
11+
}]
12+
]
13+
}

.template-lintrc.js

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
'use strict';
2+
3+
module.exports = {
4+
extends: 'recommended',
5+
rules: {
6+
'no-bare-strings': true,
7+
'block-indentation': 'tab',
8+
'no-html-comments': true,
9+
'no-nested-interactive': true,
10+
'self-closing-void-elements': true,
11+
'no-triple-curlies': true,
12+
'deprecated-each-syntax': true,
13+
'link-rel-noopener': true,
14+
'no-invalid-interactive': true,
15+
'img-alt-attributes': true,
16+
'style-concatenation': true,
17+
'deprecated-inline-view-helper': true,
18+
'no-unused-block-params': true,
19+
'inline-link-to': true,
20+
'no-inline-styles': true,
21+
'simple-unless': false
22+
}
23+
};

0 commit comments

Comments
 (0)