-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Coding Standards: Use WordPress packages for coding standards (#62)
First pass at improving the formating and linting. Before a big fix, I wanted to get this agreed on and likely also get a few other PRs merged. Co-authored-by: aaronjorbin <jorbin@git.wordpress.org> Co-authored-by: desrosj <desrosj@git.wordpress.org>
- Loading branch information
1 parent
3a82c84
commit a585694
Showing
4 changed files
with
32,433 additions
and
8,237 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
{ | ||
"env": { | ||
"commonjs": true, | ||
"es6": true, | ||
"jest": true, | ||
"node": true | ||
}, | ||
"extends": "eslint:recommended", | ||
"parserOptions": { | ||
"sourceType": "module", | ||
"ecmaVersion": "latest" | ||
}, | ||
"rules": { | ||
"indent": ["error", "tab"] | ||
} | ||
"env": { | ||
"commonjs": true, | ||
"es6": true, | ||
"jest": true, | ||
"node": true | ||
}, | ||
"extends": "plugin:@wordpress/eslint-plugin/recommended", | ||
"parserOptions": { | ||
"sourceType": "module", | ||
"ecmaVersion": "latest" | ||
}, | ||
"rules": { | ||
"indent": [ "error", "tab" ], | ||
"one-var": [ "error", "never" ], | ||
"prefer-arrow-callback": [ "error" ] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
dist |
Oops, something went wrong.