12345678910111213141516171819202122232425262728293031323334 |
- {
- "extends": "eslint:recommended",
- "parser": "babel-eslint",
- "rules": {
- "react/jsx-uses-react": 1,
- "react/jsx-uses-vars": 1,
- "react/react-in-jsx-scope": 1,
- "react/jsx-tag-spacing": [0, {
- "beforeSelfClosing": "always"
- }],
- "curly": [1],
- "linebreak-style": [1, "unix"],
- "semi": [1, "always"],
- "comma-dangle": [0],
- "no-unused-vars": [1, {
- "vars": "all",
- "args": "none",
- "ignoreRestSiblings": true
- }],
- "no-console": [0],
- "object-curly-spacing": [1, "always"],
- "keyword-spacing": ["error"]
- },
- "env": {
- "es6": true,
- "browser": true,
- "node": true
- },
- "plugins": [
- "jsx-a11y",
- "react"
- ]
- }
|