1234567891011121314151617181920212223242526272829303132333435363738394041 |
- {
- "env": {
- "browser": true,
- "commonjs": true,
- "es6": true,
- "node": true
- },
- "parser": "babel-eslint",
- "parserOptions": {
- "ecmaVersion": 8,
- "ecmaFeatures": {
- "jsx": true,
- "experimentalObjectRestSpread": true
- },
- "sourceType": "module"
- },
- "rules": {
- "no-const-assign": "error",
- "no-undef": "error",
- "no-unused-vars": "warn",
- "no-this-before-super": "warn",
- "no-unreachable": "warn",
- "constructor-super": "warn",
- "valid-typeof": "warn",
- "react-native/no-unused-styles": "warn",
- "react-native/split-platform-components": "warn",
- "react-native/no-inline-styles": "off",
- "react-native/no-color-literals": "off"
- },
- "plugins": [
- "react",
- "jsx-a11y",
- "react-native"
- ],
- "extends": [
- "eslint:recommended",
- "plugin:react/recommended",
- "plugin:react-native/all",
- "plugin:jsx-a11y/recommended"
- ]
- }
|