Skip to content

Commit b8087da

Browse files
authored
Merge pull request #215 from woocommerce/fix/replace-wp-scripts-with-eslint
Replace `@wordpress/scripts` with direct `eslint` dependency
2 parents 43b1ec7 + e8b369e commit b8087da

File tree

4 files changed

+4209
-18329
lines changed

4 files changed

+4209
-18329
lines changed

.eslintrc.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
module.exports = {
2+
extends: [ 'plugin:@woocommerce/eslint-plugin/recommended' ],
3+
settings: {
4+
'import/resolver': 'node',
5+
jest: {
6+
version: 29,
7+
},
8+
},
9+
ignorePatterns: [
10+
// ESLint ignores dotfiles by default. This re-includes .github/.
11+
'!.github',
12+
'**/vendor/',
13+
],
14+
};

0 commit comments

Comments
 (0)