Skip to content

Commit

Permalink
chore: Move ESLint config from package.json to .eslintrc.json fil…
Browse files Browse the repository at this point in the history
…e. (#152)
  • Loading branch information
ntwb committed May 31, 2020
1 parent 4fe31eb commit 9f41778
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
16 changes: 16 additions & 0 deletions packages/stylelint-config-wordpress/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"env": {
"jest": true,
"node": true
},
"extends": [
"plugin:wordpress/recommended",
"plugin:jest/recommended"
],
"parserOptions": {
"sourceType": "module"
},
"plugins": [
"jest"
]
}
15 changes: 0 additions & 15 deletions packages/stylelint-config-wordpress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,21 +60,6 @@
"test": "jest",
"watch": "jest --watch"
},
"eslintConfig": {
"parserOptions": {
"ecmaVersion": 8
},
"plugins": [
"jest"
],
"extends": [
"plugin:wordpress/recommended",
"plugin:jest/recommended"
],
"env": {
"jest": true
}
},
"jest": {
"testEnvironment": "node",
"verbose": true
Expand Down

0 comments on commit 9f41778

Please sign in to comment.