Commit 440ca825 authored by André Bargull's avatar André Bargull
Browse files

Bug 1782190: Remove no longer used eslint definitions for js-shell module loader. r=jonco

The shell module loader was rewritten to C++ in bug 1637529.

"jsrtfuzzing-example.js" was changed to appease prettier, now that it's enabled.

Differential Revision: https://phabricator.services.mozilla.com/D153151
parent 882b34a9
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -144,7 +144,6 @@ module.exports = {
        "*.xhtml",
        "*.xml",
        "js/src/builtin/**/*.js",
        "js/src/shell/**/*.js",
      ],
      rules: {
        // Curly brackets are required for all the tree via recommended.js,
+0 −1
Original line number Diff line number Diff line
@@ -43,7 +43,6 @@ dom/base/test/file_bug687859-inherit.js

# Ignore preprocessed files.
js/src/builtin/**/*.js
js/src/shell/**/*.js

# Ignore devtools debugger files
# Keep in sync with devtools/client/debugger/.prettierignore

js/src/shell/.eslintrc.js

deleted100644 → 0
+0 −16
Original line number Diff line number Diff line
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

"use strict";

module.exports = {
  "plugins": [
    "spidermonkey-js"
  ],

  "overrides": [{
    "files": ["*.js"],
    "processor": "spidermonkey-js/processor",
  }],
};
+5 −2
Original line number Diff line number Diff line
@@ -26,7 +26,10 @@ function JSFuzzIterate() {

  try {
    // This is a very simple UTF-16 string conversion for example purposes only.
    let input = String.fromCharCode.apply(null, new Uint16Array(fuzzBuf.buffer));
    let input = String.fromCharCode.apply(
      null,
      new Uint16Array(fuzzBuf.buffer)
    );

    // Pass the input through the JSON code as an example. Note that this
    // particular example could probably be implemented more efficiently
+1 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@

var path = require("path");

const selfHostedRegex = /js\/src\/(?:builtin|shell)\/.*?\.js$/;
const selfHostedRegex = /js\/src\/builtin\/.*?\.js$/;
const macroRegex = /\s*\#(if|ifdef|else|elif|endif|include|define|undef).*/;

module.exports = {