mirror of
https://github.com/danog/react-datalist-input.git
synced 2024-12-04 10:28:19 +01:00
2ade3865d1
- rewrites DataListInput as a functional component - changes version to 2.0.0 - describes versioning in README - adds more unit tests - adds snapshot tests - adds better a11y support by adding aria-labels and roles
18 lines
602 B
JSON
18 lines
602 B
JSON
{
|
|
// These are all my auto-save configs
|
|
"editor.formatOnSave": true,
|
|
// turn it off for JS and JSX, we will do this via eslint
|
|
"[javascript]": {
|
|
"editor.formatOnSave": false
|
|
},
|
|
"[javascriptreact]": {
|
|
"editor.formatOnSave": false
|
|
},
|
|
// tell the ESLint plugin to run on save
|
|
"editor.codeActionsOnSave": {
|
|
"source.fixAll": true
|
|
},
|
|
// Optional BUT IMPORTANT: If you have the prettier extension enabled for other languages like CSS and HTML, turn it off for JS since we are doing it through Eslint already
|
|
"prettier.disableLanguages": ["javascript", "javascriptreact"]
|
|
}
|