build: add JS and CSS linters
This commit is contained in:
parent
b14a2d80bb
commit
a661d36752
8 changed files with 6792 additions and 0 deletions
12
.eslintrc.js
Normal file
12
.eslintrc.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
module.exports = {
|
||||
env: {
|
||||
browser: true,
|
||||
jquery: true,
|
||||
es6: true
|
||||
},
|
||||
extends: [
|
||||
'wordpress',
|
||||
'plugin:prettier/recommended', // Enables eslint-plugin-prettier and displays prettier errors as ESLint errors. Make sure this is always the last configuration in the extends array.
|
||||
],
|
||||
rules: {},
|
||||
};
|
Reference in a new issue