Update linters
* Update eslint and stylelint config * Fix Gruntfile.js to actually run stylelint
This commit is contained in:
committed by
Niklas Laxström
parent
c4f0fdab15
commit
d53beca719
7
test/.eslintrc.json
Normal file
7
test/.eslintrc.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"root": true,
|
||||
"extends": [
|
||||
"wikimedia/qunit",
|
||||
"../.eslintrc.json"
|
||||
]
|
||||
}
|
||||
@@ -18,11 +18,6 @@
|
||||
<link rel="stylesheet" href="https://code.jquery.com/qunit/qunit-1.14.0.css">
|
||||
<script src="https://code.jquery.com/qunit/qunit-1.14.0.js"></script>
|
||||
|
||||
<!-- Test config -->
|
||||
<script>
|
||||
QUnit.config.requireExpects = true;
|
||||
</script>
|
||||
|
||||
<!-- Test Suite -->
|
||||
<script src="jquery.uls.test.js"></script>
|
||||
|
||||
|
||||
@@ -16,9 +16,9 @@
|
||||
( function ( $ ) {
|
||||
'use strict';
|
||||
|
||||
module( 'jquery.uls' );
|
||||
QUnit.module( 'jquery.uls' );
|
||||
|
||||
test( '-- Initial check', 1, function ( assert ) {
|
||||
QUnit.test( '-- Initial check', function ( assert ) {
|
||||
assert.ok( $.fn.uls, '$.fn.uls is defined' );
|
||||
} );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user