-
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.
- Loading branch information
1 parent
cb23dc3
commit 58680b3
Showing
13 changed files
with
224 additions
and
33 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,55 @@ | ||
'use strict'; | ||
|
||
// @TODO this can be removed once `trailingComma` is enabled upstream by default | ||
const prettierTrailingComma = { | ||
'prettier/prettier': [ | ||
'error', | ||
require('@clark/prettier-config/trailing-comma'), | ||
], | ||
}; | ||
|
||
const ruleOverrides = { | ||
...prettierTrailingComma, | ||
}; | ||
|
||
module.exports = { | ||
root: true, | ||
extends: '@clark/node' | ||
extends: ['@clark'], | ||
parser: '@babel/eslint-parser', | ||
parserOptions: { | ||
requireConfigFile: false, | ||
}, | ||
rules: { | ||
...ruleOverrides, | ||
}, | ||
overrides: [ | ||
{ | ||
files: ['app/**/*.js'], | ||
extends: '@clark/ember', | ||
rules: { ...ruleOverrides }, | ||
}, | ||
{ | ||
files: ['addon-test-support/**/*.js', 'tests/**/*.js'], | ||
excludedFiles: ['tests/dummy/config/**/*.js'], | ||
extends: '@clark/ember/test', | ||
rules: { ...ruleOverrides }, | ||
}, | ||
{ | ||
files: ['addon-test-support/**/*.js'], | ||
rules: { | ||
'qunit/no-commented-tests': 'off', | ||
}, | ||
}, | ||
{ | ||
files: [ | ||
'./*.js', | ||
'blueprints/*/index.js', | ||
'config/**/*.js', | ||
'tests/dummy/config/**/*.js', | ||
'lib/**/*.js', | ||
], | ||
extends: '@clark/node', | ||
rules: { ...ruleOverrides }, | ||
}, | ||
], | ||
}; |
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 = { | ||
extends: 'recommended' | ||
extends: '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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,5 +14,5 @@ module.exports = { | |
|
||
createCssModulesPlugin(parent) { | ||
return new ClarkPlugin(parent); | ||
} | ||
}, | ||
}; |
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import EmberRouter from '@ember/routing/router'; | ||
|
||
import config from './config/environment'; | ||
|
||
export default class Router extends EmberRouter { | ||
location = config.locationType; | ||
rootURL = config.rootURL; | ||
}; | ||
} | ||
|
||
Router.map(function() { | ||
}); | ||
Router.map(function () {}); |
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
Oops, something went wrong.