Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update linting, bump deps #1010

Merged
merged 2 commits into from
Dec 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ module.exports = {
server: true,
},
root: true,
parser: 'babel-eslint',
parser: '@babel/eslint-parser',
parserOptions: {
ecmaVersion: 2018,
ecmaVersion: 2020,
sourceType: 'module',
ecmaFeatures: {
legacyDecorators: true,
Expand Down
1 change: 1 addition & 0 deletions addon/components/docs-header/search-results/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable ember/require-computed-property-dependencies */
import { inject as service } from '@ember/service';
import Component from '@ember/component';
import { action } from '@ember/object';
Expand Down
12 changes: 12 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/* eslint-env node */
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rwwagner90 don't want to be show stopper, from emberjs/ember-cli-babel#418 I got impression that addons should not ship babel.config.js


module.exports = {
plugins: [
[
require('@babel/plugin-proposal-decorators').default,
{
legacy: true,
},
],
],
};
27 changes: 14 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@ember/legacy-built-in-components": "^0.4.0",
"@ember/render-modifiers": "^2.0.0",
"@glimmer/component": "^1.0.4",
"@glimmer/syntax": "^0.81.0",
"@glimmer/syntax": "^0.83.1",
"@glimmer/tracking": "^1.0.4",
"broccoli-bridge": "^1.0.0",
"broccoli-caching-writer": "^3.0.3",
Expand All @@ -52,10 +52,10 @@
"broccoli-source": "^3.0.0",
"broccoli-stew": "^3.0.0",
"chalk": "^4.1.0",
"ember-auto-import": "^2.2.0",
"ember-cli-autoprefixer": "^1.0.2",
"ember-auto-import": "^2.2.4",
"ember-cli-autoprefixer": "^2.0.0",
"ember-cli-babel": "^7.26.6",
"ember-cli-clipboard": "jkusa/ember-cli-clipboard#e27143fe91c486baa4fe2abf654f73ef594b5216",
"ember-cli-clipboard": "^0.16.0",
"ember-cli-htmlbars": "^6.0.0",
"ember-cli-postcss": "^7.0.2",
"ember-cli-string-helpers": "^6.1.0",
Expand All @@ -66,12 +66,12 @@
"ember-concurrency": "^2.0.0",
"ember-decorators": "^6.1.1",
"ember-fetch": "^8.1.1",
"ember-get-config": "^0.3.0",
"ember-keyboard": "^6.0.3",
"ember-get-config": "^0.5.0",
"ember-keyboard": "^6.0.4",
"ember-modal-dialog": "yapplabs/ember-modal-dialog#76b74f1c4b791fed5b084836c3b1c8c54836ac71",
"ember-responsive": "^4.0.2",
"ember-router-generator": "^2.0.0",
"ember-router-scroll": "^4.0.2",
"ember-router-scroll": "^4.1.2",
"ember-set-helper": "^2.0.1",
"ember-svg-jar": "^2.2.3",
"ember-tether": "^2.0.1",
Expand Down Expand Up @@ -102,14 +102,15 @@
"yuidocjs": "^0.10.2"
},
"devDependencies": {
"@babel/eslint-parser": "^7.16.0",
"@babel/plugin-proposal-decorators": "^7.16.0",
"@ember/optional-features": "^2.0.0",
"@ember/test-helpers": "^2.4.2",
"@embroider/test-setup": "^0.47.1",
"@embroider/test-setup": "^0.47.2",
"@fullhuman/postcss-purgecss": "^4.0.3",
"babel-eslint": "^10.1.0",
"broccoli-asset-rev": "^3.0.0",
"chai": "^4.2.0",
"common-tags": "^1.8.0",
"common-tags": "^1.8.2",
"ember-classy-page-object": "rwwagner90/ember-classy-page-object#08d305c1cabdb8ede091c4fc7fee86dc4778746d",
"ember-cli": "~3.28.0",
"ember-cli-addon-docs-yuidoc": "^1.0.0",
Expand All @@ -134,8 +135,8 @@
"ember-source-channel-url": "^3.0.0",
"ember-template-lint": "^3.6.0",
"ember-test-selectors": "^6.0.0",
"ember-try": "^1.4.0",
"eslint": "^7.32.0",
"ember-try": "^2.0.0",
"eslint": "^8.3.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-ember": "^10.5.4",
"eslint-plugin-node": "^11.1.0",
Expand All @@ -149,7 +150,7 @@
"qunit-dom": "^2.0.0",
"release-it": "^14.11.5",
"release-it-lerna-changelog": "^4.0.1",
"webpack": "^5.52.1"
"webpack": "^5.64.2"
},
"peerDependencies": {
"ember-data": ">= 3.0.0",
Expand Down
7 changes: 4 additions & 3 deletions sandbox/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
module.exports = {
root: true,
parser: 'babel-eslint',
parser: '@babel/eslint-parser',
parserOptions: {
ecmaVersion: 2017,
sourceType: 'module'
ecmaVersion: 2020,
sourceType: 'module',
requireConfigFile: false
},
plugins: [
'ember'
Expand Down
Loading