Skip to content

Commit 5dc833f

Browse files
committed
Removed eslint
1 parent 048373c commit 5dc833f

File tree

4 files changed

+50
-831
lines changed

4 files changed

+50
-831
lines changed

.eslintrc

Lines changed: 0 additions & 44 deletions
This file was deleted.

package.json

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,17 @@
2929
"git add"
3030
]
3131
},
32+
"husky": {
33+
"hooks": {
34+
"pre-commit": "lint-staged"
35+
}
36+
},
3237
"bugs": {
3338
"url": "https://github.com/valerybugakov/react-selectable-fast/issues"
3439
},
40+
"engines": {
41+
"node": ">8.0.0"
42+
},
3543
"keywords": [
3644
"selectable",
3745
"selection",
@@ -43,7 +51,10 @@
4351
"touch",
4452
"react"
4553
],
46-
"author": "Valery Bugakov <[email protected]>",
54+
"author": "Valery Bugakov <[email protected]> (https://github.com/valerybugakov/)",
55+
"contributors": [
56+
"Valery Bugakov <[email protected]> (https://github.com/valerybugakov/)"
57+
],
4758
"license": "MIT",
4859
"files": [
4960
"lib",
@@ -66,16 +77,9 @@
6677
"@babel/preset-typescript": "^7.3.3",
6778
"@types/react": "^16.9.1",
6879
"@types/react-dom": "^16.8.5",
69-
"babel-eslint": "^10.0.2",
7080
"babel-loader": "^8.0.6",
7181
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
7282
"cross-env": "^5.2.0",
73-
"eslint": "^6.0.1",
74-
"eslint-config-airbnb": "^17.1.1",
75-
"eslint-plugin-babel": "^5.1.0",
76-
"eslint-plugin-import": "^2.18.0",
77-
"eslint-plugin-jsx-a11y": "^6.2.3",
78-
"eslint-plugin-react": "^7.14.2",
7983
"husky": "^3.0.3",
8084
"lint-staged": "^9.2.0",
8185
"prettier": "^1.18.2",
@@ -92,10 +96,5 @@
9296
"webpack-bundle-analyzer": "^3.3.2",
9397
"webpack-cli": "^3.3.6",
9498
"webpack-dev-server": "^3.7.2"
95-
},
96-
"husky": {
97-
"hooks": {
98-
"pre-commit": "lint-staged"
99-
}
10099
}
101100
}

webpack.config.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,24 @@ module.exports = {
99
entry: path.resolve(__dirname, 'src', 'index.ts'),
1010
output: {
1111
path: path.resolve(__dirname, 'lib'),
12-
filename: 'react-selectable-fast.js',
12+
filename: 'react-selectable-fast.js'
1313
},
1414
module: {
1515
rules: [
1616
{
1717
test: /\.(js|ts|tsx)$/,
1818
exclude: /node_modules/,
19-
loader: 'babel-loader',
20-
},
21-
],
19+
loader: 'babel-loader'
20+
}
21+
]
2222
},
2323
resolve: {
24-
extensions: ['.ts', '.tsx', '.js'],
24+
extensions: ['.ts', '.tsx', '.js']
2525
},
2626
plugins: [
2727
// new BundleAnalyzerPlugin(),
2828
new webpack.DefinePlugin({
29-
'process.env.NODE_ENV': JSON.stringify(env),
30-
}),
31-
],
29+
'process.env.NODE_ENV': JSON.stringify(env)
30+
})
31+
]
3232
}

0 commit comments

Comments
 (0)