-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Drop dependency on lerna & airbnb
BREAKING CHANGE: This switches our linting to an entirely new set of rules. For the most part we're trying to stay consistent with the old format to reduce churn but it explicitly is a departure.
- Loading branch information
Jan Krems
committed
Aug 25, 2017
1 parent
7f5fb83
commit 559c99f
Showing
71 changed files
with
157 additions
and
1,065 deletions.
There are no files selected for viewing
File renamed without changes.
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,20 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
parserOptions: { | ||
sourceType: 'script', | ||
ecmaVersion: 5, | ||
}, | ||
rules: { | ||
'no-param-reassign': 0, | ||
'prefer-rest-params': 0, | ||
'no-underscore-dangle': [2, { allowAfterThis: true }], | ||
strict: [2, 'global'], | ||
'comma-dangle': [2, { | ||
arrays: 'always-multiline', | ||
objects: 'always-multiline', | ||
functions: 'never', | ||
}], | ||
'prefer-spread': 0, | ||
} | ||
}; |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,3 @@ | ||
'use strict'; | ||
|
||
module.exports = require('../../../es5'); |
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,3 @@ | ||
'use strict'; | ||
|
||
(() => {})(); |
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,3 @@ | ||
{ | ||
"errorCount": 1 | ||
} |
File renamed without changes.
File renamed without changes.
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,3 @@ | ||
'use strict'; | ||
|
||
module.exports = require('../../../node4'); |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,3 @@ | ||
'use strict'; | ||
|
||
module.exports = require('../../../node6'); |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,2 @@ | ||
/* .css files can be included - but we don't support inline css blocks. */ | ||
@import('./raw.css'); |
This file was deleted.
Oops, something went wrong.
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,24 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
parserOptions: { | ||
ecmaVersion: 2017, | ||
sourceType: 'script', | ||
}, | ||
plugins: [ | ||
'node', | ||
], | ||
rules: { | ||
'node/no-unsupported-features': [2, { version: 4 }], | ||
'no-param-reassign': 0, | ||
'prefer-rest-params': 0, | ||
'no-underscore-dangle': [2, { allowAfterThis: true }], | ||
strict: [2, 'global'], | ||
'comma-dangle': [2, { | ||
arrays: 'always-multiline', | ||
objects: 'always-multiline', | ||
functions: 'never', | ||
}], | ||
'prefer-spread': 0, | ||
} | ||
}; |
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,21 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
parserOptions: { | ||
ecmaVersion: 2017, | ||
sourceType: 'script', | ||
}, | ||
plugins: [ | ||
'node', | ||
], | ||
rules: { | ||
'node/no-unsupported-features': [2, { version: 6 }], | ||
'no-underscore-dangle': [2, { allowAfterThis: true }], | ||
strict: [2, 'global'], | ||
'comma-dangle': [2, { | ||
arrays: 'always-multiline', | ||
objects: 'always-multiline', | ||
functions: 'never', | ||
}], | ||
} | ||
}; |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
packages/eslint-config-groupon-es5/test/base/valid/async-function.js
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.