mirror of
https://github.com/pi-hole/web.git
synced 2025-12-20 02:38:28 +00:00
package.json: properly configure xo and postcss
xo doesn't understand CSS syntax so it was useless that it was checking CSS files. Also, configure autoprefixer so that its changes do not need a prettier fix after that. Signed-off-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
11
postcss.config.js
Normal file
11
postcss.config.js
Normal file
@@ -0,0 +1,11 @@
|
||||
/* eslint-env node */
|
||||
|
||||
"use strict";
|
||||
|
||||
module.exports = (/* ctx */) => ({
|
||||
plugins: {
|
||||
autoprefixer: {
|
||||
cascade: false,
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user