Skip to content

Commit 7b64870

Browse files
committed
style: add end of line rule
1 parent 310f363 commit 7b64870

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

.eslintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
],
1010
"rules": {
1111
"indent": ["error", 4],
12-
"quotes": ["error", "double"]
12+
"quotes": ["error", "double"],
13+
"eol-last": ["error", "always"]
1314
}
1415
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"dist": "webpack --joplin-plugin-config buildMain && webpack --joplin-plugin-config buildExtraScripts && webpack --joplin-plugin-config createArchive",
66
"prepare": "npm run dist",
77
"update": "npm install -g generator-joplin && yo joplin --update",
8-
"lint": "eslint src"
8+
"lint": "eslint 'src/**/*'"
99
},
1010
"license": "MIT",
1111
"keywords": [

src/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
"homepage_url": "https://github.com/joplin/plugin-templates",
1010
"repository_url": "https://github.com/joplin/plugin-templates",
1111
"keywords": []
12-
}
12+
}

0 commit comments

Comments
 (0)