Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
Added firecloud rules to config
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Savchenko (isao) committed Feb 23, 2018
1 parent 738010d commit df68e07
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 1 deletion.
1 change: 1 addition & 0 deletions browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module.exports = {
'./configs/better.js',
'./configs/async-await.js',
'./configs/dependencies.js',
'./configs/firecloud.js',
'./configs/fp.js',
'./configs/import.js',
'./configs/lodash.js',
Expand Down
18 changes: 18 additions & 0 deletions configs/firecloud.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
module.exports = {
plugins: [
'firecloud'
],

rules: {
'firecloud/order-imports': 'warn',
'firecloud/import-specifier-newline': ['warn', {
allowMultiplePerLine: false
}],

'firecloud/import-specifier-curly-newline': ['error', {
allowOneLineIfSingle: false
}],

'firecloud/padding-line-import-multiple': 'error',
}
};
1 change: 1 addition & 0 deletions node.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module.exports = {
'./configs/better.js',
'./configs/async-await.js',
'./configs/dependencies.js',
'./configs/firecloud.js',
'./configs/fp.js',
'./configs/import.js',
'./configs/lodash.js',
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
"eslint-plugin-lodash": "2.5.1",
"eslint-plugin-mocha": "4.11.0",
"eslint-plugin-max-len-2": "0.0.5",
"eslint-plugin-no-null": "1.0.2"
"eslint-plugin-no-null": "1.0.2",
"eslint-plugin-firecloud": "https://github.com/tobiipro/eslint-plugin-firecloud",
"lodash": "^4.0.0"
},
"scripts": {
"test": "eclint check $(git ls-files | grep -v -e \"^package-lock.json$\" -e \"^LICENSE$\" -e \"^UNLICENSE$\")"
Expand Down

0 comments on commit df68e07

Please sign in to comment.