-
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into meta-property-ordering-hasSuggestions
- Loading branch information
Showing
86 changed files
with
3,663 additions
and
824 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
root: true, | ||
plugins: ['node'], | ||
extends: [ | ||
'not-an-aardvark/node', | ||
'plugin:unicorn/recommended', | ||
'plugin:node/recommended', | ||
], | ||
rules: { | ||
'comma-dangle': [ | ||
'error', | ||
{ | ||
arrays: 'always-multiline', | ||
objects: 'always-multiline', | ||
functions: 'never', // disallow trailing commas in function(es2017) | ||
}, | ||
], | ||
'require-jsdoc': 'error', | ||
|
||
'unicorn/consistent-function-scoping': 'off', | ||
'unicorn/no-array-callback-reference': 'off', | ||
'unicorn/no-array-for-each': 'off', | ||
'unicorn/no-array-reduce': 'off', | ||
'unicorn/no-null': 'off', | ||
'unicorn/prefer-module': 'off', | ||
'unicorn/prevent-abbreviations': 'off', | ||
}, | ||
overrides: [ | ||
{ | ||
// Apply eslint-plugin rules to our own rules/tests (but not docs). | ||
files: ['lib/**/*.js', 'tests/**/*.js'], | ||
plugins: ['self'], | ||
extends: ['plugin:self/all'], | ||
rules: { | ||
'self/report-message-format': ['error', '^[^a-z].*.$'], | ||
'self/require-meta-docs-url': 'off', | ||
}, | ||
}, | ||
{ | ||
files: ['tests/**/*.js'], | ||
env: { mocha: true }, | ||
}, | ||
{ | ||
files: ['**/*.md'], | ||
processor: 'markdown/markdown', | ||
}, | ||
{ | ||
// Markdown JS code samples in documentation: | ||
files: ['**/*.md/*.js'], | ||
plugins: ['markdown'], | ||
noInlineConfig: true, | ||
rules: { | ||
'no-undef': 'off', | ||
'no-unused-vars': 'off', | ||
strict: 'off', | ||
|
||
'unicorn/filename-case': 'off', | ||
}, | ||
}, | ||
], | ||
}; |
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
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,6 @@ | ||
.idea | ||
.nyc_output | ||
.vscode | ||
node_modules/ | ||
npm-debug.log | ||
.vscode | ||
.idea | ||
yarn.lock |
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 @@ | ||
{ | ||
"line-length": false | ||
} |
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 @@ | ||
CHANGELOG.md | ||
LICENSE.md | ||
node_modules |
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.