問題タブ [recess]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
196 参照

css - RECESS 変更プロパティの順序

node.js、grunt、および RECESS を使用して、*.less ファイルを *.css ファイルにコンパイルします。
それは私の Gruntfile.js ファイルです

しかし、出力 *.css ファイルのプロパティの順序を次のように変更する必要があります

}

strict-property-order.js https://github.com/twitter/recess/blob/master/lib/lint/strict-property-order.js#L36を見つけたので、役立つと思いますが、方法がわかりませんこれを使って?