-
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
8e6fbd9
commit 60977dd
Showing
24 changed files
with
3,354 additions
and
95 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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,281 @@ | ||
<!DOCTYPE html> | ||
|
||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width"> | ||
<title>Itee-LevelDB Source: configs/eslint.conf.js</title> | ||
|
||
<!--[if lt IE 9]> | ||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> | ||
<![endif]--> | ||
<link type="text/css" rel="stylesheet" href="styles/sunlight.dark.css"> | ||
|
||
<link type="text/css" rel="stylesheet" href="styles/site.cyborg.css"> | ||
|
||
</head> | ||
|
||
<body> | ||
|
||
<div class="navbar navbar-default navbar-fixed-top "> | ||
<div class="container"> | ||
<div class="navbar-header"> | ||
<a class="navbar-brand" href="index.html">Itee-LevelDB</a> | ||
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#topNavigation"> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
</button> | ||
</div> | ||
<div class="navbar-collapse collapse" id="topNavigation"> | ||
<ul class="nav navbar-nav"> | ||
|
||
<li class="dropdown"> | ||
<a href="modules.list.html" class="dropdown-toggle" data-toggle="dropdown">Modules<b class="caret"></b></a> | ||
<ul class="dropdown-menu inline"> | ||
<li><a href="module-Building.html">Building</a></li><li><a href="module-Config-EsLint.html">Config-EsLint</a></li><li><a href="module-Config-JsDoc.html">Config-JsDoc</a></li><li><a href="module-Config-Karma-Benchs.html">Config-Karma-Benchs</a></li><li><a href="module-Config-Karma-Units.html">Config-Karma-Units</a></li><li><a href="module-Config-Rollup.html">Config-Rollup</a></li><li><a href="module-Config-Rollup-Test.html">Config-Rollup-Test</a></li> | ||
</ul> | ||
</li> | ||
|
||
<li class="dropdown"> | ||
<a href="global.html" class="dropdown-toggle" data-toggle="dropdown">Global<b class="caret"></b></a> | ||
<ul class="dropdown-menu inline"> | ||
<li><a href="global.html#npmrunbench">npm run bench</a></li><li><a href="global.html#npmrunbuild">npm run build</a></li><li><a href="global.html#npmrunbuild-test">npm run build-test</a></li><li><a href="global.html#npmrunclean">npm run clean</a></li><li><a href="global.html#npmrundoc">npm run doc</a></li><li><a href="global.html#npmrunhelpdefault">npm run help ( default )</a></li><li><a href="global.html#npmrunlint">npm run lint</a></li><li><a href="global.html#npmrunpatch">npm run patch</a></li><li><a href="global.html#npmrunrelease">npm run release</a></li><li><a href="global.html#npmruntest">npm run test</a></li><li><a href="global.html#npmrununit">npm run unit</a></li> | ||
</ul> | ||
</li> | ||
|
||
</ul> | ||
|
||
<div class="col-sm-3 col-md-3"> | ||
<form class="navbar-form" role="search"> | ||
<div class="input-group"> | ||
<input type="text" class="form-control" placeholder="Search" name="q" id="search-input"> | ||
<div class="input-group-btn"> | ||
<button class="btn btn-default" id="search-submit"><i class="glyphicon glyphicon-search"></i></button> | ||
</div> | ||
</div> | ||
</form> | ||
</div> | ||
|
||
</div> | ||
|
||
</div> | ||
</div> | ||
|
||
|
||
<div class="container" id="toc-content"> | ||
<div class="row"> | ||
|
||
|
||
<div class="col-md-12"> | ||
|
||
<div id="main"> | ||
|
||
|
||
<h1 class="page-title">Source: configs/eslint.conf.js</h1> | ||
|
||
<section> | ||
<article> | ||
<pre | ||
class="sunlight-highlight-javascript linenums">/** | ||
* @author [Tristan Valcke]{@link https://github.com/Itee} | ||
* @license [BSD-3-Clause]{@link https://opensource.org/licenses/BSD-3-Clause} | ||
* | ||
* @module Config-EsLint | ||
* @description The configuration file of the eslint plugin | ||
*/ | ||
|
||
/** | ||
* Will create an appropriate configuration object for eslint | ||
* | ||
* @generator | ||
* @returns {object} The eslint configuration | ||
*/ | ||
function CreateEslintConfiguration () { | ||
|
||
return { | ||
env: { | ||
'browser': true, | ||
'node': true, | ||
'es6': true | ||
}, | ||
globals: { | ||
'BigInt64Array': 'readonly', | ||
'BigUint64Array': 'readonly' | ||
}, | ||
parserOptions: { | ||
ecmaVersion: 2018, | ||
sourceType: 'module' | ||
}, | ||
extends: [ | ||
'eslint:recommended' | ||
], | ||
plugins: [ | ||
'mocha' | ||
], | ||
rules: { | ||
'no-multiple-empty-lines': [ 1, { 'max': 2 } ], | ||
'no-mixed-spaces-and-tabs': 'off', | ||
'mocha/no-exclusive-tests': 'error', | ||
'no-console': 'warn', | ||
'no-multi-spaces': [ | ||
'error', { | ||
exceptions: { | ||
'Property': true, | ||
'ImportDeclaration': true, | ||
'VariableDeclarator': true, | ||
'AssignmentExpression': true | ||
} | ||
} | ||
], | ||
'key-spacing': [ | ||
'error', { | ||
'align': { | ||
'beforeColon': false, | ||
'afterColon': true, | ||
'on': 'value' | ||
} | ||
} | ||
] | ||
|
||
} | ||
} | ||
|
||
} | ||
|
||
module.exports = CreateEslintConfiguration() | ||
</pre> | ||
</article> | ||
</section> | ||
|
||
|
||
|
||
|
||
|
||
</div> | ||
</div> | ||
|
||
<div class="clearfix"></div> | ||
|
||
|
||
|
||
</div> | ||
</div> | ||
|
||
|
||
<div class="modal fade" id="searchResults"> | ||
<div class="modal-dialog"> | ||
<div class="modal-content"> | ||
<div class="modal-header"> | ||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> | ||
<h4 class="modal-title">Search results</h4> | ||
</div> | ||
<div class="modal-body"></div> | ||
<div class="modal-footer"> | ||
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button> | ||
</div> | ||
</div><!-- /.modal-content --> | ||
</div><!-- /.modal-dialog --> | ||
</div> | ||
|
||
|
||
<footer> | ||
|
||
|
||
<span class="copyright"> | ||
Copyright 2015-Present <a href="https://github.com/Itee">Itee</a> (Tristan Valcke) | ||
</span> | ||
|
||
<span class="jsdoc-message"> | ||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a> | ||
|
||
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>. | ||
</span> | ||
</footer> | ||
|
||
<script src="scripts/docstrap.lib.js"></script> | ||
<script src="scripts/toc.js"></script> | ||
|
||
<script type="text/javascript" src="scripts/fulltext-search-ui.js"></script> | ||
|
||
|
||
<script> | ||
$( function () { | ||
$( "[id*='$']" ).each( function () { | ||
var $this = $( this ); | ||
|
||
$this.attr( "id", $this.attr( "id" ).replace( "$", "__" ) ); | ||
} ); | ||
|
||
$( ".tutorial-section pre, .readme-section pre, pre.prettyprint.source" ).each( function () { | ||
var $this = $( this ); | ||
|
||
var example = $this.find( "code" ); | ||
exampleText = example.html(); | ||
var lang = /{@lang (.*?)}/.exec( exampleText ); | ||
if ( lang && lang[1] ) { | ||
exampleText = exampleText.replace( lang[0], "" ); | ||
example.html( exampleText ); | ||
lang = lang[1]; | ||
} else { | ||
var langClassMatch = example.parent()[0].className.match(/lang\-(\S+)/); | ||
lang = langClassMatch ? langClassMatch[1] : "javascript"; | ||
} | ||
|
||
if ( lang ) { | ||
|
||
$this | ||
.addClass( "sunlight-highlight-" + lang ) | ||
.addClass( "linenums" ) | ||
.html( example.html() ); | ||
|
||
} | ||
} ); | ||
|
||
Sunlight.highlightAll( { | ||
lineNumbers : true, | ||
showMenu : true, | ||
enableDoclinks : true | ||
} ); | ||
|
||
$.catchAnchorLinks( { | ||
navbarOffset: 10 | ||
} ); | ||
$( "#toc" ).toc( { | ||
anchorName : function ( i, heading, prefix ) { | ||
return $( heading ).attr( "id" ) || ( prefix + i ); | ||
}, | ||
selectors : "#toc-content h1,#toc-content h2,#toc-content h3,#toc-content h4", | ||
showAndHide : false, | ||
smoothScrolling: true | ||
} ); | ||
|
||
$( "#main span[id^='toc']" ).addClass( "toc-shim" ); | ||
$( '.dropdown-toggle' ).dropdown(); | ||
|
||
$( "table" ).each( function () { | ||
var $this = $( this ); | ||
$this.addClass('table'); | ||
} ); | ||
|
||
} ); | ||
</script> | ||
|
||
|
||
|
||
<!--Navigation and Symbol Display--> | ||
|
||
|
||
<!--Google Analytics--> | ||
|
||
|
||
|
||
<script type="text/javascript"> | ||
$(document).ready(function() { | ||
SearcherDisplay.init(); | ||
}); | ||
</script> | ||
|
||
|
||
</body> | ||
</html> |
Oops, something went wrong.