Commit d3f3657f authored by Robert Knight's avatar Robert Knight

Add lint rule requiring strict mode

parent e6da5b0e
......@@ -15,6 +15,7 @@
"error",
{ allow: ["warn", "error"] },
],
"strict": ["error", "safe"],
},
"parserOptions": {
"ecmaVersion": 6,
......
'use strict';
// cached date formatting instance.
// See https://github.com/hypothesis/h/issues/2820#issuecomment-166285361
var formatter;
......
'use strict';
module.exports = ['$animate', function($animate) {
'use strict';
return {
link: function(scope, elem) {
// ngAnimate conflicts with the spinners own CSS
......
'use strict';
/**
* Parses H account names of the form 'acct:<username>@<provider>'
* into a {username, provider} object or null if the input does not
......
'use strict';
var persona = require('../persona');
describe('persona', function () {
......
'use strict';
/** This software is released under the MIT license:
Permission is hereby granted, free of charge, to any person obtaining a copy
......
'use strict';
// Expose the sinon assertions.
sinon.assert.expose(assert, {prefix: null});
......
#!/usr/bin/env node
'use strict';
/**
* Creates a GitHub release for the repository.
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment