react-native/linter.js

11 lines
322 B
JavaScript
Raw Normal View History

2015-01-30 01:10:49 +00:00
// Copyright 2012-present Facebook. All Rights Reserved.
'use strict';
var transformSource = require('./jestSupport/scriptPreprocess.js').transformSource;
var linterTransform = require('./lint/linterTransform');
2015-01-30 01:10:49 +00:00
linterTransform.setLinterTransform(transformSource);
2015-01-30 01:10:49 +00:00
// Run the original CLI
require('eslint/bin/eslint');