Skip to content

Commit

Permalink
chore(formatting): Remove @Format pragma from codebase (2) (#37847)
Browse files Browse the repository at this point in the history
Follow up to #37591
  • Loading branch information
simison committed Nov 22, 2019
1 parent 1cbc470 commit 4f4acfd
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 17 deletions.
7 changes: 3 additions & 4 deletions client/state/selectors/is-site-on-atomic-plan.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/** @format */
/**
* Internal dependencies
*/
Expand All @@ -9,9 +8,9 @@ import { isEcommercePlan, isBusinessPlan } from 'lib/plans';
* Returns true if site is on a paid plan that is eligible to be an Atomic site,
* false if not, or if the site or plan is unknown.
*
* @param {Object} state Global state tree
* @param {Number} siteId Site ID
* @return {Boolean} Whether site is on an atomic paid plan
* @param {object} state Global state tree
* @param {number} siteId Site ID
* @returns {boolean} Whether site is on an atomic paid plan
*/
const isSiteOnAtomicPlan = ( state, siteId ) => {
const currentPlan = getCurrentPlan( state, siteId );
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`basic.js 1`] = `
"/* @format */
import { map, pick, zip } from \\"lodash\\";
"import { map, pick, zip } from \\"lodash\\";
"
`;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* @format */
import { zip } from 'lodash';
import { map } from 'lodash';
import { pick } from 'lodash';
2 changes: 0 additions & 2 deletions packages/calypso-codemods/transforms/merge-lodash-imports.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
* // output
* import { map, pick, zip } from 'lodash'
*
* @format
*
* @param file
* @param api
* @returns {string}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
* // output
* import { map as _map } from 'lodash'
*
* @format
*
* @param file
* @param api
* @returns {string}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/**
* @format
*/

let j;

const getImports = source => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/** @format */

module.exports = {
rules: {
'import/no-extraneous-dependencies': [ 'error', { packageDir: __dirname } ],
Expand Down

0 comments on commit 4f4acfd

Please sign in to comment.