Fix broken link to eslintrc
This commit is contained in:
parent
91c54e1853
commit
233a115ff9
21
.eslintrc.json
Normal file
21
.eslintrc.json
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{
|
||||||
|
"extends": "eslint:recommended",
|
||||||
|
"parserOptions": {
|
||||||
|
"ecmaVersion": 8
|
||||||
|
},
|
||||||
|
"rules": {
|
||||||
|
"arrow-parens": ["error", "as-needed"],
|
||||||
|
"comma-dangle": ["error", "never"],
|
||||||
|
"dot-notation": "error",
|
||||||
|
"eqeqeq": 2,
|
||||||
|
"no-case-declarations": "error",
|
||||||
|
"no-const-assign": 2,
|
||||||
|
"no-undef": 0,
|
||||||
|
"no-unused-vars": 0,
|
||||||
|
"no-var": 2,
|
||||||
|
"prefer-const": 2,
|
||||||
|
"quote-props": ["error", "consistent"],
|
||||||
|
"quotes": [2, "single", "avoid-escape"],
|
||||||
|
"semi": 2
|
||||||
|
}
|
||||||
|
}
|
@ -236,7 +236,7 @@ other developers who want to help out. I take pride in the high quality of the c
|
|||||||
following basic guidelines when creating pull requests:
|
following basic guidelines when creating pull requests:
|
||||||
|
|
||||||
* Please discuss large features before writing code.
|
* Please discuss large features before writing code.
|
||||||
* Follow the [conventions and style](https://raw.githubusercontent.com/FooSoft/dotfiles/master/.eslintrc.json) of the existing code.
|
* Follow the [conventions and style](.eslintrc.json) of the existing code.
|
||||||
* Write clean, modern ES6 code (`const`/`let`, `await`, arrow functions, etc.)
|
* Write clean, modern ES6 code (`const`/`let`, `await`, arrow functions, etc.)
|
||||||
* Large pull requests without a clear scope will not be merged.
|
* Large pull requests without a clear scope will not be merged.
|
||||||
* Incomplete or non-standalone features will not be merged.
|
* Incomplete or non-standalone features will not be merged.
|
||||||
|
Loading…
Reference in New Issue
Block a user