Former Liberal premier Colin Barnett has warned the Federal Coalition of the dangers of doing deals with One Nation as Labor ramps up calls for Prime Minister Scott Morrison to rule out a preference deal with Pauline Hanson.

Mr Barnett, whose 2017 State election campaign derailed after his Federal colleagues did a preference deal with One Nation, urged the Liberals to keep their distance from Ms Hanson’s party.

“Given the experience of the State election there should be no deal with One Nation,” Mr Barnett told The West Australian.

Mr Barnett was left trying to explain throughout the campaign that he disagreed with many One Nation policies.

Under pressure from Labor to marginalise the far-right minor party after the Christchurch massacre, Mr Morrison this week pledged there would be “no preference deals with One Nation” for the May election.

He rejected demands the Liberals put One Nation last.

WA One Nation senator Peter Georgiou hit out at Mr Morrison’s “knee-jerk reaction” and argued the move had “effectively ended” the careers of Attorney-General Christian Porter and Aged Care Minister Ken Wyatt.

“Right now Western Australia is home to the highest level of unemployment in the country, and this has happened under Scott Morrison’s watch,” he said.

“If Scott Morrison wants to rule out a preference deal with One Nation, I say think again.”

“You’ll be shooting yourself in the foot and spelling the end of so many marginal seats, and effectively ending the careers of Minister Ken Wyatt and Attorney-General Christian Porter.”

Mr Porter and Mr Wyatt’s marginal seats of Pearce and Hasluck, both of which take in outer suburbs of Perth, are at serious risk of being handed to Labor if the swing is on in WA.

If the results come down to the wire on election day they may need minor party preferences to hold their seats - particularly in Mr Porter’s seat of Pearce, where One Nation is running a candidate.

Senator Georgiou, who is also facing the political fight of his life to stay in Federal Parliament, said while the events in Christchurch had been “gut-wrenching” it was a “long bow” to blame One Nation for an act of terror in another country.

Opposition Leader Bill Shorten vowed that Labor would “always” relegate One Nation and controversial Queensland senator Fraser Anning to the last spots in seats that the ALP was contesting.

“I will recommend, and the Labor Party agrees with me, that we will always preference the Liberals and the Nationals ahead of Pauline Hanson’s One Nation party and the other senator,” Mr Shorten said.

“Liberal and Labor, the Nationals and the Greens, we’ve got to form a ring, a bond, which stops the crazy extremists from getting oxygen, both by our commentary and by our preferences at the next election.”