Logo
Explore Help
Sign In
joe/kami-parse-server
Public Access
1
0
Fork 0
You've already forked kami-parse-server
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
fb36dfa26fc384f9055a271bdf839b23e93cbf35
kami-parse-server/.eslintrc.json

24 lines
482 B
JSON
Raw Normal View History

Adds liniting into the workflow (#3082) * initial linting of src * fix indent to 2 spaces * Removes unnecessary rules * ignore spec folder for now * Spec linting * Fix spec indent * nits * nits * no no-empty rule
2016-11-24 15:47:41 -05:00
{
"root": true,
"extends": "eslint:recommended",
"env": {
"node": true,
"es6": true
},
"parser": "babel-eslint",
"plugins": [
"flowtype"
],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"rules": {
"indent": ["error", 2],
Add no trailing whitespace and force eol at end of file. (#3154)
2016-12-01 10:24:46 -08:00
"linebreak-style": ["error", "unix"],
"no-trailing-spaces": 2,
More lint tweaking (#3164) 1. Add no space in paren rule 2. fix spec/eslintrc.json so it allow for inheriting from root rc. Because the spce rc specified reccomended, it "turned off" all of the rule tweaks in the root. This fixes that.
2016-12-02 16:11:54 -08:00
"eol-last": 2,
"space-in-parens": ["error", "never"]
Adds liniting into the workflow (#3082) * initial linting of src * fix indent to 2 spaces * Removes unnecessary rules * ignore spec folder for now * Spec linting * Fix spec indent * nits * nits * no no-empty rule
2016-11-24 15:47:41 -05:00
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.2 Page: 203ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API