Move script lints to script_plugins

The plugins crate now just allows to hook into clippy from a single crate.
This commit is contained in:
Anthony Ramine 2017-02-16 09:18:02 +01:00
parent 84a44a4014
commit 3eed8a91a1
17 changed files with 79 additions and 61 deletions

View file

@ -12,5 +12,5 @@ doctest = false
[dependencies]
compiletest_helper = {path = "../helper"}
deny_public_fields = {path = "../../../components/deny_public_fields"}
plugins = {path = "../../../components/plugins"}
script = {path = "../../../components/script"}
script_plugins = {path = "../../../components/script_plugins"}

View file

@ -3,7 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#![feature(plugin)]
#![plugin(plugins)]
#![plugin(script_plugins)]
extern crate script;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#![feature(plugin)]
#![plugin(plugins)]
#![plugin(script_plugins)]
extern crate js;

View file

@ -2,9 +2,6 @@
* 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/. */
#![feature(plugin)]
#![plugin(plugins)]
extern crate script;
use script::test::TrustedPromise;

View file

@ -2,9 +2,9 @@
* 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/. */
#![feature(plugin)]
#![plugin(plugins)]
#![allow(dead_code)]
#![feature(plugin)]
#![plugin(script_plugins)]
#[must_root]
struct Foo {