2.6.1 • Published 4 years ago
eslint-config-ryuuki v2.6.1
Ryuuki's ESlint Config
Description
This config extend react-app's config with my personal preferences.
Usage
Install with commands:
yarn add -D eslint-config-ryuuki @typescript-eslint/eslint-plugin@2.x @typescript-eslint/parser@2.x babel-eslint@10.x eslint@6.x eslint-config-prettier@6.x eslint-plugin-flowtype@4.x eslint-plugin-import@2.x eslint-plugin-jsx-a11y@6.x eslint-plugin-prettier@3.x eslint-plugin-react@7.x eslint-plugin-react-hooks@2.x prettier@1.x
optionally add typescript as devDependencies if you use typescript as language:
yarn add -D typescript
Create
.eslintrc.yml
file in root directory:extends: ryuuki
or
.eslintrc.js
file in root directory:module.exports = { extends: ['ryuuki'], };
Create
.prettierrc
file in root directory:{ "semi": true, "tabWidth": 2, "useTabs": false, "printWidth": 80, "singleQuote": true, "bracketSpacing": true, "jsxSingleQuote": false, "jsxBracketSameLine": false, "quoteProps": "as-needed", "trailingComma": "es5", "arrowParens": "avoid", "endOfLine": "lf" }
(Optional) Create
.editorconfig
file in root directory:# http://editorconfig.org root = true [*] indent_style = space indent_size = 2 end_of_line = lf charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true max_line_length = off # Use 4 spaces for the Python and HTML files [*.py, *.html] indent_size = 4 # Minified JavaScript files shouldn't be changed [**.min.js] indent_style = ignore insert_final_newline = ignore [*.md] trim_trailing_whitespace = false
Hacking to the Gate~
2.6.1
4 years ago
2.6.0
4 years ago
2.5.0
4 years ago
2.4.0
4 years ago
2.3.0
4 years ago
2.2.1
5 years ago
2.2.0
5 years ago
2.1.2
5 years ago
2.1.1
5 years ago
2.1.0
5 years ago
2.0.7
5 years ago
2.0.6
5 years ago
2.0.5
5 years ago
2.0.4
5 years ago
2.0.3
5 years ago
2.0.2
5 years ago
2.0.1
5 years ago
2.0.0
5 years ago
1.6.1
5 years ago
1.6.0
5 years ago
1.5.3
5 years ago
1.5.2
5 years ago
1.5.1
5 years ago
1.5.0
6 years ago
1.4.0
6 years ago
1.3.2
6 years ago
1.3.1
6 years ago
1.3.0
6 years ago
1.2.0
6 years ago
1.1.0
6 years ago
1.0.0
6 years ago