Download spectrum/.eslintrc.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 803 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/spectrum/.eslintrc.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/spectrum/.eslintrc.js
-
curl -L -o .eslintrc.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/spectrum/.eslintrc.js
803 Bytes
| module.exports = { | |
| extends: ['eslint:recommended', 'plugin:react/recommended'], | |
| parser: 'babel-eslint', | |
| env: { | |
| es6: true, | |
| node: true, | |
| }, | |
| parserOptions: { | |
| ecmaVersion: 6, | |
| sourceType: 'module', | |
| ecmaFeatures: { | |
| jsx: true, | |
| }, | |
| }, | |
| plugins: ['eslint-plugin-flowtype'], | |
| rules: { | |
| 'no-undef': 0, | |
| 'no-console': ['warn', { allow: ['warn', 'error'] }], | |
| 'no-unused-vars': 1, | |
| 'no-empty': 0, | |
| 'no-useless-escape': 1, | |
| 'no-fallthrough': 1, | |
| 'no-extra-boolean-cast': 1, | |
| 'react/prop-types': 0, | |
| 'react/no-deprecated': 0, | |
| 'react/display-name': 0, | |
| 'react/no-find-dom-node': 1, | |
| 'react/no-unescaped-entities': 'warn', | |
| 'react/no-string-refs': 'warn', | |
| 'react/jsx-no-target-blank': 'warn', | |
| 'react/no-children-prop': 0, | |
| }, | |
| }; | |