Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
Add JSX rules to standard preset for use in jsx-based projects (#480)
Browse files Browse the repository at this point in the history
  • Loading branch information
eliperelman committed Nov 21, 2017
1 parent 53a9ec9 commit cfe4a9f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/standardjs/index.js
Expand Up @@ -6,7 +6,7 @@ module.exports = (neutrino, opts = {}) => {
{
eslint: {
baseConfig: {
extends: ['standard']
extends: ['standard', 'standard-jsx']
},
plugins: ['standard'],
rules: {
Expand Down
1 change: 1 addition & 0 deletions packages/standardjs/package.json
Expand Up @@ -19,6 +19,7 @@
"@neutrinojs/eslint": "^7.3.2",
"deepmerge": "^1.5.2",
"eslint-config-standard": "^10.2.1",
"eslint-config-standard-jsx": "^4.0.2",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-node": "^5.2.1",
"eslint-plugin-promise": "^3.6.0",
Expand Down
4 changes: 4 additions & 0 deletions yarn.lock
Expand Up @@ -3534,6 +3534,10 @@ eslint-config-prettier@^2.8.0:
dependencies:
get-stdin "^5.0.1"

eslint-config-standard-jsx@^4.0.2:
version "4.0.2"
resolved "https://registry.yarnpkg.com/eslint-config-standard-jsx/-/eslint-config-standard-jsx-4.0.2.tgz#009e53c4ddb1e9ee70b4650ffe63a7f39f8836e1"

eslint-config-standard@^10.2.1:
version "10.2.1"
resolved "https://registry.yarnpkg.com/eslint-config-standard/-/eslint-config-standard-10.2.1.tgz#c061e4d066f379dc17cd562c64e819b4dd454591"
Expand Down

0 comments on commit cfe4a9f

Please sign in to comment.