Skip to content

Commit

Permalink
Use ECMA_VERSION constant from addons-scanner-utils (#3617)
Browse files Browse the repository at this point in the history
  • Loading branch information
willdurand authored Mar 15, 2021
1 parent d821a29 commit 53d2902
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/scanners/javascript.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ import ESLint from 'eslint';
import { oneLine } from 'common-tags';
import espree from 'espree';
import vk from 'eslint-visitor-keys';
import { ECMA_VERSION } from 'addons-scanner-utils/dist/const';

import { ESLINT_RULE_MAPPING, ESLINT_TYPES } from 'const';
import * as messages from 'messages';
import { ensureFilenameExists } from 'utils';

const ECMA_VERSION = 2021;

const IGNORE_FILE = 'addons-linter.eslintignore';

export default class JavaScriptScanner {
Expand Down

0 comments on commit 53d2902

Please sign in to comment.