-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: Updated dependencies * chore: Updated ember-source to v5.8.0 * chore: Added lockfile * chore: Temporarily hardcoded versions for ember-beta and ember-canary * chore: Reconfigured eslint to be compatible with eslint-plugin-ember@v12 * chore: Ignored ember/no-runloop * bugfix: Created a local helper to render $ character (can't be parsed by [email protected]) --------- Co-authored-by: ijlee2 <[email protected]>
- Loading branch information
Showing
25 changed files
with
2,314 additions
and
2,595 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
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
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,105 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
root: true, | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
ecmaVersion: 'latest', | ||
sourceType: 'module', | ||
}, | ||
plugins: [ | ||
'ember', | ||
'@typescript-eslint', | ||
'simple-import-sort', | ||
'typescript-sort-keys', | ||
], | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:ember/recommended', | ||
'plugin:import/recommended', | ||
'plugin:import/typescript', | ||
'plugin:prettier/recommended', | ||
'plugin:typescript-sort-keys/recommended', | ||
], | ||
env: { | ||
browser: true, | ||
}, | ||
rules: { | ||
curly: 'error', | ||
'simple-import-sort/exports': 'error', | ||
'simple-import-sort/imports': 'error', | ||
}, | ||
settings: { | ||
'import/resolver': { | ||
node: { | ||
extensions: ['.gjs', '.gts', '.js', '.ts'], | ||
}, | ||
typescript: true, | ||
}, | ||
}, | ||
overrides: [ | ||
// Ember files | ||
{ | ||
files: ['**/*.{gts,ts}'], | ||
extends: [ | ||
'plugin:@typescript-eslint/eslint-recommended', | ||
'plugin:@typescript-eslint/recommended', | ||
], | ||
rules: { | ||
'@typescript-eslint/array-type': 'error', | ||
'@typescript-eslint/consistent-type-imports': 'error', | ||
'@typescript-eslint/no-empty-interface': 'off', | ||
'@typescript-eslint/no-import-type-side-effects': 'error', | ||
}, | ||
}, | ||
{ | ||
files: ['**/*.gts'], | ||
parser: 'ember-eslint-parser', | ||
extends: ['plugin:ember/recommended-gts'], | ||
}, | ||
{ | ||
files: ['**/*.gjs'], | ||
parser: 'ember-eslint-parser', | ||
extends: ['plugin:ember/recommended-gjs'], | ||
}, | ||
{ | ||
files: ['**/*.{gjs,gts,js,ts}'], | ||
rules: { | ||
'import/no-duplicates': 'error', | ||
'import/no-unresolved': [ | ||
'error', | ||
{ ignore: ['^@ember', '^dummy/', '^ember', 'fetch'] }, | ||
], | ||
}, | ||
}, | ||
{ | ||
files: ['src/**/*.{gjs,gts,js,ts}'], | ||
rules: { | ||
'import/extensions': [ | ||
'error', | ||
'always', | ||
{ | ||
ignorePackages: true, | ||
}, | ||
], | ||
}, | ||
}, | ||
// Node files | ||
{ | ||
files: [ | ||
'./.eslintrc.{cjs,js}', | ||
'./.prettierrc.{cjs,js}', | ||
'./.stylelintrc.{cjs,js}', | ||
'./.template-lintrc.{cjs,js}', | ||
'./addon-main.cjs', | ||
'./blueprints/*/index.js', | ||
'./rollup.config.mjs', | ||
], | ||
env: { | ||
browser: false, | ||
node: true, | ||
}, | ||
extends: ['plugin:n/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
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 |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
/blueprints/*/files/ | ||
|
||
# compiled output | ||
/declarations/ | ||
/dist/ | ||
|
||
# misc | ||
|
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
Oops, something went wrong.