TCT Datasets
Collection
Schema/config corpora (ESLint, Kubernetes, TypeScript tsconfig) packaged as parquet, one example per source file. • 5 items • Updated
filename stringlengths 23 23 | text stringlengths 17 22.9k |
|---|---|
eslintrc-js_000000.json | {
"extends": "airbnb-base",
"plugins": [
"react"
]
} |
eslintrc-js_000001.json | {
"root": true,
"env": {
"node": true
},
"extends": [
"@lemonbot.fun/eslint-config-base"
],
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
"project": "./tsconfig.eslint.json"
}
} |
eslintrc-js_000002.json | {
"extends": [
"alloy",
"alloy/vue"
],
"env": {},
"globals": {},
"rules": {}
} |
eslintrc-js_000003.json | {
"root": true,
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"browser": true,
"es6": true,
"node": true
},
"extends": [
"standard",
"prettier/react"
],
"plugins": [
"reac... |
eslintrc-js_000004.json | {
"env": {
"browser": true
},
"extends": "airbnb",
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"react/prefer-stateless-function": 0,
"comma-dangle": 0,
"arrow-body-style": [
2,
"always"
]
}... |
eslintrc-js_000005.json | {
"parser": "@typescript-eslint/parser",
"parserOptions": {
"sourceType": "module"
}
} |
eslintrc-js_000006.json | {
"extends": "airbnb",
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"allowImportExportEverywhere": false
},
"rules": {
"comma-dangle": [
"error",
{
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline"... |
eslintrc-js_000007.json | {
"extends": [
"standard",
"prettier",
"prettier/standard"
],
"env": {
"es6": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 6
},
"plugins": [
"prettier"
],
"rules": {
"prettier/prettier": [
"error",
{
"singleQuote": true,
"semi": fa... |
eslintrc-js_000008.json | {
"env": {
"browser": true,
"es2021": true
},
"extends": [
"airbnb-base",
"react-app"
],
"parserOptions": {
"parser": "babel-eslint",
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
"semi": "off",
"import/prefer-d... |
eslintrc-js_000009.json | {
"env": {
"browser": true,
"es6": true
},
"extends": [
"airbnb",
"prettier",
"prettier/react"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersio... |
eslintrc-js_000010.json | {
"extends": "./node_modules/@inthepocket/itp-react-scripts/dist/config/eslintrc.js",
"parser": "babel-eslint",
"env": {
"browser": true,
"es6": true
},
"plugins": [
"react",
"babel",
"flowtype"
],
"globals": {
"window": false
},
"rules": {
"react/no-danger": "off",
"js... |
eslintrc-js_000011.json | {
"env": {
"browser": true
}
} |
eslintrc-js_000012.json | {
"extends": [
"@linters/eslint-config-node",
"prettier"
],
"rules": {
"max-lines": 0
}
} |
eslintrc-js_000013.json | {
"rules": {
"space-unary-ops": [
"error",
{
"words": true,
"nonwords": false
}
]
}
} |
eslintrc-js_000014.json | {
"env": {
"browser": true,
"es6": true
},
"extends": [
"airbnb",
"prettier",
"prettier/react"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersio... |
eslintrc-js_000015.json | {
"env": {
"node": true,
"commonjs": true,
"es6": true
},
"extends": "standard",
"rules": {
"no-var": "error",
"space-before-function-paren": 0,
"prefer-const": "error",
"semi": [
"error",
"always"
]
},
"overrides": {
"files": [
"tests*spec.js"
],
... |
eslintrc-js_000016.json | {
"extends": "airbnb-base",
"rules": {
"no-console": 0,
"no-param-reassign": [
2,
{
"props": false
}
],
"prefer-destructuring": 0,
"treatUndefinedAsUnspecified": true,
"arrow-body-style": 0,
"comma-dangle": 0
},
"env": {
"commonjs": true,
"node": tru... |
eslintrc-js_000017.json | {
"extends": "airbnb-base",
"rules": {
"import/no-extraneous-dependencies": [
2,
{
"devDependencies": true
}
],
"no-unused-expressions": [
"error",
{
"allowTernary": true
}
]
}
} |
eslintrc-js_000018.json | {
"extends": [
"soraka"
],
"rules": {
"import/no-extraneous-dependencies": 0,
"global-require": 0,
"import/no-dynamic-require": 0,
"no-restricted-syntax": 0,
"no-await-in-loop": 0,
"no-useless-escape": 0
},
"globals": {
"APP_ENV": true,
"APP_GLOBAL_CONFIG": true
}
} |
eslintrc-js_000019.json | {
"env": {
"es6": true,
"node": true,
"browser": true,
"mocha": true
},
"plugins": [
"standard",
"mocha"
],
"rules": {
"camelcase": 0
}
} |
eslintrc-js_000020.json | {
"extends": "airbnb",
"plugins": [
"react"
],
"env": {
"browser": true,
"node": true,
"es6": true
},
"globals": {
"React": true
},
"rules": {
"react/jsx-filename-extension": [
1,
{
"extensions": [
".js",
".jsx"
]
}
],
... |
eslintrc-js_000021.json | {
"env": {
"browser": true,
"es2021": true
},
"extends": [
"airbnb-base"
],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"rules": {
"linebreak-style": [
"off"
],
"no-console": [
"off"
],
"operator-assignment... |
eslintrc-js_000022.json | {
"parser": "babel-eslint",
"extends": "airbnb",
"plugins": [
"react",
"react-native",
"jsx-a11y",
"import"
],
"settings": {
"import/resolver": "reactnative"
},
"env": {
"jest": true
},
"rules": {
"react/jsx-filename-extension": [
2,
{
"extensions": [
... |
eslintrc-js_000023.json | {
"extends": "eslint-config-rnx",
"globals": {
"__DEV__": false,
"B": false,
"window": false,
"document": false,
"fetch": false
},
"rules": {
"jsx-a11y/no-static-element-interactions": [
"off"
]
}
} |
eslintrc-js_000024.json | {
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
},
"extends": "airbnb",
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"allowImportExportEverywhere": true
},
"rules": {
"no-console": 0,
"no-underscore-dangle": 0,
"no-use-bef... |
eslintrc-js_000025.json | {
"extends": "motley",
"env": {
"browser": true,
"jest": true
}
} |
eslintrc-js_000026.json | {
"env": {
"es6": true,
"jest": true,
"node": true
},
"extends": [
"airbnb-base",
"prettier"
],
"plugins": [
"prettier"
],
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
"prettier/prettier": "error",
"class-methods-use-this": "off",... |
eslintrc-js_000027.json | {
"root": true,
"extends": "@react-native-community"
} |
eslintrc-js_000028.json | {
"env": {
"browser": true,
"webextensions": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "script",
"ecmaFeatures": {
"impliedStrict": true
}
},
"extends": [
"jquery",
"./eslint/index.js"
]
} |
eslintrc-js_000029.json | {
"root": true,
"env": {
"commonjs": true,
"es2020": true,
"node": true
},
"extends": [
"airbnb-base",
"prettier"
],
"plugins": [
"prettier"
],
"ignorePatterns": [
"node_modules*.js"
],
"parserOptions": {
"ecmaVersion": 11
},
"rules": {
"prettier/prettier": "e... |
eslintrc-js_000030.json | {
"rules": {
"@typescript-eslint/no-non-null-assertion": "off"
}
} |
eslintrc-js_000031.json | {
"extends": "airbnb",
"rules": {
"no-console": 0
}
} |
eslintrc-js_000032.json | {
"env": {
"commonjs": true,
"es6": true,
"node": true
},
"extends": "standard-with-typescript",
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 2020,
"project": "./tsconfig.json"
},
"rules": {
"@typescript-eslint/n... |
eslintrc-js_000033.json | {
"env": {
"browser": true,
"es2021": true,
"jest": true
},
"extends": [
"airbnb-base",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"import/ext... |
eslintrc-js_000034.json | {
"rules": {
"no-import-assign": "error"
}
} |
eslintrc-js_000035.json | {
"root": true,
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true
},
"plugins": [
"html"
],
"rules": {},
"globals": {}
} |
eslintrc-js_000036.json | {
"rules": {
"consistent-return": "off"
}
} |
eslintrc-js_000037.json | {
"root": true,
"extends": [
"@react-native-community",
"prettier"
],
"rules": {
"no-shadow": 0,
"react-native/no-inline-styles": 0,
"react-hooks/exhaustive-deps": 1
}
} |
eslintrc-js_000038.json | {
"parser": "babel-eslint",
"plugins": [
"react",
"import"
],
"rules": {
"no-unused-vars": 0,
"no-undef": 0,
"no-console": 0,
"react/prop-types": 0,
"prefer-destructuring": 1
},
"extends": [
"airbnb"
],
"parserOptions": {
"ecmaFeatures": {
"legacyDecorators": tr... |
eslintrc-js_000039.json | {
"extends": [
"@fluidframework/eslint-config-fluid/eslint7"
],
"parserOptions": {
"project": [
"./tsconfig.json",
"./src/test/tsconfig.json"
]
},
"rules": {
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/promise-function-async": "off",
"@typescript-e... |
eslintrc-js_000040.json | {
"env": {
"browser": true,
"es6": true,
"node": true
},
"extends": [
"airbnb-base"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"ignorePatterns": [
"/dist/",
"/examples/",
"/node_modules/",
"/out/",
"/src/shell-post.js",
"/src/s... |
eslintrc-js_000041.json | {
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"ecmaFeatures": {
"jsx": false
}
},
"rules": {
"semi": "error"
},
"ignorePatterns": [
"spec",
"node_modules/"
]
} |
eslintrc-js_000042.json | {
"env": {
"browser": true,
"node": true,
"es6": true
},
"extends": [
"airbnb",
"react-app",
"react-app/jest"
],
"rules": {
"react/jsx-filename-extension": 0,
"import/no-named-as-default": 0,
"consistent-return": 0,
"object-curly-newline": 0,
"max-len": 0,
"no-s... |
eslintrc-js_000043.json | {
"root": true,
"extends": "airbnb-base",
"parser": "babel-eslint",
"env": {
"browser": false
},
"plugins": [
"html"
],
"parserOptions": {
"sourceType": "module",
"allowImportExportEverywhere": true
},
"rules": {
"no-console": 0,
"prefer-rest-params": 0,
"class-methods-us... |
eslintrc-js_000044.json | {
"extends": "airbnb",
"installedESLint": true,
"plugins": [
"react",
"jsx-a11y",
"import"
],
"rules": {
"react/jsx-filename-extension": "off"
}
} |
eslintrc-js_000045.json | {
"extends": [
"react-app",
"@egor.xyz"
],
"globals": {
"JSX": true
},
"rules": {
"@typescript-eslint/no-unused-vars": "error",
"jsx-a11y/anchor-has-content": "off",
"react/jsx-no-target-blank": "off",
"react-hooks/exhaustive-deps": "off"
}
} |
eslintrc-js_000046.json | {
"root": true,
"extends": "@react-native-community",
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"rules": {
"semi": [
2,
"never"
],
"no-unused-vars": 2,
"react-native/no-inline-styles": 0,
"jsx-quotes": [
2,
"prefer-single"
... |
eslintrc-js_000047.json | {
"extends": [
"codfish"
],
"rules": {
"no-bitwise": "off"
},
"root": true
} |
eslintrc-js_000048.json | {
"root": true,
"extends": "standard",
"parser": "babel-eslint",
"plugins": [
"html"
],
"rules": {
"no-unused-vars": [
1
],
"comma-dangle": [
2,
"always-multiline"
],
"dot-location": [
2,
"object"
],
"linebreak-style": [
2,
"unix"
... |
eslintrc-js_000049.json | {
"extends": [
"airbnb-base"
],
"globals": {
"localStorage": true
},
"rules": {
"indent": [
"error",
2
],
"semi": "off",
"class-methods-use-this": "off",
"import/no-mutable-exports": "off"
}
} |
eslintrc-js_000050.json | {
"root": true,
"parserOptions": {
"ecmaVersion": 2017
},
"extends": "eslint-config-bbva",
"env": {
"node": true
},
"rules": {
"callback-return": 0
},
"overrides": [
{
"files": [
"tests*.js"
],
"env": {
"mocha": true
},
"rules": {
"... |
eslintrc-js_000051.json | {
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
},
"extends": [
"standard"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 2018
},
"rules": {}
} |
eslintrc-js_000052.json | {
"root": true,
"extends": [
"universe/node"
],
"overrides": [
{
"files": [
"**/__tests__/*"
]
}
],
"globals": {
"jasmine": false
},
"rules": {
"no-console": "warn",
"no-constant-condition": [
"warn",
{
"checkLoops": false
}
],
... |
eslintrc-js_000053.json | {
"root": true,
"extends": [
"eslint-config-alloy/typescript-react"
],
"rules": {
"no-unused-expressions": [
0,
{
"allowShortCircuit": true,
"allowTernary": true,
"allowTaggedTemplates": true
}
],
"typescript/unescapeIdentifier": "off"
}
} |
eslintrc-js_000054.json | {
"env": {
"browser": true,
"es6": true,
"node": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "tsconfig.json",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
"@typescript-eslint/tslint",
"react-hooks"
],
"rules": {
"@types... |
eslintrc-js_000055.json | {
"root": true,
"extends": "airbnb",
"plugins": [],
"rules": {
"arrow-body-style": "off",
"func-names": "off",
"global-require": "off",
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": [
"**scriptstests/**"
]
}
],
"no-param-... |
eslintrc-js_000056.json | {
"extends": [
"./packages/eslint-config"
],
"env": {}
} |
eslintrc-js_000057.json | {
"extends": "@zazen/eslint-config",
"rules": {}
} |
eslintrc-js_000058.json | {
"env": {
"node": true
},
"extends": [
"./eslintrc.js"
]
} |
eslintrc-js_000059.json | {
"extends": "./index.js",
"rules": {
"comma-dangle": 0
}
} |
eslintrc-js_000060.json | {
"env": {
"es6": true,
"jest": true,
"browser": true
},
"extends": [
"airbnb",
"prettier",
"prettier/react"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly",
"__DEV__": true
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
... |
eslintrc-js_000061.json | {
"extends": "airbnb-base",
"rules": {
"new-cap": 0,
"no-useless-concat": 0,
"no-restricted-globals": 0,
"no-sequences": 0,
"camelcase": 0,
"no-undef": 0,
"block-scoped-var": 0,
"class-methods-use-this": 0,
"import/extensions": 0,
"no-restricted-syntax": 0,
"no-loop-func"... |
eslintrc-js_000062.json | {
"rules": {
"no-console": 0
}
} |
eslintrc-js_000063.json | {
"parser": "babel-eslint",
"extends": "airbnb",
"rules": {
"array-callback-return": [
"off"
],
"arrow-body-style": [
"off"
],
"arrow-parens": [
"off"
],
"camelcase": [
"off"
],
"comma-dangle": [
"off"
],
"comma-spacing": [
"error",
... |
eslintrc-js_000064.json | {
"extends": [
"alloy",
"alloy/react",
"alloy/typescript"
],
"env": {
"node": true,
"jest": true
},
"globals": {
"Deno": false
},
"rules": {}
} |
eslintrc-js_000065.json | {
"extends": [
"@wmde/wikimedia-typescript"
]
} |
eslintrc-js_000066.json | {
"env": {
"commonjs": true,
"es2021": true,
"browser": true,
"node": true
},
"extends": [
"airbnb-base"
],
"parserOptions": {
"ecmaVersion": 12
},
"rules": {
"no-param-reassign": [
"error",
{
"props": false
}
],
"no-console": "off"
}
} |
eslintrc-js_000067.json | {
"env": {
"node": true,
"es6": true
},
"globals": {
"ROOT": "readonly"
}
} |
eslintrc-js_000068.json | {
"extends": "airbnb",
"rules": {
"max-len": [
"error",
{
"code": 220
}
],
"one-var": [
"error",
"always"
],
"no-unused-expressions": [
"error",
{
"allowShortCircuit": true
}
],
"react/prop-types": 0,
"linebreak-style": ... |
eslintrc-js_000069.json | {
"extends": "../../.eslintrc",
"rules": {
"@typescript-eslint/member-ordering": 0,
"indent": 0
}
} |
eslintrc-js_000070.json | {
"extends": [
"magic"
],
"rules": {}
} |
eslintrc-js_000071.json | {
"env": {
"browser": true,
"commonjs": true,
"es2020": true
},
"extends": [
"standard"
],
"parserOptions": {
"ecmaVersion": 11
},
"rules": {
"sort-keys": [
"error"
]
}
} |
eslintrc-js_000072.json | {
"rules": {
"@typescript-eslint/ban-ts-comment": "off"
}
} |
eslintrc-js_000073.json | {
"extends": [
"./configs/standard.js",
"./configs/standard-jsx.js",
"./configs/prettier-react.js",
"./configs/prettier-standard.js",
"prettier",
"prettier/@typescript-eslint",
"prettier/babel",
"prettier/flowtype",
"prettier/unicorn",
"prettier/vue"
],
"plugins": [
"he... |
eslintrc-js_000074.json | {
"root": true,
"plugins": [
"prettier"
],
"extends": [
"@webpack-contrib/eslint-config-webpack"
],
"rules": {
"prettier/prettier": [
"error"
]
}
} |
eslintrc-js_000075.json | {
"extends": [
"airbnb-typescript-prettier"
]
} |
eslintrc-js_000076.json | {
"env": {
"node": true,
"jasmine": true
},
"extends": "standard",
"plugins": [
"eslint-plugin-jasmine"
],
"rules": {
"indent": [
"error",
2
],
"semi": [
2,
"always"
],
"no-extra-semi": 2,
"camelcase": "off",
"prefer-promise-reject-errors": "of... |
eslintrc-js_000077.json | {
"env": {
"browser": true
},
"globals": {
"describe": false,
"it": false,
"expect": false,
"server": false,
"before": false,
"after": false,
"enzyme": false,
"sinon": false,
"mockData": false
},
"plugins": [
"prettier"
],
"extends": [
"airbnb",
"prettie... |
eslintrc-js_000078.json | {
"env": {
"node": true,
"commonjs": true,
"es2021": true
},
"extends": [
"airbnb-base"
],
"parserOptions": {
"ecmaVersion": 12
},
"rules": {
"indent": [
"error",
4
],
"no-console": "off"
}
} |
eslintrc-js_000079.json | {
"env": {
"jest": true,
"browser": true,
"es6": true
},
"plugins": [
"react"
],
"globals": {
"graphql": false
},
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
}
}
} |
eslintrc-js_000080.json | {
"parser": "babel-eslint",
"extends": [
"airbnb",
"standard",
"prettier"
],
"plugins": [
"prettier",
"standard"
],
"globals": {
"fetch": false
},
"rules": {
"semi": [
2,
"always"
],
"semi-spacing": [
"error",
{
"before": false,
... |
eslintrc-js_000081.json | {
"env": {
"browser": true,
"node": true,
"es6": true
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6
},
"plugins": [
"prettier",
"react-hooks"
],
"extends": [
"airbnb",
"prettier",
"prettier/react"
],
"rules": {
"no-unused-vars": "error",
... |
eslintrc-js_000082.json | {
"env": {
"es6": true,
"node": true
},
"extends": [
"airbnb-base",
"prettier"
],
"plugins": [
"prettier"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
"... |
eslintrc-js_000083.json | {
"env": {
"mocha": true
},
"globals": {
"should": true
}
} |
eslintrc-js_000084.json | {
"globals": {
"console": true,
"module": true,
"require": true
},
"env": {
"browser": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 8
},
"rules": {
"strict": [
2,
"global"
],
"no-shadow": 2,
"no-shadow-restricted-names": 2,
"no-unused-vars... |
eslintrc-js_000085.json | {
"extends": [
"@houseofathlete/eslint-config-hoa"
],
"rules": {
"import/no-default-export": "error"
}
} |
eslintrc-js_000086.json | {
"root": true,
"env": {
"es6": true,
"node": true
},
"extends": [
"@mya-ake/eslint-config-ts"
]
} |
eslintrc-js_000087.json | {
"extends": [
"eslint-config-dollarshaveclub/react"
],
"root": true,
"env": {
"jest": true
}
} |
eslintrc-js_000088.json | {
"extends": "futagozaryuu/node-v6",
"root": true
} |
eslintrc-js_000089.json | {
"extends": "standard",
"env": {
"jest": true
}
} |
eslintrc-js_000090.json | {
"extends": [
"scratch",
"scratch/node"
]
} |
eslintrc-js_000091.json | {
"extends": "airbnb",
"rules": {
"linebreak-style": [
"error",
"windows"
],
"class-methods-use-this": [
"error",
{
"exceptMethods": [
"request"
]
}
],
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies":... |
eslintrc-js_000092.json | {
"extends": [
"airbnb-standard"
],
"rules": {
"semi": [
"error",
"never"
],
"class-methods-use-this": 0
}
} |
eslintrc-js_000093.json | {
"env": {
"mocha": true,
"es6": true,
"node": true
},
"globals": {
"expect": true,
"sinon": true,
"document": false,
"navigator": false,
"window": true,
"Image": false,
"FormData": false
},
"plugins": [
"vue"
],
"parserOptions": {
"parser": "babel-eslint",
... |
eslintrc-js_000094.json | {
"extends": [
"formidable/configurations/es6-react"
]
} |
eslintrc-js_000095.json | {
"env": {
"node": true,
"es2021": true,
"jest": true
},
"extends": [
"airbnb-base",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
"prettier"
],
"rules": {
... |
eslintrc-js_000096.json | {
"rules": {
"no-useless-computed-key": "error"
}
} |
eslintrc-js_000097.json | {
"extends": "airbnb",
"rules": {
"no-shadow": "warn"
}
} |
eslintrc-js_000098.json | {
"env": {
"browser": true,
"node": true,
"es6": true,
"jest": true
},
"extends": [
"airbnb",
"prettier",
"prettier/react"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ec... |
eslintrc-js_000099.json | {
"root": true,
"extends": "@sveltejs",
"plugins": [
"import"
],
"settings": {
"import/resolver": {
"typescript": {}
}
}
} |
Raw ESLint configuration objects sourced from JavaScript-style .eslintrc.js configs and serialized to JSON. One example per original config file.
A corpus of 28,123 configuration files, packaged as a single parquet split for convenient loading. Part of a collection of schema/config corpora.
One row per source file. Columns:
| column | type | description |
|---|---|---|
filename |
string | original file name (e.g. eslintrc-js_000000.json) |
text |
string | full JSON content of the file |
from datasets import load_dataset
ds = load_dataset("anonymous-tct-authors/eslintrc-js-raw", split="train")
print(ds[0]["filename"])
print(ds[0]["text"])
Reconstruct the original per-file tree:
import os, pyarrow.parquet as pq
t = pq.read_table("data/train-00000-of-00001.parquet")
os.makedirs("out", exist_ok=True)
for name, text in zip(t["filename"].to_pylist(), t["text"].to_pylist()):
open(os.path.join("out", name), "w").write(text)