Skip to content

Commit b1058c9

Browse files
committedOct 24, 2018
📖 DOC: File header
1 parent a3f0a95 commit b1058c9

File tree

5 files changed

+24
-17
lines changed

5 files changed

+24
-17
lines changed
 

‎.editorconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# WordPress Coding Standards
1+
# WordPress Coding Standards.
22
# https://make.wordpress.org/core/handbook/coding-standards/
33

44
root = true

‎.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ESLint: Ignore files.
12
**/*.min.js
23
**/node_modules/**
34
**/vendor/**

‎.eslintrc.js

+19-16
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
1+
/**
2+
* ESLINT: Linting FTW
3+
*/
14
module.exports = {
2-
env: {
3-
browser: true,
4-
commonjs: true,
5-
es6: true,
6-
node: true
7-
},
8-
extends: ["eslint:recommended", "wordpress"],
9-
parserOptions: {
10-
sourceType: "module"
11-
},
12-
rules: {
13-
indent: ["error", "tab"],
14-
"linebreak-style": ["error", "unix"],
15-
quotes: ["error", "single"],
16-
semi: ["error", "always"]
17-
}
5+
env: {
6+
browser: true,
7+
commonjs: true,
8+
es6: true,
9+
node: true
10+
},
11+
extends: ['eslint:recommended', 'wordpress'],
12+
parserOptions: {
13+
sourceType: 'module'
14+
},
15+
rules: {
16+
indent: ['error', 'tab'],
17+
'linebreak-style': ['error', 'unix'],
18+
quotes: ['error', 'single'],
19+
semi: ['error', 'always']
20+
}
1821
};

‎.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Git ignore files.
2+
13
# NPM #
24
##########
35
# Ignore all directories called node_modules in current folder and any subfolders.

‎.vscode/spellright.dict

+1
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,4 @@ pkgs
4242
pkg
4343
br
4444
src
45+
Linting

0 commit comments

Comments
 (0)
Please sign in to comment.