├── .eslintignore ├── .github └── workflows │ └── ci-module.yml ├── .gitignore ├── API.md ├── LICENSE.md ├── README.md ├── lib └── index.js ├── package.json └── test ├── fixtures ├── arrow-parens.js ├── arrow-spacing.js ├── brace-style.js ├── camelcase.js ├── es6-env.js ├── handle-callback-err.js ├── hapi-capitalize-modules.js ├── hapi-for-you.js ├── hapi-scope-start.js ├── indent-switch-case.js ├── indent.js ├── key-spacing.js ├── no-arrowception.js ├── no-constant-condition.js ├── no-dupe-keys.js ├── no-extra-semi.js ├── no-shadow.js ├── no-undef.js ├── no-unsafe-finally.js ├── no-unused-vars.js ├── no-useless-computed-key.js ├── no-var.js ├── node-env.js ├── object-shorthand.js ├── one-var.js ├── prefer-arrow-callback.js ├── prefer-const.js ├── semi.js ├── space-before-blocks.js ├── space-before-function-paren.js └── strict.js └── index.js /.eslintignore: -------------------------------------------------------------------------------- 1 | test/fixtures 2 | 3 | -------------------------------------------------------------------------------- /.github/workflows/ci-module.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapijs/eslint-config-hapi/HEAD/.github/workflows/ci-module.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapijs/eslint-config-hapi/HEAD/.gitignore -------------------------------------------------------------------------------- /API.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapijs/eslint-config-hapi/HEAD/API.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapijs/eslint-config-hapi/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapijs/eslint-config-hapi/HEAD/README.md -------------------------------------------------------------------------------- /lib/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapijs/eslint-config-hapi/HEAD/lib/index.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapijs/eslint-config-hapi/HEAD/package.json -------------------------------------------------------------------------------- /test/fixtures/arrow-parens.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapijs/eslint-config-hapi/HEAD/test/fixtures/arrow-parens.js -------------------------------------------------------------------------------- /test/fixtures/arrow-spacing.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapijs/eslint-config-hapi/HEAD/test/fixtures/arrow-spacing.js -------------------------------------------------------------------------------- /test/fixtures/brace-style.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapijs/eslint-config-hapi/HEAD/test/fixtures/brace-style.js -------------------------------------------------------------------------------- /test/fixtures/camelcase.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapijs/eslint-config-hapi/HEAD/test/fixtures/camelcase.js -------------------------------------------------------------------------------- /test/fixtures/es6-env.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapijs/eslint-config-hapi/HEAD/test/fixtures/es6-env.js -------------------------------------------------------------------------------- /test/fixtures/handle-callback-err.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapijs/eslint-config-hapi/HEAD/test/fixtures/handle-callback-err.js -------------------------------------------------------------------------------- /test/fixtures/hapi-capitalize-modules.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapijs/eslint-config-hapi/HEAD/test/fixtures/hapi-capitalize-modules.js -------------------------------------------------------------------------------- /test/fixtures/hapi-for-you.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapijs/eslint-config-hapi/HEAD/test/fixtures/hapi-for-you.js -------------------------------------------------------------------------------- /test/fixtures/hapi-scope-start.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapijs/eslint-config-hapi/HEAD/test/fixtures/hapi-scope-start.js -------------------------------------------------------------------------------- /test/fixtures/indent-switch-case.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapijs/eslint-config-hapi/HEAD/test/fixtures/indent-switch-case.js -------------------------------------------------------------------------------- /test/fixtures/indent.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapijs/eslint-config-hapi/HEAD/test/fixtures/indent.js -------------------------------------------------------------------------------- /test/fixtures/key-spacing.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapijs/eslint-config-hapi/HEAD/test/fixtures/key-spacing.js -------------------------------------------------------------------------------- /test/fixtures/no-arrowception.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapijs/eslint-config-hapi/HEAD/test/fixtures/no-arrowception.js -------------------------------------------------------------------------------- /test/fixtures/no-constant-condition.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapijs/eslint-config-hapi/HEAD/test/fixtures/no-constant-condition.js -------------------------------------------------------------------------------- /test/fixtures/no-dupe-keys.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapijs/eslint-config-hapi/HEAD/test/fixtures/no-dupe-keys.js -------------------------------------------------------------------------------- /test/fixtures/no-extra-semi.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapijs/eslint-config-hapi/HEAD/test/fixtures/no-extra-semi.js -------------------------------------------------------------------------------- /test/fixtures/no-shadow.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapijs/eslint-config-hapi/HEAD/test/fixtures/no-shadow.js -------------------------------------------------------------------------------- /test/fixtures/no-undef.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapijs/eslint-config-hapi/HEAD/test/fixtures/no-undef.js -------------------------------------------------------------------------------- /test/fixtures/no-unsafe-finally.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapijs/eslint-config-hapi/HEAD/test/fixtures/no-unsafe-finally.js -------------------------------------------------------------------------------- /test/fixtures/no-unused-vars.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapijs/eslint-config-hapi/HEAD/test/fixtures/no-unused-vars.js -------------------------------------------------------------------------------- /test/fixtures/no-useless-computed-key.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapijs/eslint-config-hapi/HEAD/test/fixtures/no-useless-computed-key.js -------------------------------------------------------------------------------- /test/fixtures/no-var.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapijs/eslint-config-hapi/HEAD/test/fixtures/no-var.js -------------------------------------------------------------------------------- /test/fixtures/node-env.js: -------------------------------------------------------------------------------- 1 | /* eslint-disable strict */ 2 | const Fs = require('fs'); 3 | 4 | module.exports = Fs; 5 | -------------------------------------------------------------------------------- /test/fixtures/object-shorthand.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapijs/eslint-config-hapi/HEAD/test/fixtures/object-shorthand.js -------------------------------------------------------------------------------- /test/fixtures/one-var.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapijs/eslint-config-hapi/HEAD/test/fixtures/one-var.js -------------------------------------------------------------------------------- /test/fixtures/prefer-arrow-callback.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapijs/eslint-config-hapi/HEAD/test/fixtures/prefer-arrow-callback.js -------------------------------------------------------------------------------- /test/fixtures/prefer-const.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapijs/eslint-config-hapi/HEAD/test/fixtures/prefer-const.js -------------------------------------------------------------------------------- /test/fixtures/semi.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapijs/eslint-config-hapi/HEAD/test/fixtures/semi.js -------------------------------------------------------------------------------- /test/fixtures/space-before-blocks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapijs/eslint-config-hapi/HEAD/test/fixtures/space-before-blocks.js -------------------------------------------------------------------------------- /test/fixtures/space-before-function-paren.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapijs/eslint-config-hapi/HEAD/test/fixtures/space-before-function-paren.js -------------------------------------------------------------------------------- /test/fixtures/strict.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapijs/eslint-config-hapi/HEAD/test/fixtures/strict.js -------------------------------------------------------------------------------- /test/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapijs/eslint-config-hapi/HEAD/test/index.js --------------------------------------------------------------------------------